LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Back Up Suse-System but how do i make it? (https://www.linuxquestions.org/questions/linux-general-1/back-up-suse-system-but-how-do-i-make-it-543996/)

markhidj 04-07-2007 06:12 AM

Back Up Suse-System but how do i make it?
 
I use daily Windows MS. Now I want to change on Suse-Linux.

I have already installed the version 10. I have also installed all updates. Everything functions excellently. How can I do a protection of the system on DVD-Disk? Do reach in addition the Boardtools?

Thanks for help!

marek

Simon Bridge 04-07-2007 06:34 AM

One normally performs a backup using the tar utility. Regular backups run tar from cron. Basically you just archive the content of the /home directory (and any others you want to save).

tar zcvf /dev/dvd /home

to perform an incremental backup, one uses find to locate the files to backup:
i.e. incremental backup every 24 hours:

tar zcvf /dev/dvd `find /home -mtime -1 -type f -print`

You can run this command each 24hours automatically in crontab.

Restore the backup as follows:

tar zxvf /dev/dvd /

(all this assumes /dev/dvd exists and points to your dvd device)

Of course, one could use the -g option to create/list/extract new gnu format incremental backups. More information, see the tar manpage.

Simon Bridge 04-07-2007 05:37 PM

Note: you can also use rsync - but that is more for network backups.
http://www.mikerubel.org/computers/rsync_snapshots/


All times are GMT -5. The time now is 01:11 AM.