-
-
Save DNAlchemist/819649c8afc3e5db1165a1f602d8741d 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
0 5 */1 * * cp -r /data/dst "/data/backup/data/dst-backup-`date --iso-8601=minutes`" | |
0 5 */1 * * docker export `docker ps | grep chest/dst | awk '{ print $1 }'` -o "/data/backup/docker/dst-`date --iso-8601=minutes`.tar" | |
0 5 */1 * * docker exec -it 712be7d21e15 mongoexport --db wedding --collection guests > "/data/backup/mongo/guests-`date --iso-8601=minutes`.json" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment