rsyncing - Prüfsummen werden ignoriert

889
quack quixote

Leider ist es von entscheidender Bedeutung, eine ganze Reihe von Daten über Zeit hinweg zu kopieren. Ich würde gerne rsyncalle Daten in eine Richtung machen, so ziemlich rsyncalles, was auf dem Zielserver vorbei ist. Gibt es eine Möglichkeit, dies zu tun rsyncund sagen Sie einfach "alle Dateien überschreiben"

Gibt es einen besseren Weg, dies zu tun? Wir sprechen von 500 GB an Daten, die nur in eine Richtung gehen müssen.

0

4 Antworten auf die Frage

1
David Z

First thing that comes to mind: use scp. For simple copy operations the syntax is the same.

1
ire_and_curses

Checksums are not used by rsync by default - they have to be enabled with the -c flag. From the manpage:

-c, --checksum

This changes the way rsync checks if the files have been changed and are in need of a transfer. Without this option, rsync uses a “quick check” that (by default) checks if each file's size and time of last modification match between the sender and receiver.

I don't think the quick, non-checksum calculation will be your limiting factor.

0
liori

First thing that came to my mind: erase whatever is in the destination folder before rsync.

0
quack quixote

I use the -W option with rsync for this purpose. I haven't fully tested so this may not do what I think it does. You might also use the -I option to enforce clobbering. From the manpage:

 -W, --whole-file copy files whole (w/o delta-xfer algorithm) -I, --ignore-times don't skip files that match size and time