Unable to rsync large size of data using tar strategy in Openshift

Solution Verified - Updated -

Issue

  • oc rsync command fails while taking backup from the pods which do not have rsync command and have a large amount of data in their persistent storage.
$ oc rsync -n nexus nexus-1-dsc6j:/nexus-data /mnt/backup_pvc/pr/persistent-volumes/release-management/nexus-pv/
WARNING: cannot use rsync: rsync not available in container
E0816 13:13:02.644053   76110 v2.go:147] write /tmp/rsync794154200: no space left on device

Environment

  • Red Hat OpenShift Container Platform 3.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content