On 03/14/2011 01:13 PM, Blair Mason wrote:
Mar 14, 2011 04:48:22 AM, balaji.p...@gmail.com wrote:
> Hi,
> I am using Debian Lenny, kernel version: 2.6.26-1-686.
> I am very new to linux.
> Can you please let me know the steps for backing up my linux PC (maybe to a CD) and later restoring from it when required. > Also let me know if I can install any Open source S/W that can do the above task (something like scheduled backup).
> Thanks in Advance,
*/> BALAJI/*

Your best bet would probably be rsync. You can use it for pretty much anything... Basically, you use `rsync file dest`. You also probably want the -avz options. So, the easiest solution is to just do something akin to the following:

1. Mount the backup media (I will assume /mnt/bkup, adjust accordingly)
2. run something like this:
rsync -avz / /mnt/bkup --exclude /mnt/bkup
or, if backing up to a server over ssh
rsync -avz -e ssh / user@hostname:~/backup

A restore is as simple booting live media, mounting all your drives the in the same structure (say on /mnt/restore), and then
rsync -av /mnt/bkup /mnt/restore

Now what would be really cool is plan-9 like filesystems so we could rsync over *anything*.

Hope this helps!

---
rbmj
-- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/1500907210.251008.1300104826716.JavaMail.root@vznit170136

I would suggest backuppc .
for step by step installation look at /usr/share/doc/backuppc/ or just google for it .

Regards ,
Alex

Reply via email to