fixed directory bug
This commit is contained in:
parent
4319fe8138
commit
ed7b9e71c2
@ -47,7 +47,7 @@ if [ "$1" = "-d" ]
|
|||||||
# copy the shit over
|
# 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/;
|
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 -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
|
fi
|
||||||
|
|
||||||
# Start back up
|
# Start back up
|
||||||
|
Loading…
Reference in New Issue
Block a user