LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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, 08: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, 09:42 AM   #2
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Debian
Posts: 8,578
Blog Entries: 31

Rep: Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208
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, 03: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, 03:49 PM   #4
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,978

Rep: Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624
Just a question. Are you backing up to a tape drive?
 
Old 09-10-2009, 06: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



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 05:19 PM
Backing up my computer with tar JerryMcFarts Linux - General 22 04-11-2006 02:28 AM
backing up help with tar dannyk1 Linux - Newbie 5 08-22-2004 06:25 AM
Backing up with tar rooch84 Linux - Software 2 08-20-2004 02:30 AM
Exclude directories when backing up with 'tar'? wolfpeach Linux - Newbie 2 06-28-2004 10:54 AM

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

All times are GMT -5. The time now is 01:31 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
Open Source Consulting | Domain Registration