Last active
June 19, 2022 11:05
-
-
Save alainlankers/60ee508cce08520bde172ed8f3d7c914 to your computer and use it in GitHub Desktop.
Backup WordPress files in Docker
This file contains 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
docker run --rm --volumes-from wordpress -v $(pwd):/backup wordpress:latest tar zcvf /backup/wordpress-files-backup.tar.gz /var/www/html |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment