From 0c21beeac1f48a86038ce991a3139573f1ff1034 Mon Sep 17 00:00:00 2001 From: missytake Date: Sun, 7 Jun 2020 16:08:36 +0200 Subject: [PATCH] correct ssh name --- backup.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/backup.sh b/backup.sh index f92d803..a9d0273 100755 --- a/backup.sh +++ b/backup.sh @@ -11,10 +11,10 @@ XDG_RUNTIME_DIR=/run/user/1002 su synthikat -c "podman stop wordpress_wordpress_ # repositories-borg/synthikat is the path on the remote server - ends with a :: # 'backup{now:%Y%m%d}' is the backup name, this includes today's date in the name # the rest are the file paths. You can append as many as you want. -borg create --stats --progress backup:repositories-borg/synthikat::'backup{now:%Y%m%d-%M}' ../wp-content ../db_data +borg create --stats --progress cyberbackup:repositories-borg/synthikat::'backup{now:%Y%m%d-%M}' ../wp-content ../db_data # restart the containers XDG_RUNTIME_DIR=/run/user/1002 su synthikat -c "podman start wordpress_wordpress_1 wordpress_db_1" # Delete all the backups which are too old, to save space in the long term. -borg prune --keep-daily=7 --keep-weekly=4 backup:repositories-borg/synthikat +borg prune --keep-daily=7 --keep-weekly=4 cyberbackup:repositories-borg/synthikat