Created
January 23, 2022 01:23
-
-
Save ImTheTom/d25929bb38db71db133846a7a5568f77 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Back up volume for container | |
| docker run --rm --volumes-from {container name} -v $(pwd):/backup ubuntu tar cvfP /backup/{back up file name}.tar {directory of volume} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment