[Ilugc] Full system backup with rsync, ?

  • From: bala150985@xxxxxxxxx (Balasubramaniam Natarajan)
  • Date: Mon, 26 Nov 2012 09:11:31 -0500

Hi

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/*}


-- 
Regards,
Balasubramaniam Natarajan
www.blog.etutorshop.com

Other related posts: