Can non-Muslims ride the Haramain high-speed train in Saudi Arabia? By clicking Post Your Answer, you agree to our terms of service, privacy policy and cookie policy. cases. Finally, in part three, we'll cover copying files into a new persistent volume. Expanding Persistent Volume Claims with a File System. If you want an exact copy, and to have the target directory always updated to be exactly the same as what exists in the container, use the --delete option with oc rsync. To demonstrate transferring files to and from a running container, we first need to deploy an application. the Some files, such as a databases backing store, may be written to in an almost constant stream. your claim so that nobody elses claim can bind to it before yours does. BackupEr also has its own PVC. Check the contents of the current directory by running: You should see that the local machine now has a copy of the file. Your claim will remain Unlike when copying from the container to the local machine, there's no form for copying a single file. to oc rsync. To copy a directory to a local machine, the form of the command you need to run is: oc rsync