Created
January 3, 2020 02:20
-
-
Save zkan/6da12ce4bb1452ee4b6ca86ed4b42a11 to your computer and use it in GitHub Desktop.
Create backup for WordPress site (Pronto-specific)
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
#!/bin/bash | |
cp docker-compose.yml backup/ | |
cp get-docker.sh backup/ | |
cp uploads.ini backup/ | |
rsync -av --delete www/ backup/www/ | |
sudo rsync -av --delete /var/lib/docker/volumes/rocket_db_data/ backup/rocket_db_data/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment