LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
LinkBack Search this Thread
Old 05-07-2008, 10:07 AM   #1
neocontrol
Member
 
Registered: Jul 2005
Posts: 273

Rep: Reputation: 31
bacula - trying to backup a file with a changing name?


Okay, so I'm using automysql backup to take daily backups of our sql server.

It names things similar to this dbname_2008_05)08_01h15m.Wednesday.sql.gz

I would like bacula to grab the latest ones every day. Currently I have a script that moves the days backup to a directory and I pull from that directory.

Is it possible to have variables in my bacula files that will allow me to backup something like this?

day=`date +%a`
File = /backups/daily/*/*$day*

I looked, but it doesn't seem possible.
 
Old 05-07-2008, 08:40 PM   #2
choogendyk
Senior Member
 
Registered: Aug 2007
Location: Massachusetts, USA
Distribution: Solaris 9 & 10, Mac OS X, Ubuntu Server
Posts: 1,189

Rep: Reputation: 105Reputation: 105
If you do an incremental backup of that directory, it should catch the latest changes.

But if you are trying to organize MySQL backups, why not take a look at ZRM (Zmanda Recovery Manager) for MySQL? It manages all the dumps for you, and can do incremental as well as full, tracking everything and giving you an easy management interface. You can still use whatever general backup tool you want to put those on tape, cycle them out to network storage, or whatever. I happen to use Amanda for that, but you don't have to.
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
What to backup when changing from fc8 to centos 5.1 gfem Fedora 3 02-29-2008 07:41 AM
Help with Bacula OR choosing backup software jantman Linux - Software 3 10-15-2007 06:39 PM
Error when attempting backup with File Backup lglrgl Linux - Software 0 08-03-2006 10:38 AM
LXer: Bacula Network Backup Implementation Guide LXer Syndicated Linux News 0 06-06-2006 04:54 PM
Help changing backup script phatboyz Programming 4 06-11-2005 12:36 PM


All times are GMT -5. The time now is 04:24 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration