>> I did the very same recently when reformatting my system partition for
>> a new FS. Beware though that after this command you still need to
>> create some device files in /dev for udev to work properly, because
>> they were excluded.  I think it was null and console, but I'm not sure.
> 
> mount --bind / /mnt/root
> rsync -avx /mnt/root user@remote.server:/backup/

True, this takes care of the /dev folder problem, but there's a
downside: if you have for example /var on a different partition, it
won't get backup up. This goes for mount --bind and also for rsync -x

Reply via email to