Cannot rsync /proc/kcore to new disk
Colin Watson
cjwatson at ubuntu.com
Mon Dec 16 17:30:44 UTC 2019
On Mon, Dec 16, 2019 at 11:54:36AM -0500, Ken D'Ambrosio wrote:
> Bingo. (And right about /sys, too.) Here's my rsync for backups:
>
> /usr/bin/rsync -av -e /usr/bin/ssh --progress --exclude 'proc/' --exclude
> 'dev/' --exclude 'sys/' --exclude 'tmp/' root at source.jots.org:/
> /bigdisk-01/backups/destination/
I suggest just using -x instead of all those excludes:
-x, --one-file-system don't cross filesystem boundaries
If you have multiple file systems to back up, rsync them separately.
Things are easier to understand this way and won't break if somebody
invents a new virtual file system or similar.
--
Colin Watson [cjwatson at ubuntu.com]
More information about the ubuntu-users
mailing list