Rsync
From AdminWiki
(Difference between revisions)
(initial page) |
m (→rsync) |
||
Line 1: | Line 1: | ||
- | = rsync = | + | = [http://rsync.samba.org/ rsync] = |
rsync is the perfect tool when you need to synchronize two files or file trees, be it just your homedirectory or a whole server. rsync can handle that. | rsync is the perfect tool when you need to synchronize two files or file trees, be it just your homedirectory or a whole server. rsync can handle that. |
Revision as of 20:41, 23 May 2006
rsync
rsync is the perfect tool when you need to synchronize two files or file trees, be it just your homedirectory or a whole server. rsync can handle that.
cookbook
To migrate a server,
rsync -aH --numeric-ids -x --delete / <additional mountpoints> <target>
usually does the trick. This should result in an exact copy of the source tree.