Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 03-17-2005, 02:22 PM   #1
Registered: Jan 2004
Location: Belgium
Distribution: RH 7.2 9.0
Posts: 54

Rep: Reputation: 15
tar backup question

I am rendering image files in batches of about 30000 files. I need to make a tar backup to DLT tape. The rendering is faster than the DLT writing.

Could I start the tar backup of the directory while the files are still rendering?

Will tar recognize those files that did not yet exist while tar was started. This is a multi-volume tape backup taking many hours to complete.

Old 03-17-2005, 03:55 PM   #2
Registered: Dec 2003
Location: Northern VA
Posts: 493

Rep: Reputation: 30
No, it won't. An easy way to find this out is to do something like this.

cd /tmp
mkdir test
cd test
for i in 1 2 3 4 5 6 7 8 9 10;do touch $i;sleep 2;done

Then in another window, wait a few seconds, then do:

cd /tmp
tar cf test.tar test

Then a tar tvf test.tar will show you what it has.
Old 03-17-2005, 04:17 PM   #3
Registered: Feb 2005
Location: Hawaii
Distribution: centos/fedora/redhat/solaris
Posts: 28

Rep: Reputation: 15
Can you do the rendering in a such a way that the program rendering the images is working on the next directory while the tape script is tarring the directory that the renderer just finished?

I'm not sure how well this would work for you but I do something similar with my data backups. I have three computers with disks that get backed up to one computer, which then dumps the data to tape. The scheduling is such that the tape script starts after the first computer has dumped its data to the first directory. While that directory is being dumped to tape, the second computer starts dumping its data to the backup computer. By the time the backup computer is done writing the first computer's data to tape, the second computer is done transferring, and so on.

I hope this helps


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
Tar backup TheRealDeal Linux - General 7 02-08-2005 04:25 PM
Using tar for backup. TheRealDeal Linux - General 2 08-11-2004 12:46 AM
tar as backup imsajjadali Red Hat 4 02-07-2004 04:46 PM
tar: How do I backup everything !! grantm Linux - Newbie 3 07-30-2003 03:41 PM
Just did a tar backup-is it viable? Linux - General 2 12-04-2001 01:47 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:37 PM.

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