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

Solution In Progress - 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

  • OpenShift Container Platform 3.7

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.