[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

backup/restore



I'm looking for a solution to temporarily backup then restore a Debian
install--preserving the filesystem contents and attributes.  The caveat
is that the capacity of the drive I'll be restoring to is smaller (all
other hardare is unchanged).  I wasn't sure if there was a way to do
this with dd because of the smaller drive on the restore.  Initially, I
used 'rsync -avH --delete --no-numeric-ids src server:dst' to send
everything to another server and back.  The number of files (including
links, etc.) seemed to check out, but disk usage (using 'du -cs /') was
different before and after (block size on the filesystem was the same as
before).  Plus I was not sure if extended attributes were transfered
with the files.

Anyone know if the extended attributes are transferred with rsync or why
the disk usage is not the same?  Any suggestions on a better way to do
this?  I'd like to avoid re-installing and reconfiguring again.

Regards,
Casey




Reply to: