diff --git a/rsync-nextcloud/rsync-nextcloud.sh b/rsync-nextcloud/rsync-nextcloud.sh index 42503d7..361c684 100755 --- a/rsync-nextcloud/rsync-nextcloud.sh +++ b/rsync-nextcloud/rsync-nextcloud.sh @@ -14,12 +14,19 @@ PORT="42523" KEY="./sbz_keyless" USER_AT_HOST="rob@spaceboyz.net" +## path where home-rob container is mouted into host (on SBZ) SBZ_MOUNT_PATH=/home/rob/tmp_mnt -SOURCE_PATH=/var/www/html/marker -DEST_PATH_FILES=/tmp/nextcloud-rsync/ -DEST_PATH_DB=/tmp/nextcloud-rsync-db/ + +## path of the nextcloud instance (on SBZ) NEXTCLOUD_PATH=/var/www/html/nextcloud +# rsync source -> destination +SOURCE_PATH=/var/www/ +DEST_PATH_FILES=/mnt/bfds/rob/backup/server/spaceboyz.net/var_www + +# path of the database backups +DEST_PATH_DB=/mnt/bfds/rob/backup/server/spaceboyz.net/mariadb + # mount my lxc container into my home on sbz ssh -p $PORT -i $KEY $USER_AT_HOST "sudo mount /dev/mapper/vms-home--rob $SBZ_MOUNT_PATH"