diff --git a/files/rsync/rsync-backup-vps.sh b/files/rsync/rsync-backup-vps.sh deleted file mode 100644 index a76e054..0000000 --- a/files/rsync/rsync-backup-vps.sh +++ /dev/null @@ -1,10 +0,0 @@ -rsync -azvP -e "ssh -i ~/.ssh/vultrvps" --progress \ ---include=/ \ ---include=/home/*** \ ---exclude=/unbound/dev/*** \ ---include=/etc \ ---include=/etc/haproxy/*** \ ---include=/etc/iptables/*** \ ---include=/etc/wireguard/*** \ ---exclude=* \ -root@10.8.0.9:/ /mnt/backups/vultrvpsbackup/$(/bin/date +%Y-%m-%d) diff --git a/files/rsync/rsync-backup.sh b/files/rsync/rsync-backup.sh new file mode 100644 index 0000000..29ab20b --- /dev/null +++ b/files/rsync/rsync-backup.sh @@ -0,0 +1,10 @@ +#!/bin/bash + +#rsync -azvP -e "ssh -i ~/.ssh/debiantest" --progress \ +--include=/ \ +--include=/home/ \ +--include=/home/akanealw \ +--include=/home/akanealw/docker \ +--include=/home/akanealw/docker/appdata/*** \ +--exclude=* \ +root@192.168.1.33:/ /mnt/backups/dockerservertest/$(/bin/date +%Y-%m-%d) \ No newline at end of file diff --git a/files/rsync/rsync-restore.sh b/files/rsync/rsync-restore.sh new file mode 100644 index 0000000..e500a9c --- /dev/null +++ b/files/rsync/rsync-restore.sh @@ -0,0 +1,4 @@ +#!/bin/bash + +#rsync -azvP -e "ssh -i ~/.ssh/proxyserver" --progress \ +/mnt/backups/dockerservertest/2023-07-04/* root@192.168.1.4:/