LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   backing up with tar (https://www.linuxquestions.org/questions/linux-newbie-8/backing-up-with-tar-741390/)

vbereaux 07-20-2009 08:21 AM

backing up with tar
 
Greetings to all

I am the administrator for a machine which is running SUSE 10.1, my research has shown the syntax for backing-up the entire file system is as list below

tar -czpvf /<directory>/<file.tar.gz> --exclude=/<directory> --exclude=/media --exclude=/lost+found /

in attempting this it is suspected that some scripts which are continuously running are causing the backup to fail.

How can I get the backup to be done without the scripts interrupting, and without having to switch off the scripts?


Best Regards

catkin 07-20-2009 09:42 AM

Hello vbereaux :)
Quote:

Originally Posted by vbereaux (Post 3613831)
How can I get the backup to be done without the scripts interrupting, and without having to switch off the scripts?

Use an LVM snapshot. Helps avoid "data skew" -- when multiple files represent related data so backing them up at different times does not give a consistent set of files. To fully avoid "data skew" you need to quiesce any systems that are writing such files for the very short time it takes to set up the snapshot.

Best

Charles

vbereaux 09-09-2009 03:07 PM

RE: saying thanks
 
Hi Charles

Thanks for the tip and pointing me in a good direction, sorry for taking so long to respond but everything that could have gone wrong did go wrong

Regards

Vernon

jefro 09-09-2009 03:49 PM

Just a question. Are you backing up to a tape drive?

vbereaux 09-10-2009 06:55 PM

Jefro

I am not backing up to a tape drive, I am using an external hard drive.

VB


All times are GMT -5. The time now is 11:08 PM.