Editing Backup a running container over the network with ezvzdump
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 200: | Line 200: | ||
# don't want multiple tar processes running on the remote host simultaneously. | # don't want multiple tar processes running on the remote host simultaneously. | ||
e "Making a g-zip compresssed tar archive on remote host (this process will run in the background on the remote host)." | e "Making a g-zip compresssed tar archive on remote host (this process will run in the background on the remote host)." | ||
− | ssh ${REMOTE_HOST} "tar czf ${REMOTE_DIR}${VEID}.0.tar.gz | + | ssh ${REMOTE_HOST} "tar czf ${REMOTE_DIR}${VEID}.0.tar.gz -C ${REMOTE_DIR}${VEID} ./ 2>/dev/null " & |
fi | fi | ||