icreate /dev/fd and /dev/std{in,out,err} as udev would have done it
[util-vserver.git] / scripts / legacy / vserver-copy
index d7b968f..792d563 100755 (executable)
@@ -295,7 +295,7 @@ fi
 
 info "Syncing directories"
 # trailing slashes very important in the rsync!
-if ! rsync -avxz $rsflag $shcmd $vroot/ $dhost$colon$target/; then
+if ! rsync -Havxz --numeric-ids $rsflag $shcmd $vroot/ $dhost$colon$target/; then
        error 1 "rsync failed"
 fi