]> git.proxmox.com Git - pve-common.git/blobdiff - data/PVE/AbstractMigrate.pm
use rsync flags AX (preserve ACLs and xattr)
[pve-common.git] / data / PVE / AbstractMigrate.pm
index 3425fa1f97877e3b325865c6d5afc9b9dd8c8b48..ccfcfb69b2d716d2edc911b0f2b20c8ff59d99b0 100644 (file)
@@ -108,7 +108,7 @@ my $eval_int = sub {
 my @ssh_opts = ('-c', 'blowfish', '-o', 'BatchMode=yes');
 my @ssh_cmd = ('/usr/bin/ssh', @ssh_opts);
 my @scp_cmd = ('/usr/bin/scp', @ssh_opts);
-my @rsync_opts = ('-aH', '--delete', '--numeric-ids');
+my @rsync_opts = ('-aHAX', '--delete', '--numeric-ids');
 my @rsync_cmd = ('/usr/bin/rsync', @rsync_opts);
 
 sub migrate {