Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2025-01-23 23:36:19 +03:00
parent bca6a20c22
commit 8c8632987e

View File

@ -71,6 +71,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))???
@ 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