LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 02-22-2010, 06:45 AM   #1
tqz
Member
 
Registered: Jan 2008
Posts: 67

Rep: Reputation: 15
Bacula and tape backups


Hello all

Currently I have bacula backing up the contents of my server on a daily basis (Mon-Fri) on to a tape. There are in total 9 backup tapes so far. One for each day of the week (Mon-Thurs) and one for every Friday in the month (so there are 5 friday tapes). The tapes are all from the same pool and once the tapes are full they should then get recycled.

As I understand and from what I have seen, the data from my server backups up to the tape and is then marked with the append status. Every time that tape is used, data is then appended onto the tape until the tape is full. At this point it is marked as full but wont be recycled until all the tapes from the pool are marked as full (so until all 9 tapes are full).

My question is, is there a way of overwriting the data on the next backup on the tape, rather than appending or requiring that all tapes in a pool are full before a tape can be recycled. As the mon-thurs tapes currently cant be recycled until all the Friday tapes have been used.

Hope im making sense so far.

The reason why I dont have seperate pools for the Friday backups and the other days of the week or even seperate pools for each day of the week, is that if a tape is accidently not changed or someone puts in the incorrect tape by accident a backup will still occur. Which is better than no backup!

Thanks in advance for any help, or suggestions!

t.
 
Old 02-23-2010, 10:17 AM   #2
jwl17330536
Member
 
Registered: Feb 2010
Location: Raleigh, NC
Posts: 83

Rep: Reputation: 22
If I remember correctly to reuse tapes without appending or waiting for them to be full you can just 'purge' the tape.
 
Old 02-23-2010, 10:46 AM   #3
tqz
Member
 
Registered: Jan 2008
Posts: 67

Original Poster
Rep: Reputation: 15
Hi jwl17330536 and thanks for your response!

I have adjusted a few parameters in the bacula-dir config files and for the volumes using bconsole. I have set the retention period for the Mon-Thurs tapes as being 1 day and for the friday tapes 28 days (as suggested on another forum). I have also amended the file to ensure that the tapes are only used once (recycle = yes has already been defined).

What I am hoping for is that the Mon-Thurs tapes get marked as full after one use and as the retention period for the friday tapes is set at 28 days it will therefore *hopefully* purge and recycle the correct Mon-thurs tape, rather than waiting for all the friday tapes to be used before recycling the tapes. Hope that makes sense!

If it doesnt work or I find a better solution will update this thread!

t.
 
  


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
Bacula file backups tqz Linux - Software 0 08-04-2009 10:19 AM
Tape Backups and How can i find out the Name (label) of the tape in the drive?? helptonewbie Linux - Newbie 2 10-27-2008 07:20 AM
LXer: Bacula: backups that don't suck LXer Syndicated Linux News 0 04-23-2008 06:40 PM
bacula - How do I setup up tape daily tape changes neocontrol Linux - Software 3 01-23-2008 09:27 PM
LXer: Backups again - Bacula LXer Syndicated Linux News 0 05-31-2007 10:16 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:48 AM.

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