diff --git a/nextcloud/migrate.sh b/nextcloud/migrate.sh index 8ae4e73..1a792ac 100755 --- a/nextcloud/migrate.sh +++ b/nextcloud/migrate.sh @@ -54,9 +54,8 @@ TO=$2 # files... @ pct mount $FROM @ pct mount $TO -# XXX .../rootfs/ dirs are empty, unmounted??? -# ...check how tjis shold be mounted canonically -@ rsync -Aavx \ +# XXX this seems to fail... +@ rsync -Aavxr \ /var/lib/lxc/$FROM/rootfs/var/www/nextcloud-data /var/lib/lxc/$TO/rootfs/var/www/nextcloud-data @ pct unmount $FROM