> I made rsync to backup the entire / (root partition) of the server and
> excluded some unwanted folders like /tmp /proc as shown below, Can I
> introduce a new disk and write all the contents over so that I get a mirror
> copy of the original server ?  Without formatting the new disk I cannot
> copy the backed up files over to that, So I tried copying the existing
> partition table using sfdisk and imported on the new media, Then I am
> totally lost as to how to perform the back up.
>
> rsync -avz --progress -e 'ssh -i /home/sebackup/.ssh/backup -l root'
> server:/* /home/bala/Users/Documents/SE/backup/
> --exclude={/dev/*,/proc/*,/sys/*,/tmp/*,/run/*,/mnt/*,/media/*,/lost+found,/home/*/.gvfs,/var/www/*}

if you are interested in perfect mirroring, try dd tool.

http://www.debianhelp.co.uk/ddcommand.htm




--
Sincerely,

A. Narendiran
_______________________________________________
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc

Reply via email to