[Bacula-users] Volume already exist
Hello, I'm starting to implement a bacula environment. Now I have a problem with two jobs started at the same time. One starts without error but the second throws errors while the first one is running (log file) Can someone help me? Thanks Moritz Herrmann # # For Bacula release 5.0.1 (24 February 2010) -- ubuntu 10.04 # Director {# define myself Name = backup-dir DIRport = 9101# where we listen for UA connections QueryFile = /etc/bacula/scripts/query.sql WorkingDirectory = /var/lib/bacula PidDirectory = /var/run/bacula Maximum Concurrent Jobs = 3 Password = xx Messages = Daemon DirAddress = 127.0.0.1 } # Generic catalog service Catalog { Name = MyCatalog # Uncomment the following line if you want the dbi driver # dbdriver = dbi:sqlite3; dbaddress = 127.0.0.1; dbport = dbname = bacula; DB Address = ; dbuser = bacula; dbpassword = xx } # Definition of file storage device Storage { Name = File # Do not use localhost here Address = xxx.xxx.xxx.87 # host running bacula director SDPort = 9103 Password = xx Device = FileStorage Media Type = File Maximum Concurrent Jobs = 3 } # File Pool definition Pool { Name = File Pool Type = Backup Recycle = no# Bacula can automatically recycle Volumes AutoPrune = yes # Prune expired volumes Volume Retention = 180 days # one year Maximum Volume Jobs = 1 Label Format = ${Job}_${Year}-${Month:p/2/0/r}-${Day:p/2/0/r}_${Hour:p/2/0/r}h${Minute:p/2/0/r}m Storage = File } # Reasonable message delivery -- send most everything to email address and to the console Messages { Name = Standard mailcommand = /usr/lib/bacula/bsmtp -h localhost -f \\(Bacula\) \%r\\ -s \Bacula: %t %e of %c %l\ %r operatorcommand = /usr/lib/bacula/bsmtp -h localhost -f \\(Bacula\) \%r\\ -s \Bacula: Intervention needed for %j\ %r mail = root = all, !skipped operator = root = mount console = all, !skipped, !saved append = /var/lib/bacula/log = all, !skipped catalog = all } # # Message delivery for daemon messages (no job). Messages { Name = Daemon mailcommand = /usr/lib/bacula/bsmtp -h localhost -f \\(Bacula\) \%r\\ -s \Bacula daemon message\ %r mail = root = all, !skipped console = all, !skipped, !saved append = /var/lib/bacula/log = all, !skipped } # # Restricted console used by tray-monitor to get the status of the director # Console { Name = backup-mon Password = xx CommandACL = status, .status } # SCHEDULES # - # When to do the backups, full backup on first sunday of the month, differential (i.e. incremental since full) every other sunday, and incremental backups other days Schedule { Name = WeeklyCycle Run = Full 1st sun at 23:05 Run = Differential 2nd-5th sun at 23:05 #Run = Incremental mon-sat at 23:05 Run = Incremental mon-sat at 10:05 } # This schedule does the catalog. It starts after the WeeklyCycle Schedule { Name = WeeklyCycleAfterBackup #Run = Full sun-sat at 23:10 Run = Full sun-sat at 10:05 } Schedule { Name = Desktop Run = Incremental mon-fri at 10:30 } # FILE SET # - # List of files to be backed up FileSet { Name = Full Set Include { Options { signature = MD5 } File = / } Exclude { File = /var/lib/bacula File = /media/storage File = /proc File = /tmp File = /.journal File = /.fsck } } # This is the backup of the catalog FileSet { Name = Catalog Include { Options { signature = MD5 } File = /var/lib/bacula/bacula.sql } } FileSet { Name = FullWin7Set Ignore FileSet Changes = yes Include { Options { compression = GZIP signature = MD5 IgnoreCase = yes Exclude = yes # Exclude junction points WildDir = [A-Z]:/Dokumente und Einstellungen WildDir = [A-Z]:/Documents and Settings WildDir = [A-Z]:/Program Files/Gemeinsame Dateien WildDir = [A-Z]:/Program Files/Windows NT/Zubehör WildDir = [A-Z]:/ProgramData/Anwendungsdaten WildDir = [A-Z]:/ProgramData/Application Data WildDir = [A-Z]:/ProgramData/Desktop WildDir = [A-Z]:/ProgramData/Documents WildDir = [A-Z]:/ProgramData/Dokumente WildDir = [A-Z]:/ProgramData/Favoriten WildDir = [A-Z]:/ProgramData/Favorites WildDir = [A-Z]:/ProgramData/Microsoft/Windows/Start Menu/Programme WildDir = [A-Z]:/ProgramData/Start Menu WildDir = [A-Z]:/ProgramData/Startmenü WildDir = [A-Z]:/ProgramData/Templates WildDir = [A-Z]:/ProgramData/Vorlagen WildDir = [A-Z]:/Programme WildDir = [A-Z]:/Documents and Settings WildDir = [A-Z]:/Users/All Users WildDir = [A-Z]:/Users/Default User WildDir =
Re: [Bacula-users] BackupCatalog failes
On Fri, 13 Jan 2012 15:27:19 -0500, John Drescher said: On Fri, Jan 13, 2012 at 1:12 PM, Honia A honia2...@hotmail.com wrote: I am logged in with user honia then su to root. Sorry I didn't understand what you mean, how should I check for that user info? I want to to. 1. Figure out what user bacula-fd runs on your system That should be bacula-dir -- the make_catalog_backup.pl runs on the director, not the fd. __Martin 2. Then login as that user (or su as that user not root) 3. Then execute the following command and see if you get any errors: /etc/bacula/scripts/make_catalog_backup.pl MyCatalog John -- RSA(R) Conference 2012 Mar 27 - Feb 2 Save $400 by Jan. 27 Register now! http://p.sf.net/sfu/rsa-sfdev2dev2 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users -- RSA(R) Conference 2012 Mar 27 - Feb 2 Save $400 by Jan. 27 Register now! http://p.sf.net/sfu/rsa-sfdev2dev2 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Disk backup strategy advice / help
On Wed, Jan 4, 2012 at 22:52, Adrian Reyer bacula-li...@lihas.de wrote: Hi Adrian I think bacula is not the ideal tool for running additional offsite backups. And very likely rsync is not a good way if you use bacula. I rsync data, catalog and bsr files on external disks and I would know what it's not a goold solution. -- Sebastien Douche sdou...@gmail.com Twitter: @sdouche / G+: +sdouche -- RSA(R) Conference 2012 Mar 27 - Feb 2 Save $400 by Jan. 27 Register now! http://p.sf.net/sfu/rsa-sfdev2dev2 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Run scripts fails
On Tue, Dec 27, 2011 at 16:13, Konstantin Khomoutov flatw...@users.sourceforge.net wrote: I suspect the problem is that running an internal command does not have shell semantics, or, to put differently, the call does not go through the shell. Same issue with a scrip shell. I write a workaround with cron. -- Sebastien Douche sdou...@gmail.com Twitter: @sdouche / G+: +sdouche -- RSA(R) Conference 2012 Mar 27 - Feb 2 Save $400 by Jan. 27 Register now! http://p.sf.net/sfu/rsa-sfdev2dev2 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Verifying hfsplus support
All, Is there any way to verify that the hfsplus is working correctly? I'm running bacula 5.2.3 on a Mac with OSX 10.6.8 and have enabled hfsplus support in the fileset, but there is no mention of the hfs+ support in the completion email. Is there a way to turn up verbosity that would display this? Or perhaps someone can give me a suggestion on how to test (a backup / restore of specific files that would require the hfsplus support) to verify that it's working? Thanks, Brian -- RSA(R) Conference 2012 Mar 27 - Feb 2 Save $400 by Jan. 27 Register now! http://p.sf.net/sfu/rsa-sfdev2dev2 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Need some help with copy jobs
Hi,Thanks for your pointer Phil - it seems to be valid now.However, I am still unable to see what this query is doing :-(. If I run it against my catalogue DB, I just get a long list of JobIDs, which don't look right for my SVN_Full pool. I have a feeling I may be over complicating thigs using a SQL query?Re-reading the documentation on Copy and Migration, there's a job option, which I had missed last time I read the page: PoolUncopiedJobsThis selection which copies all jobs from a pool to an other pool which were not copied before is available only for copy Jobs. What are the pro's/con's with this option, over a SQL query, such as the one kindly suggested by Adrian Reyer a few days ago?Thanks,JoeOn 15 Jan, 2012,at 10:47 PM, Phil Stracchino ala...@metrocast.net wrote:On 01/15/2012 04:17 PM, Joe Nyland wrote: select a.JobId from Job AS a JOIN Pool AS b ON a.PoolId=b.PoolId AND b.Name!='ARCH' AND b.Name!='TAPE' WHERE a.Type='B' AND a.JobID NOT IN (SELECT PriorJobId FROM Job AS c JOIN Pool AS d ON c.PoolId=d.PoolId AND d.Name='ARCH') AND a.EndTime(now()-INTERVAL '10 DAY') ORDER BY a.StartTime ASC; Drop the quotes around 10 DAY. -- Phil Stracchino, CDK#2 DoD#299792458 ICBM: 43.5607, -71.355 ala...@caerllewys.net ala...@metrocast.net p...@co.ordinate.org Renaissance Man, Unix ronin, Perl hacker, SQL wrangler, Free Stater It's not the years, it's the mileage. -- RSA(R) Conference 2012 Mar 27 - Feb 2 Save $400 by Jan. 27 Register now! http://p.sf.net/sfu/rsa-sfdev2dev2 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users-- RSA(R) Conference 2012 Mar 27 - Feb 2 Save $400 by Jan. 27 Register now! http://p.sf.net/sfu/rsa-sfdev2dev2___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] BackupCatalog failes
On Mon, Jan 16, 2012 at 5:35 AM, Martin Simmons mar...@lispworks.com wrote: On Fri, 13 Jan 2012 15:27:19 -0500, John Drescher said: On Fri, Jan 13, 2012 at 1:12 PM, Honia A honia2...@hotmail.com wrote: I am logged in with user honia then su to root. Sorry I didn't understand what you mean, how should I check for that user info? I want to to. 1. Figure out what user bacula-fd runs on your system That should be bacula-dir -- the make_catalog_backup.pl runs on the director, not the fd. Sorry. I was confused with that because my catalog database at work is not on the same machine as the director (has never been) and I am still using the old catalog backup script. John -- RSA(R) Conference 2012 Mar 27 - Feb 2 Save $400 by Jan. 27 Register now! http://p.sf.net/sfu/rsa-sfdev2dev2 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Full backup every day instead of Incremental backup
Hi :), I define a weekly schedule (full backup thes unday and incremental for the rest): Schedule { Name = WeeklyCycle Run = Full sun at 23:05 Run = Incremental mon-fri at 23:05 } But Bacula make a full backup each day: JobId LevelFiles Bytes Status FinishedName 40 Full12057.09 M OK 15-Jan-12 23:12 Deb 41 Full 72,26898.79 G OK 16-Jan-12 01:31 Fileserver 42 Full67412.21 G OK 16-Jan-12 01:45 Clonezilla Schedule: name=WeeklyCycle -- Run Level=Full hour=23 mday=0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 month=0 1 2 3 4 5 6 7 8 9 10 11 wday=0 wom=0 1 2 3 4 woy=0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 mins=5 -- Run Level=Incremental hour=23 mday=0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 month=0 1 2 3 4 5 6 7 8 9 10 11 wday=1 2 3 4 5 6 wom=0 1 2 3 4 woy=0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 mins=5 Why mday are set? I'm a bit lost :(. -- Sebastien Douche sdou...@gmail.com Twitter: @sdouche / G+: +sdouche -- RSA(R) Conference 2012 Mar 27 - Feb 2 Save $400 by Jan. 27 Register now! http://p.sf.net/sfu/rsa-sfdev2dev2 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Volume already exist
I'm starting to implement a bacula environment. Now I have a problem with two jobs started at the same time. One starts without error but the second throws errors while the first one is running (log file) Can someone help me? Do you have the latest bacula meaning version bacula-5.2.3? I remember seeing this in the past but I thought it was fixed. John -- RSA(R) Conference 2012 Mar 27 - Feb 2 Save $400 by Jan. 27 Register now! http://p.sf.net/sfu/rsa-sfdev2dev2 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Full backup every day instead of Incremental backup
On Mon, Jan 16, 2012 at 9:05 AM, Sebastien Douche sdou...@gmail.com wrote: Hi :), I define a weekly schedule (full backup thes unday and incremental for the rest): Schedule { Name = WeeklyCycle Run = Full sun at 23:05 Run = Incremental mon-fri at 23:05 } But Bacula make a full backup each day: JobId Level Files Bytes Status Finished Name 40 Full 120 57.09 M OK 15-Jan-12 23:12 Deb 41 Full 72,268 98.79 G OK 16-Jan-12 01:31 Fileserver 42 Full 674 12.21 G OK 16-Jan-12 01:45 Clonezilla Schedule: name=WeeklyCycle -- Run Level=Full hour=23 mday=0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 month=0 1 2 3 4 5 6 7 8 9 10 11 wday=0 wom=0 1 2 3 4 woy=0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 mins=5 -- Run Level=Incremental hour=23 mday=0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 month=0 1 2 3 4 5 6 7 8 9 10 11 wday=1 2 3 4 5 6 wom=0 1 2 3 4 woy=0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 mins=5 Why mday are set? I'm a bit lost :(. Do you have the messages or the log for the last few jobs? I suspect the incremental is getting upgraded from a full because bacula believes no prior full exists. John -- RSA(R) Conference 2012 Mar 27 - Feb 2 Save $400 by Jan. 27 Register now! http://p.sf.net/sfu/rsa-sfdev2dev2 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Volume already exist
I'm useing the ubuntu -server 10.04 version which is 5.0.1. I'll test the update and let you know the result! thanks for help! moe Am 16.01.2012 15:13, schrieb John Drescher: I'm starting to implement a bacula environment. Now I have a problem with two jobs started at the same time. One starts without error but the second throws errors while the first one is running (log file) Can someone help me? Do you have the latest bacula meaning version bacula-5.2.3? I remember seeing this in the past but I thought it was fixed. John -- RSA(R) Conference 2012 Mar 27 - Feb 2 Save $400 by Jan. 27 Register now! http://p.sf.net/sfu/rsa-sfdev2dev2 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Volume already exist
Looking into the log files i found some crude maybe related error. The label format of my pool is Label Format = ${Job}_${Year}-${Month:p/2/0/r}-${Day:p/2/0/r}_${Hour:p/2/0/r}h${Minute:p/2/0/r}m with the intention to generate a new file for each job. the job name of the below log snipet is R25 so i thought the resulting filename sould be R25_2012-01-13_10h33m but the created and used filename is R33_2012-01-13_10h33m but why? thanks for help! backup-dir JobId 37: Using Device FileStorage 2012-01-16 10:30:01 backup-sd JobId 37: Labeled new Volume R33_2012-01-13_10h33m on device FileStorage (/media/storage). 2012-01-16 10:30:01 backup-sd JobId 37: Wrote label to prelabeled Volume R33_2012-01-13_10h33m on device FileStorage (/media/storage) 2012-01-16 10:30:01 backup-dir JobId 37: Max Volume jobs exceeded. Marking Volume R33_2012-01-13_10h33m as Used. 2012-01-16 10:30:09 r25-fd JobId 37: Generate VSS snapshots. Driver=VSS Vista, Drive(s)=CE 2012-01-16 10:40:54 r25-fd JobId 37: VSS Writer (BackupComplete): Task Scheduler Writer, State: 0x1 (VSS_WS_STABLE) 2012-01-16 10:40:54 r25-fd JobId 37: VSS Writer (BackupComplete): VSS Metadata Store Writer, State: 0x1 (VSS_WS_STABLE) 2012-01-16 10:40:54 r25-fd JobId 37: VSS Writer (BackupComplete): Performance Counters Writer, State: 0x1 (VSS_WS_STABLE) Am 16.01.2012 15:13, schrieb John Drescher: I'm starting to implement a bacula environment. Now I have a problem with two jobs started at the same time. One starts without error but the second throws errors while the first one is running (log file) Can someone help me? Do you have the latest bacula meaning version bacula-5.2.3? I remember seeing this in the past but I thought it was fixed. John -- RSA(R) Conference 2012 Mar 27 - Feb 2 Save $400 by Jan. 27 Register now! http://p.sf.net/sfu/rsa-sfdev2dev2 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Forcing bacula to use a specific volume
I'm currently using disks as media, with 21 total in my pool. I had some network/config issues, and my volumes have gotten out of order. For example, the order is 1,2,6,7,8. with 3,4,5 set to expire much later, therefore not getting used until later. I'd like to force #3 to be used once 2 is done. From what I read, if I simply Purge that volume, it will be used the next time bacula needs a volume. So, if I wait until 2 has finished for the run, then purge #3, will that cause #3 to be used the next day/run? I just wanted to verify this was correct before purging. Also, what is the best way to purge? It looks pretty easy in bat. Thanks!-- RSA(R) Conference 2012 Mar 27 - Feb 2 Save $400 by Jan. 27 Register now! http://p.sf.net/sfu/rsa-sfdev2dev2___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Full backup every day instead of Incremental backup
On Mon, 16 Jan 2012 09:16:38 -0500, John Drescher wrote: On Mon, Jan 16, 2012 at 9:05 AM, Sebastien Douche sdou...@gmail.com wrote: Hi :), I define a weekly schedule (full backup thes unday and incremental for the rest): Schedule { Name = WeeklyCycle Run = Full sun at 23:05 Run = Incremental mon-fri at 23:05 } But Bacula make a full backup each day: JobId Level Files Bytes Status Finished Name 40 Full 120 57.09 M OK 15-Jan-12 23:12 Deb 41 Full 72,268 98.79 G OK 16-Jan-12 01:31 Fileserver 42 Full 674 12.21 G OK 16-Jan-12 01:45 Clonezilla Schedule: name=WeeklyCycle -- Run Level=Full hour=23 mday=0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 month=0 1 2 3 4 5 6 7 8 9 10 11 wday=0 wom=0 1 2 3 4 woy=0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 mins=5 -- Run Level=Incremental hour=23 mday=0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 month=0 1 2 3 4 5 6 7 8 9 10 11 wday=1 2 3 4 5 6 wom=0 1 2 3 4 woy=0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 mins=5 Why mday are set? I'm a bit lost :(. Do you have the messages or the log for the last few jobs? I suspect the incremental is getting upgraded from a full because bacula believes no prior full exists. John Hello, mday + wday = a sunday between 1 and 31... So, any sunday. That's just what you want. Jobs 40,41,42 are different jobs... Each one will create its own full job (upgraded from incremental if no full has been created) HTH. Jérôme Blion -- RSA(R) Conference 2012 Mar 27 - Feb 2 Save $400 by Jan. 27 Register now! http://p.sf.net/sfu/rsa-sfdev2dev2 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Full backup every day instead of Incremental backup
On Mon, Jan 16, 2012 at 15:16, John Drescher dresche...@gmail.com wrote: Do you have the messages or the log for the last few jobs? I suspect the incremental is getting upgraded from a full because bacula believes no prior full exists. Hi John, Right for the first jobs : 12-Jan 23:05 backup-dir JobId 1: No prior Full backup Job record found. 12-Jan 23:05 backup-dir JobId 1: No prior or suitable Full backup found in catalog. Doing FULL backup. But not that kind of messages with the last jobs: 16-Jan 02:51 backup-dir JobId 48: Start Backup JobId 48, Job=DagobahEtc.2012-01-15_23.05.00_43 16-Jan 02:51 backup-dir JobId 48: Using Device File 16-Jan 02:51 backup-sd JobId 48: Volume Full0063 previously written, moving to end of data. 16-Jan 02:51 backup-sd JobId 48: Ready to append to end of Volume Full0063 size=411133107 16-Jan 02:51 backup-sd JobId 48: Job write elapsed time = 00:00:02, Transfer rate = 1.184 M Bytes/second 16-Jan 02:51 backup-dir JobId 48: Bacula backup-dir 5.0.2 (28Apr10): 16-Jan-2012 02:51:55 Build OS: x86_64-pc-linux-gnu debian squeeze/sid JobId: 48 Job:DagobahEtc.2012-01-15_23.05.00_43 Backup Level: Full Note: MonthlyCycle is good for the mday: Schedule { Name = MonthlyCycle Run = Full on 1 at 23:05 Run = Incremental mon-fri at 23:05 } Schedule: name=MonthlyCycle -- Run Level=Full hour=23 mday=0 month=0 1 2 3 4 5 6 7 8 9 10 11 wday=0 1 2 3 4 5 6 wom=0 1 2 3 4 woy=0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 mins=5 -- Run Level=Incremental hour=23 mday=0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 month=0 1 2 3 4 5 6 7 8 9 10 11 wday=1 2 3 4 5 wom=0 1 2 3 4 woy=0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 mins=5 I guess the schedule is correctly set only whis mday but not with wday. Bug or am I stupid? -- Sebastien Douche sdou...@gmail.com Twitter: @sdouche / G+: +sdouche -- RSA(R) Conference 2012 Mar 27 - Feb 2 Save $400 by Jan. 27 Register now! http://p.sf.net/sfu/rsa-sfdev2dev2 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Volume already exist
On 1/16/2012 4:51 AM, Moritz Herrmann wrote: Hello, I'm starting to implement a bacula environment. Now I have a problem with two jobs started at the same time. One starts without error but the second throws errors while the first one is running (log file) Unless the Device (FileStorage in this case) specified in the Storage resource in bacula-dir.conf specifies a autochanger, then device FileStorage can only have one volume loaded at a time. Specifying MaximumVolumeJobs=1 in the Pool resource means that the FileStorage device cannot possibly be used by more than one job at a time. In order to write to multiple volumes simultaneously, you either have to configure multiple devices and divide the jobs amongst them or configure as an autochanger with multiple drives. Or you could just schedule the jobs to run sequentially. Can someone help me? Thanks Moritz Herrmann -- RSA(R) Conference 2012 Mar 27 - Feb 2 Save $400 by Jan. 27 Register now! http://p.sf.net/sfu/rsa-sfdev2dev2 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Need some help with copy jobs
On Mon, Jan 16, 2012 at 01:23:37PM +, Joe Nyland wrote: However, I am still unable to see what this query is doing :-(. If I run it against my catalogue DB, I just get a long list of JobIDs, which don't look right for my SVN_Full pool. I have a feeling I may be over complicating thigs using a SQL query? Well, this special SQL selects all jobs of any pool that is not the 'ARCH' pool. In your case, as you only wish to copy a specific pool, it would be, still with 'ARCH' as the target pool: select a.JobId from Job AS a JOIN Pool AS b ON a.PoolId=b.PoolId AND b.Name='SVN_Full' AND b.Name!='TAPE' WHERE a.Type='B' AND a.JobID NOT IN (SELECT PriorJobId FROM Job AS c JOIN Pool AS d ON c.PoolId=d.PoolId AND d.Name='ARCH') AND a.EndTime(now()-INTERVAL '10 DAY') ORDER BY a.StartTime ASC; PoolUncopiedJobs This selection which copies all jobs from a pool to an other pool which were not copied before is available only for copy Jobs. What are the pro's/con's with this option, over a SQL query, such as the one kindly suggested by Adrian Reyer a few days ago? I have not used this option because of my special setup as I have to copy each original job twice. This is only possible with SQL. For you it might just work. Regards, Adrian -- LiHAS - Adrian Reyer - Hessenwiesenstraße 10 - D-70565 Stuttgart Fon: +49 (7 11) 78 28 50 90 - Fax: +49 (7 11) 78 28 50 91 Mail: li...@lihas.de - Web: http://lihas.de Linux, Netzwerke, Consulting Support - USt-ID: DE 227 816 626 Stuttgart -- RSA(R) Conference 2012 Mar 27 - Feb 2 Save $400 by Jan. 27 Register now! http://p.sf.net/sfu/rsa-sfdev2dev2 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Full backup every day instead of Incremental backup
On 16/01/12 14:05, Sebastien Douche wrote: But Bacula make a full backup each day: Is the new job starting before the old one finished? -- RSA(R) Conference 2012 Mar 27 - Feb 2 Save $400 by Jan. 27 Register now! http://p.sf.net/sfu/rsa-sfdev2dev2 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Disk backup strategy advice / help
Hi Sebastian, On Mon, Jan 16, 2012 at 11:38:50AM +0100, Sebastien Douche wrote: I think bacula is not the ideal tool for running additional offsite backups. And very likely rsync is not a good way if you use bacula. I rsync data, catalog and bsr files on external disks and I would know what it's not a goold solution. Well, as you copy the matching catalog as well it should just be fine. It depends all on what you want to be your backup be for. In my case I want to be save from loosing single/some backup media while the backup server is still fine as I run redundant servers anyway. You obviously plan for a complete backup system breakdown on the expense of a harder time while restoring single lost media. On the other hand, if I experience a complete backup server outage I have to bscan the offsite tapes. Benefits of both ways you get by e.g. - copyjob for media offsite, if some medium fail, the copy job gets active if you delete it. - sql-server replication offsite, alternatively dumprestore - having all configuration files ready offsite. As I run 'Linux-VServers' I would just rsync the backup-server itself. Regards, Adrian -- LiHAS - Adrian Reyer - Hessenwiesenstraße 10 - D-70565 Stuttgart Fon: +49 (7 11) 78 28 50 90 - Fax: +49 (7 11) 78 28 50 91 Mail: li...@lihas.de - Web: http://lihas.de Linux, Netzwerke, Consulting Support - USt-ID: DE 227 816 626 Stuttgart -- RSA(R) Conference 2012 Mar 27 - Feb 2 Save $400 by Jan. 27 Register now! http://p.sf.net/sfu/rsa-sfdev2dev2 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Auto update slots on mount
Hi, Quick question: Is it possible to tell Bacula to do an update slots automatically whenever it has to mount a new tape from the autochanger? Why: Some times bacula requests tapes that are not in the changer during a job. The manual procedure is to - Unmount/release (not quite needed, as it is already unmounted by then) - Remove/insert new labeled tapes - Update slots - Let Bacula do the mounting on next try, ou mount manually. I want to just load/unload tapes on the changer upon request, and let bacula do the rest, so I need bacula to do an update slots every time it mounts a tape, while in the middle of a job. Pre job scripts won't do it, as this happens inside a job. Any ideias? Thanks! -- RSA(R) Conference 2012 Mar 27 - Feb 2 Save $400 by Jan. 27 Register now! http://p.sf.net/sfu/rsa-sfdev2dev2___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Auto update slots on mount
2012/1/16 Miguel Afonso mafo...@gmail.com: Hi, Quick question: Is it possible to tell Bacula to do an update slots automatically whenever it has to mount a new tape from the autochanger? Why: Some times bacula requests tapes that are not in the changer during a job. The manual procedure is to - Unmount/release (not quite needed, as it is already unmounted by then) - Remove/insert new labeled tapes - Update slots - Let Bacula do the mounting on next try, ou mount manually. I want to just load/unload tapes on the changer upon request, and let bacula do the rest, so I need bacula to do an update slots every time it mounts a tape, while in the middle of a job. Pre job scripts won't do it, as this happens inside a job. Any ideias? How would bacula know you changed the tape in the archive unless you told it to update slots? I guess you can run a job that issues an update slots every 5 minutes but that would be wasteful and could get you into trouble if the autochanger was initializing. John -- RSA(R) Conference 2012 Mar 27 - Feb 2 Save $400 by Jan. 27 Register now! http://p.sf.net/sfu/rsa-sfdev2dev2 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Need some help with copy jobs
Thanks for the explanation Andrian. In the meantime, I've given the 'PoolUncopiedJobs' option a go, and it appears to work just as well as the SQL query that I originally included in my email. However, Im still stuck in the loop mentioned earlier - I still appear to be copying two jobs, then when the copy job is run again, I get two other jobs copied, which seem to overwrite the previous two jobs in my 'copied' pool. Thus the next time the copy job is run the first two jobs are run again. And so on... Can anyone offer any pointers why I might be seeing this behaviour. The volume retention is set to 1 week on my 'copied' pool. As I understand it, jobs which have been written to the copied pool should not be overwritten, until 1 week has passed. Am I wrong? Thank you. Joe Sent from my iPhone On 16 Jan 2012, at 18:01, Adrian Reyer bacula-li...@lihas.de wrote: On Mon, Jan 16, 2012 at 01:23:37PM +, Joe Nyland wrote: However, I am still unable to see what this query is doing :-(. If I run it against my catalogue DB, I just get a long list of JobIDs, which don't look right for my SVN_Full pool. I have a feeling I may be over complicating thigs using a SQL query? Well, this special SQL selects all jobs of any pool that is not the 'ARCH' pool. In your case, as you only wish to copy a specific pool, it would be, still with 'ARCH' as the target pool: select a.JobId from Job AS a JOIN Pool AS b ON a.PoolId=b.PoolId AND b.Name='SVN_Full' AND b.Name!='TAPE' WHERE a.Type='B' AND a.JobID NOT IN (SELECT PriorJobId FROM Job AS c JOIN Pool AS d ON c.PoolId=d.PoolId AND d.Name='ARCH') AND a.EndTime(now()-INTERVAL '10 DAY') ORDER BY a.StartTime ASC; PoolUncopiedJobs This selection which copies all jobs from a pool to an other pool which were not copied before is available only for copy Jobs. What are the pro's/con's with this option, over a SQL query, such as the one kindly suggested by Adrian Reyer a few days ago? I have not used this option because of my special setup as I have to copy each original job twice. This is only possible with SQL. For you it might just work. Regards, Adrian -- LiHAS - Adrian Reyer - Hessenwiesenstraße 10 - D-70565 Stuttgart Fon: +49 (7 11) 78 28 50 90 - Fax: +49 (7 11) 78 28 50 91 Mail: li...@lihas.de - Web: http://lihas.de Linux, Netzwerke, Consulting Support - USt-ID: DE 227 816 626 Stuttgart -- Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Unsubscribe from the bacula mailinglist
Op 20120112 om 16:59 schreef Peter van der Meulen: From: Phil Stracchino Sent: Thursday, January 12, 2012 4:22 PM Are you getting useful information from it? If so, why unsubscribe? Well.. I have very little time to have a look at all the messages I'm getting. So.. that's one of the reasons. Thanks all! This is in the E-mail headers of each and every posting to this mailinglist. List-Unsubscribe: https://lists.sourceforge.net/lists/listinfo/bacula-users, mailto:bacula-users-requ...@lists.sourceforge.net?subject=unsubscribe -- Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users