Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2025-01-24 18:22:56 +03:00
parent 8c8632987e
commit b9277f2e74

View File

@ -72,6 +72,7 @@ echo "# BACKUP: $DIR"
# files... # files...
@ pct mount $ID @ pct mount $ID
# XXX should this be an incremental backup/sync??? (i.e. removing deleted files (to a dir))??? # XXX should this be an incremental backup/sync??? (i.e. removing deleted files (to a dir))???
# ...ask user / option??
@ rsync -Aavx /var/lib/lxc/$ID/rootfs/var/www/nextcloud-data . @ rsync -Aavx /var/lib/lxc/$ID/rootfs/var/www/nextcloud-data .
@ pct unmount $ID @ pct unmount $ID