From ed7b9e71c29eb729dcfb8601cf1000ef5d14ddbe Mon Sep 17 00:00:00 2001 From: Johannes Schmelz Date: Sat, 23 Jan 2021 20:44:18 +0100 Subject: [PATCH] fixed directory bug --- system-backup | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/system-backup b/system-backup index cba4348..af64859 100644 --- a/system-backup +++ b/system-backup @@ -47,7 +47,7 @@ if [ "$1" = "-d" ] # copy the shit over sudo screen -dmS backup -t backup bash -c "rsync -WAXart -4 --progress -e ssh /tmp/nextcloud.sql backup-user@$remote_ip:$backup_dir_remote/mysql/; rsync -WAXarzt -4 --progress -e ssh /tmp/gitea-dump/backup.zip backup-user@$remote_ip:$backup_dir_remote/gitea/ - rsync -XWAarzt -4 --progress -e ssh $nextcloud_dir/ backup-user@$remote_ip:$backup_dir_remote/nextcloud;" + rsync -XWAarzt -4 --progress -e ssh $nextcloud_dir/ backup-user@$remote_ip:$backup_dir_remote/;" fi # Start back up