LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-20-2009, 09:21 AM   #1
vbereaux
LQ Newbie
 
Registered: Jul 2009
Location: Trinidad and Tobago
Distribution: Linux Mint 10 / Super OS 10.1
Posts: 3

Rep: Reputation: 0
Smile 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
 
Old 07-20-2009, 10:42 AM   #2
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Debian
Posts: 8,576
Blog Entries: 31

Rep: Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195
Hello vbereaux
Quote:
Originally Posted by vbereaux View Post
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
 
Old 09-09-2009, 04:07 PM   #3
vbereaux
LQ Newbie
 
Registered: Jul 2009
Location: Trinidad and Tobago
Distribution: Linux Mint 10 / Super OS 10.1
Posts: 3

Original Poster
Rep: Reputation: 0
Smile 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
 
Old 09-09-2009, 04:49 PM   #4
jefro
Moderator
 
Registered: Mar 2008
Posts: 17,170

Rep: Reputation: 2562Reputation: 2562Reputation: 2562Reputation: 2562Reputation: 2562Reputation: 2562Reputation: 2562Reputation: 2562Reputation: 2562Reputation: 2562Reputation: 2562
Just a question. Are you backing up to a tape drive?
 
Old 09-10-2009, 07:55 PM   #5
vbereaux
LQ Newbie
 
Registered: Jul 2009
Location: Trinidad and Tobago
Distribution: Linux Mint 10 / Super OS 10.1
Posts: 3

Original Poster
Rep: Reputation: 0
Jefro

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

VB
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
backing-up with tar marlaina1 Linux - Newbie 7 08-23-2008 06:19 PM
Backing up my computer with tar JerryMcFarts Linux - General 22 04-11-2006 03:28 AM
backing up help with tar dannyk1 Linux - Newbie 5 08-22-2004 07:25 AM
Backing up with tar rooch84 Linux - Software 2 08-20-2004 03:30 AM
Exclude directories when backing up with 'tar'? wolfpeach Linux - Newbie 2 06-28-2004 11:54 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration