[Bacula-users] Exclude won't exclude
Hi All, I have been trying to get this sorted without success. I am running Bacula 5.3 on Ubuntu 11.04 server and mysql. I am trying to exclude directories on Windows 7 client but they are backed up each time. Here is the fileset snippet. Can anyone see the error? FileSet { Name = "Colyn Set" Enable VSS = yes Ignore FileSet Changes = yes Include { Options { wilddir = "c:/users/colyn/AppData" wilddir = "c:/users/colyn/Application Data" wilddir = "c:/users/colyn/Cookies" wilddir = "c:/users/colyn/Documents/My Music" wilddir = "c:/users/colyn/Documents/My Pictures" wilddir = "c:/users/colyn/Documents/My Videos" wilddir = "c:/users/colyn/Local Settings" wilddir = "c:/users/colyn/My Documents" wilddir = "c:/users/colyn/NetHood" wilddir = "c:/users/colyn/PrintHood" wilddir = "c:/users/colyn/Recent" wilddir = "c:/users/colyn/SendTo" wilddir = "c:/users/colyn/Start Menu" wilddir = "c:/users/colyn/Templates" exclude = yes ignore case = yes } Options { Compression = GZIP ignore case = yes verify = pnugsi } @/etc/bacula/Colynbup } Exclude { File = c:/users/colyn/.VirtualBox File = c:/users/colyn/Downloads } } TIA Glyn +-- |This was sent by g...@cirrus.co.za via Backup Central. |Forward SPAM to ab...@backupcentral.com. +-- -- All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity and more. Splunk takes this data and makes sense of it. Business sense. IT sense. Common sense. http://p.sf.net/sfu/splunk-d2d-oct ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Windows Junction
Thanks Jeremy, that was it was, ignore case = yes. Cheers Glyn +-- |This was sent by g...@cirrus.co.za via Backup Central. |Forward SPAM to ab...@backupcentral.com. +-- -- All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2dcopy2 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Windows Junction
I have tried to get rid of the errors by adding an exclude section in the dir.conf. I have failed. Can someone help me please? Here is the error 05-Oct 09:07 glyn-laptop-fd JobId 4155: Generate VSS snapshots. Driver="VSS Vista", Drive(s)="C" 05-Oct 09:08 glyn-laptop-fd JobId 4155: C:/users/Glyn/AppData/Local/Application Data is a junction point or a different filesystem. Will not descend from C:/users/Glyn into it. Here is the fileset in the dir.conf FileSet { Name = "Glyn Set" Enable VSS = yes Ignore FileSet Changes = yes Include { Options { wilddir = "C:/Users/Glyn/AppData" wilddir = "C:/Users/Glyn/Application Data" wilddir = "C:/Users/Glyn/Cookies" wilddir = "C:/Users/Glyn/Documents/My Music" wilddir = "C:/Users/Glyn/Documents/My Pictures" wilddir = "C:/Users/Glyn/Documents/My Videos" wilddir = "C:/Users/Public/Documents/My Music" wilddir = "C:/Users/Public/Documents/My Pictures" wilddir = "C:/Users/Public/Documents/My Videos" wilddir = "C:/Users/Glyn/Local Settings" wilddir = "C:/Users/Glyn/My Documents" wilddir = "C:/Users/Glyn/NetHood" wilddir = "C:/Users/Glyn/PrintHood" wilddir = "C:/Users/Glyn/Recent" wilddir = "C:/Users/Glyn/SendTo" wilddir = "C:/Users/Glyn/Start Menu" wilddir = "C:/Users/Glyn/Templates" wilddir = "c:/users/glyn/.VirtualBox/" exclude = yes } Options { Compression = GZIP ignore case = yes; verify = pnugsi } File = "http://p.sf.net/sfu/splunk-d2dcopy2 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] No files being backed up
Hi John, Can't see the tree for the woods! Look and look and don't see until someone else points it out. That is exactly what is was. Many thanks for the help Cheers Glyn +-- |This was sent by g...@cirrus.co.za via Backup Central. |Forward SPAM to ab...@backupcentral.com. +-- -- All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity and more. Splunk takes this data and makes sense of it. Business sense. IT sense. Common sense. http://p.sf.net/sfu/splunk-d2dcopy1 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] No files being backed up
I have upgraded to Bacula 5.0.3 from 3 on Ubuntu 11.04 server with mysql. I don't get any errors but only the directories are backed up but none of the files. The client is Win 7 pro. AFAIK everything in the confs is still used successfully on Bacula 3. I am not sure where else to look. Here is the snipped bacula-dir.conf and the backup text file called by the fileset. If anyone would help me I would appreciate it Cheer and TIA Glyn JobDefs { Name = "GlynJob" Type = Backup # Level = incremental Client = glyn-laptop-fd FileSet = "Glyn Set" Messages = Standard Priority = 10 Reschedule on error = yes Reschedule interval = 2 hour Reschedule times = 3 Cancel Lower Level Duplicates = no Cancel Queued Duplicates = yes Cancel Running Duplicates = no } Job { Name = "GlynA" JobDefs = "GlynJob" Schedule = "DayTimeA" Pool = Full-Pool-A Full Backup Pool = Full-Pool-A Incremental Backup Pool = Incr-Pool-A Write Bootstrap = "/var/lib/bacula/%n.bsr" } Job { Name = "GlynB" JobDefs = "GlynJob" Schedule = "DayTimeB" Pool = Full-Pool-B Full Backup Pool = Full-Pool-B Incremental Backup Pool = Incr-Pool-B Write Bootstrap = "/var/lib/bacula/%n.bsr" } Job { Name = "DayTimeBackupCatalogA" JobDefs = "SugarJob" # Level = Full FileSet="Catalog" Schedule = "DayTimeAfterBackupA" Pool = Full-Pool-A RunBeforeJob = "/etc/bacula/scripts/make_catalog_backup.pl MyCatalog" # This deletes the copy of the catalog RunAfterJob = "/etc/bacula/scripts/delete_catalog_backup" Write Bootstrap = "/var/lib/bacula/%n.bsr" Priority = 11 # run after main backup } Job { Name = "DayTimeBackupCatalogB" JobDefs = "SugarJob" # Level = Full FileSet="Catalog" Schedule = "DayTimeAfterBackupB" Pool = Full-Pool-B RunBeforeJob = "/etc/bacula/scripts/make_catalog_backup.pl MyCatalog" # This deletes the copy of the catalog RunAfterJob = "/etc/bacula/scripts/delete_catalog_backup" Write Bootstrap = "/var/lib/bacula/%n.bsr" Priority = 11 # run after main backup } FileSet { Name = "Glyn Set" Enable VSS = yes Include { Options { Exclude = yes } # File = "http://p.sf.net/sfu/splunk-d2dcopy1 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] webacula
Sorry [Embarassed] And thanks for the guidance +-- |This was sent by g...@cirrus.co.za via Backup Central. |Forward SPAM to ab...@backupcentral.com. +-- -- Doing More with Less: The Next Generation Virtual Desktop What are the key obstacles that have prevented many mid-market businesses from deploying virtual desktops? How do next-generation virtual desktops provide companies an easier-to-deploy, easier-to-manage and more affordable virtual desktop model.http://www.accelacomm.com/jaw/sfnl/114/51426474/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] webacula
I have NEARLY go there but I am getting in the php_error.log and cannot work it out. 'Zend_Controller_Exception' not found in /var/www/webacula/library/Zend/Controller/Plugin/Broker.php on line 336 Any ideas? TIA Glyn +-- |This was sent by g...@cirrus.co.za via Backup Central. |Forward SPAM to ab...@backupcentral.com. +-- -- BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA Learn about the latest advances in developing for the BlackBerry® mobile platform with sessions, labs & more. See new tools and technologies. Register for BlackBerry® DevCon today! http://p.sf.net/sfu/rim-devcon-copy1 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] help = Problem with webacula - no grafical output
HI, I have the same issues and have done the same you did. Have you got it to work? If so HOW ?? ;-) TIA Glyn +-- |This was sent by g...@cirrus.co.za via Backup Central. |Forward SPAM to ab...@backupcentral.com. +-- -- BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA Learn about the latest advances in developing for the BlackBerry® mobile platform with sessions, labs & more. See new tools and technologies. Register for BlackBerry® DevCon today! http://p.sf.net/sfu/rim-devcon-copy1 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Re store OK but no files are restored
Here is the ls -l on the ubuntu server where the bacula dir runs r...@mistral:/home/cirrus/mailarchiva_dist# ls -l /bacula-restores/ total 0 There is also the same directory on the Windows 7 glyn-laptop. and when I look in there the directory structure is there, but in a strange way. the path is: c:\bacula-restores\c\users\glyn\My Documents\restored files So the restore is working but when I have done this previously, the files have been restored to the bacula server (ubuntu) /bacula-restores. Bottom line, you have helped me find the files and proven that restore works. Many thanks Cheers Glyn Ralf Gross wrote: > > Glynd schrieb: >> >> The "where" argument I left at default /bacula-restores and that is where >> I >> looked. > > Can you post all the options you choose for the restore (cut & paste)? > > Ralf > > -- > SOLARIS 10 is the OS for Data Centers - provides features such as DTrace, > Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW > http://p.sf.net/sfu/solaris-dev2dev > ___ > Bacula-users mailing list > Bacula-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/bacula-users > > -- View this message in context: http://old.nabble.com/Restore-OK-but-no-files-are-restored-tp27559599p27564270.html Sent from the Bacula - Users mailing list archive at Nabble.com. -- SOLARIS 10 is the OS for Data Centers - provides features such as DTrace, Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW http://p.sf.net/sfu/solaris-dev2dev ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Re store OK but no files are restored
Here is the snippet from bconsole. *restore Automatically selected Catalog: MyCatalog Using Catalog "MyCatalog" First you select one or more JobIds that contain files to be restored. You will be presented several methods of specifying the JobIds. Then you will be allowed to select which files from those JobIds are to be restored. To select the JobIds, you have the following choices: 1: List last 20 Jobs run 2: List Jobs where a given File is saved 3: Enter list of comma separated JobIds to select 4: Enter SQL list command 5: Select the most recent backup for a client 6: Select backup for a client before a specified time 7: Enter a list of files to restore 8: Enter a list of files to restore before a specified time 9: Find the JobIds of the most recent backup for a client 10: Find the JobIds for a backup for a client before a specified time 11: Enter a list of directories to restore for found JobIds 12: Select full restore to a specified JobId 13: Cancel Select item: (1-13): 5 Defined Clients: 1: mistral-fd 2: glyn-laptop-fd 3: Colyn-Acer-W7-fd 4: typhoon-fd 5: Typhoon-fd Select the Client (1-5): 2 The defined FileSet resources are: 1: Catalog 2: Glyn Set Select FileSet resource (1-2): 2 +---+---+--++-++ | JobId | Level | JobFiles | JobBytes | StartTime | VolumeName | +---+---+--++-++ | 804 | F | 22,911 | 19,913,681,686 | 2010-02-08 11:09:05 | hdda-full-0038 | | 811 | I | 70 | 2,822,957 | 2010-02-09 09:05:03 | hdda-incr-0036 | | 818 | I | 63 | 2,766,104 | 2010-02-10 09:05:03 | hdda-incr-0036 | | 825 | I | 60 | 3,054,326 | 2010-02-11 09:05:02 | hdda-incr-0037 | | 839 | I | 67 | 2,906,662 | 2010-02-12 09:05:02 | hdda-incr-0037 | +---+---+--++-++ You have selected the following JobIds: 804,811,818,825,839 Building directory tree for JobId(s) 804,811,818,825,839 ... 20,351 files inserted into the tree. You are now entering file selection mode where you add (mark) and remove (unmark) files to be restored. No files are initially added, unless you used the "all" keyword on the command line. Enter "done" to leave this mode. cwd is: / $ cd c:/users/glyn/"My Documents" cwd is: c:/users/glyn/My Documents/ $ add glunsig.txt No files marked. $ add glynsig.txt 1 file marked. $ done Bootstrap records written to /var/lib/bacula/bin/working/mistral-dir.restore.9.bsr The job will require the following Volume(s) Storage(s)SD Device(s) === hdda-full-0038HDDA usb-drive-a Volumes marked with "*" are online. 1 file selected to be restored. Run Restore job JobName: RestoreFiles Bootstrap: /var/lib/bacula/bin/working/mistral-dir.restore.9.bsr Where: /bacula-restores Replace: always FileSet: Sugar Set Backup Client: glyn-laptop-fd Restore Client: glyn-laptop-fd Storage: HDDA When:2010-02-12 12:38:22 Catalog: MyCatalog Priority:10 Plugin Options: *None* OK to run? (yes/mod/no): Job queued. JobId=842 * 12-Feb 12:41 mistral-dir JobId 842: Start Restore Job RestoreFiles.2010-02-12_12.41.14_49 12-Feb 12:41 mistral-dir JobId 842: Using Device "usb-drive-a" 12-Feb 12:41 mistral-sd JobId 842: Ready to read from volume "hdda-full-0038" on device "usb-drive-a" (/mnt/bupa/bup). 12-Feb 12:41 mistral-sd JobId 842: Forward spacing Volume "hdda-full-0038" to file:block 2:2409361375. 12-Feb 12:41 mistral-dir JobId 842: Bacula mistral-dir 3.0.2 (18Jul09): 12-Feb-2010 12:41:38 Build OS: i686-pc-linux-gnu ubuntu 9.04 JobId: 842 Job:RestoreFiles.2010-02-12_12.41.14_49 Restore Client: glyn-laptop-fd Start time: 12-Feb-2010 12:41:16 End time: 12-Feb-2010 12:41:38 Files Expected: 1 Files Restored: 1 Bytes Restored: 461 Rate: 0.0 KB/s FD Errors: 0 FD termination status: OK SD termination status: OK Termination:Restore OK 12-Feb 12:41 mistral-dir JobId 842: Begin pruning Jobs. 12-Feb 12:41 mistral-dir JobId 842: No Jobs found to prune. 12-Feb 12:41 mistral-dir JobId 842: Begin pruning Files. 12-Feb 12:41 mistral-dir JobId 842: Pruned Files from 1 Jobs for client glyn-laptop-fd from catalog. 12-Feb 12:41 mistral-dir JobId 842: End auto prune. +-- |This was sent by g...@cirrus.co.za via Backup Central. |Forward SPAM to
Re: [Bacula-users] Re store OK but no files are restored
Hello Ralph, The "where" argument I left at default /bacula-restores and that is where I looked. Cheers Glyn Ralf Gross wrote: > > Glynd schrieb: >> >> I am running Bacula 3.0.2 on Ubuntu server Apache2 MySQL >> >> The backups seem to be working OK so I thought I had better test a >> restore! >> This also seemed to run OK, but there were no files restored. I tried >> different "where" locations but still no joy. >> The log snip below shows all is well too. Any ideas please? >> >> 12-Feb 08:37 mistral-dir JobId 836: Start Restore Job >> RestoreFiles.2010-02-12_08.37.15_35 >> 12-Feb 08:37 mistral-dir JobId 836: Using Device "usb-drive-a" >> 12-Feb 08:37 mistral-sd JobId 836: Ready to read from volume >> "hdda-full-0038" on device "usb-drive-a" (/mnt/bupa/bup). >> 12-Feb 08:37 mistral-sd JobId 836: Forward spacing Volume >> "hdda-full-0038" >> to file:block 0:36195. >> 12-Feb 08:37 mistral-dir JobId 836: Bacula mistral-dir 3.0.2 (18Jul09): >> 12-Feb-2010 08:37:55 >> Build OS: i686-pc-linux-gnu ubuntu 9.04 >> JobId: 836 >> Job:RestoreFiles.2010-02-12_08.37.15_35 >> Restore Client: glyn-laptop-fd > > > And you looked on glyn-laptop-fd for the files? Where did you say > should the files be restored to (location)? > > Ralf > > -- > SOLARIS 10 is the OS for Data Centers - provides features such as DTrace, > Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW > http://p.sf.net/sfu/solaris-dev2dev > ___ > Bacula-users mailing list > Bacula-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/bacula-users > > -- View this message in context: http://old.nabble.com/Restore-OK-but-no-files-are-restored-tp27559599p27560303.html Sent from the Bacula - Users mailing list archive at Nabble.com. -- SOLARIS 10 is the OS for Data Centers - provides features such as DTrace, Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW http://p.sf.net/sfu/solaris-dev2dev ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Re store OK but no files are restored
I am running Bacula 3.0.2 on Ubuntu server Apache2 MySQL The backups seem to be working OK so I thought I had better test a restore! This also seemed to run OK, but there were no files restored. I tried different "where" locations but still no joy. The log snip below shows all is well too. Any ideas please? 12-Feb 08:37 mistral-dir JobId 836: Start Restore Job RestoreFiles.2010-02-12_08.37.15_35 12-Feb 08:37 mistral-dir JobId 836: Using Device "usb-drive-a" 12-Feb 08:37 mistral-sd JobId 836: Ready to read from volume "hdda-full-0038" on device "usb-drive-a" (/mnt/bupa/bup). 12-Feb 08:37 mistral-sd JobId 836: Forward spacing Volume "hdda-full-0038" to file:block 0:36195. 12-Feb 08:37 mistral-dir JobId 836: Bacula mistral-dir 3.0.2 (18Jul09): 12-Feb-2010 08:37:55 Build OS: i686-pc-linux-gnu ubuntu 9.04 JobId: 836 Job:RestoreFiles.2010-02-12_08.37.15_35 Restore Client: glyn-laptop-fd Start time: 12-Feb-2010 08:37:17 End time: 12-Feb-2010 08:37:55 Files Expected: 2 Files Restored: 2 Bytes Restored: 325,729 Rate: 8.6 KB/s FD Errors: 0 FD termination status: OK SD termination status: OK Termination:Restore OK Cheers Glyn -- View this message in context: http://old.nabble.com/Restore-OK-but-no-files-are-restored-tp27559599p27559599.html Sent from the Bacula - Users mailing list archive at Nabble.com. -- SOLARIS 10 is the OS for Data Centers - provides features such as DTrace, Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW http://p.sf.net/sfu/solaris-dev2dev ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Schedule - Again
No Don, you didn't misunderstand, I did! I assumed that the week starts on Sunday, rather than the anniversary of the 1st January. The only way I can think of to swap the storage disks over on a Monday is to define week of year in the schedule. A bit inelegant but should work. Is there a more elegant way? TIA Glyn Dan Langille wrote: > > Glyn wrote: >> Sorry to keep banging on about this but there is still something I don't >> get! >> >> Yesterday the back-ups ran as expected on schedule A but today they are >> all asking for storage B (schedule B). The schedule works on weeks of >> the month and as far as I know, Sunday is the 1st day of the week, so >> why is it wanting to switch to the next "week" on Friday? > > Today is the 5th Friday of the month. > > Perhaps I misunderstand the issue. Please clarify. > >> Here is the schedule: >> >> # When to do the backups >> Schedule { >>Name = "WeeklyCycleB" >>Run = Level = Incremental IncrementalPool = Incr-Pool-B 1st 3rd 5th >> mon-fri at 19:05 >>Run = Level = Full FullPool = Full-Pool-B 1st 3rd 5th sat at 02:05 >> } > > Looks like this matches > >> >> Schedule { >>Name = "WeeklyCycleA" >>Run = Level = Incremental IncrementalPool = Incr-Pool-A 2nd 4th >> mon-fri at 19:05 >>Run = Level = Full FullPool = Full-Pool-A 2nd 4th Sat at 02:05 >> } >> >> Schedule { >>Name = "DayTimeB" >>Run = Level = Incremental IncrementalPool = Incr-Pool-B 1st, 3rd, 5th >> tue-fri at 09:05 >>Run = Level = Full FullPool = Full-Pool-B 1st, 3rd, 5th mon at 09:05 >> } > > And this. > >> >> Schedule { >>Name = "DayTimeA" >>Run = Level = Incremental IncrementalPool = Incr-Pool-A 2nd, 4th >> tue-fri at 09:05 >>Run = Level = Full FullPool = Full-Pool-A 2nd, 4th mon at 09:05 >> } >> >> TIA >> > > > -- > The Planet: dedicated and managed hosting, cloud storage, colocation > Stay online with enterprise data centers and the best network in the > business > Choose flexible plans and management services without long-term contracts > Personal 24x7 support from experience hosting pros just a phone call away. > http://p.sf.net/sfu/theplanet-com > ___ > Bacula-users mailing list > Bacula-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/bacula-users > > -- View this message in context: http://old.nabble.com/Schedule---Again-tp27370008p27400659.html Sent from the Bacula - Users mailing list archive at Nabble.com. -- The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away. http://p.sf.net/sfu/theplanet-com ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Schedule not working as expected
Hi Phil, >From what you are saying, I need to have 2 schedules (odd and even) rather >then just the one. I also need 2 jobs for each client one for odd and one for >even weeks, with each job pointing to the relevant schedule, yes? I thought that because the schedule defines the odd and even weeks, it would just run the appropriate jobs in those weeks. Is there a more elegant way of doing this, do you think? TIA Glyn +-- |This was sent by g...@cirrus.co.za via Backup Central. |Forward SPAM to ab...@backupcentral.com. +-- -- Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Schedule not being followed
Some more information on this which may help. I did a show schedules and got this: Schedule: name=WeeklyCycle --> Run Level=Incremental hour=19 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 2 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 --> Pool: name=Incr-Pool-B PoolType=Backup use_cat=1 use_once=0 cat_files=1 max_vols=1 auto_prune=1 VolRetention=6 days VolUse=0 secs recycle=1 LabelFormat=hddb-incr- CleaningPrefix=*None* LabelType=0 RecyleOldest=0 PurgeOldest=0 MaxVolJobs=25 MaxVolFiles=0 MaxVolBytes=0 MigTime=0 secs MigHiBytes=0 MigLoBytes=0 --> Storage: name=HDDB address=mistral.cirrus.co.za SDport=9103 MaxJobs=1 DeviceName=usb-drive-b MediaType=Fileb StorageId=3 The schedule resource if the bacula-dir.conf is this: Schedule { Name = "WeeklyCycle" Run = IncrementalPool = Incr-Pool-B 1st, 3rd, 5th mon-fri at 19:05 Run = FullPool = Full-Pool-B 1st, 3rd, 5th sat at 02:05 Run = IncrementalPool = Incr-Pool-A 2nd, 4th mon-fri at 19:05 Run = FullPool = Full-Pool-A 2nd, 4th Sat at 02:05 } The schedule has the poolb jobs running on 1st,3rd,5th week of the month, yet the "show schedules" shows it for wom 0,2,4. Where else could this be set? TIA Glyn -- View this message in context: http://old.nabble.com/Schedule-not-being-followed-tp27173686p27238428.html Sent from the Bacula - Users mailing list archive at Nabble.com. -- Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Schedule not being followed
This still persists after I changed the schedule as per Anrno's instructions. Bacula still thinks it is week 2 (or 4) and insists that it wants disk A. When does the new week start according to Bacula, is it the same day as the 1st of the month or Sunday? Is there anyway to check what it "thinks"? At the moment I can't get a consistent back up schedule running which is a bit worrying? For completeness I have pasted the dir conf here. Maybe there is something else I have wrong. TIA cheers Glyn # # Default Bacula Director Configuration file # # The only thing that MUST be changed is to add one or more # file or directory names in the Include directive of the # FileSet resource. # # For Bacula release 2.2.8 (26 January 2008) -- debian lenny/sid # # You might also want to change the default email address # from root to your address. See the "mail" and "operator" # directives in the Messages resource. # Director {# define myself Name = mistral-dir DIRport = 9101# where we listen for UA connections QueryFile = "/var/lib/bacula/bin/query.sql" WorkingDirectory = "/var/lib/bacula/bin/working" PidDirectory = "/var/lib/bacula/bin/working" Maximum Concurrent Jobs = 1 Password = "Cv70F6pf1t6pBopT4vQOnigDrR0v3L" # Console password Messages = Daemon DirAddress = mistral.cirrus.co.za } JobDefs { Name = "GlynJob" Type = Backup # Level = incremental Client = glyn-laptop-fd FileSet = "Glyn Set" Messages = Standard Priority = 10 Reschedule on error = yes Reschedule interval = 1 hour Reschedule times = 5 } JobDefs { Name = "ColynJob" Type = Backup # Level = Incremental Client = Colyn-Acer-W7-fd FileSet = "Colyn Set" Messages = Standard Priority = 10 Reschedule on error = yes Reschedule interval = 1 hour Reschedule times = 5 } JobDefs { Name = "CumulusJob" Type = Backup # Level = Incremental Client = mistral-fd FileSet = "Cumulus Set" Messages = Standard Priority = 10 } JobDefs { Name = "SugarJob" Type = Backup # Level = Incremental Client = mistral-fd FileSet = "Sugar Set" Messages = Standard Priority = 10 } JobDefs { Name = "TyphoonJob" Type = Backup # Level = Incremental Client = typhoon-fd FileSet = "Typhoon Set" Messages = Standard Priority = 10 } # # Define the main nightly save backup job # By default, this job will back up to disk in Job { Name = "SugarA" JobDefs = "SugarJob" Schedule = "WeeklyCycle" Pool = Default Full Backup Pool = Full-Pool-A Incremental Backup Pool = Incr-Pool-A Write Bootstrap = "/var/lib/bacula/bin/Sugar.bsr" } Job { Name = "CumulusA" JobDefs = "CumulusJob" Schedule = "WeeklyCycle" Pool = Default Full Backup Pool = Full-Pool-A Incremental Backup Pool = Incr-Pool-A Write Bootstrap = "/var/lib/bacula/bin/Cumulus.bsr" } Job { Name = "GlynA" JobDefs = "GlynJob" Schedule = "DayTime" Pool = Default Full Backup Pool = Full-Pool-A Incremental Backup Pool = Incr-Pool-A Write Bootstrap = "/var/lib/bacula/bin/Glyn.bsr" } Job { Name = "ColynA" JobDefs = "ColynJob" Schedule = "DayTime" Pool = Default Full Backup Pool = Full-Pool-A Incremental Backup Pool = Incr-Pool-A Write Bootstrap = "/var/lib/bacula/bin/Colyn.bsr" } Job { Name = "TyphoonA" JobDefs = "TyphoonJob" Schedule = "WeeklyCycle" Pool = Default Full Backup Pool = Full-Pool-A Incremental Backup Pool = Incr-Pool-A Write Bootstrap = "/var/lib/bacula/bin/Typhoon.bsr" } Job { Name = "SugarB" JobDefs = "SugarJob" Schedule = "WeeklyCycle" Pool = Default Full Backup Pool = Full-Pool-B Incremental Backup Pool = Incr-Pool-B Write Bootstrap = "/var/lib/bacula/bin/Sugar.bsr" } Job { Name = "CumulusB" JobDefs = "CumulusJob" Schedule = "WeeklyCycle" Pool = Default Full Backup Pool = Full-Pool-B Incremental Backup Pool = Incr-Pool-B Write Bootstrap = "/var/lib/bacula/bin/Cumulus.bsr" } Job { Name = "GlynB" JobDefs = "GlynJob" Schedule = "DayTime" Pool = Default Full Backup Pool = Full-Pool-B Incremental Backup Pool = Incr-Pool-B Write Bootstrap = "/var/lib/bacula/bin/Glyn.bsr" } Job { Name = "ColynB" JobDefs = "ColynJob" Schedule = "DayTime" Pool = Default Full Backup Pool = Full-Pool-B Incremental Backup Pool = Incr-Pool-B Write Bootstrap = "/var/lib/bacula/bin/Colyn.bsr" } Job { Name = "TyphoonB" JobDefs = "TyphoonJob" Schedule = "WeeklyCycle" Pool = Default Full Backup Pool = Full-Pool-B Incremental Backup Pool = Incr-Pool-B Write Bootstrap = "/var/lib/bacula/bin/Typhoon.bsr" } # Backup the catalog database (after the nightly save) Job { Name = "BackupCatalogA" JobDefs = "SugarJob" Level = Full FileSet="Catalog" Schedule = "WeeklyCycleAfterBackup" Pool = Full-Pool-A RunBeforeJob = "/var/lib/bacula/bin/make_catalog_backup bacula bacula" RunAfterJob = "/var/lib/bacula/bin/delete_catalog_backup" Write Bootstrap = "/var/li
Re: [Bacula-users] Schedule not being followed
Hi Arno, Many thanks for this, it makes sense. One question though. There are 2 laptops that need backing up and they are not always connected to the network at the same time. How do people normally configure Bacula to back-up laptops like this? TIA Cheers Glyn Arno Lehmann wrote: > > Hello, > > 15.01.2010 08:25, Glyn wrote: >> Using 3.0.2 on Ubuntu 8.04 server with MySQL. >> >> It is now Friday of the 2nd week of January so the schedule A with Pool >> A should be used, I would have thought. However, this morning at 9:05 I >> get a message asking for a volume of drive B to be labelled. From Monday >> to Thursday the A schedule was used correctly but now suddenly on >> Friday, it wants to switch to the B schedule. >> Maybe I have something wrong in the dir.conf? The schedule section is >> below and any help would be appreciated. > > Given the number of schedules you have, you also have different backup > jobs set up. > > A backup job can only be based upon previous backups of the same job. > > To achieve what you want, only use one job, and a schedule like > > Schedule { > Name = "WeeklyCycleAB" > Run = Incremental Pool = Incr-Pool-B 1st, 3rd, 5th mon-fri at 19:05 > Run = Full Pool = Full-Pool-B 1st, 3rd, 5th sat at 02:05 > Run = Incremental Pool = Incr-Pool-A 2nd, 4th mon-fri at 19:05 > Run = Full Pool = Full-Pool-A 2nd, 4th Sat at 02:05 > } > > That should help :-) > > Arno > >> # When to do the backups >> Schedule { >>Name = "WeeklyCycleB" >>Run = Incremental Pool = Incr-Pool-B 1st, 3rd, 5th mon-fri at 19:05 >>Run = Full Pool = Full-Pool-B 1st, 3rd, 5th sat at 02:05 >> } >> >> Schedule { >>Name = "DayTimeB" >>Run = Incremental Pool = Incr-Pool-B 1st, 3rd, 5th tue-fri at 09:05 >>Run = Full Pool = Full-Pool-B 1st, 3rd, 5th mon at 09:05 >> } >> >> Schedule { >>Name = "WeeklyCycleA" >>Run = Incremental Pool = Incr-Pool-A 2nd, 4th mon-fri at 19:05 >>Run = Full Pool = Full-Pool-A 2nd, 4th Sat at 02:05 >> } >> >> Schedule { >>Name = "DayTimeA" >>Run = Incremental Pool = Incr-Pool-A 2nd, 4th tue-fri at 09:05 >>Run = Full Pool = Full-Pool-A 2nd, 4th mon at 09:05 >> } >> >> # This schedule does the catalog. It starts after the WeeklyCycle >> Schedule { >>Name = "WeeklyCycleAfterBackupB" >>Run = Full 1st, 3rd, 5th mon-fri at 19:10 >> } >> >> Schedule { >>Name = "WeeklyCycleAfterBackupA" >>Run = Full 2nd, 4th mon-fri at 19:10 >> } >> >> >> Schedule { >>Name = "DayTimeAfterBackupB" >>Run = Full 1st, 3rd, 5th mon-fri at 09:10 >> } >> >> Schedule { >>Name = "DayTimeAfterBackupA" >>Run = Full 2nd, 4th mon-fri at 09:10 >> } >> > > -- > Arno Lehmann > IT-Service Lehmann > Sandstr. 6, 49080 Osnabrück > www.its-lehmann.de > > -- > Throughout its 18-year history, RSA Conference consistently attracts the > world's best and brightest in the field, creating opportunities for > Conference > attendees to learn about information security's most important issues > through > interactions with peers, luminaries and emerging and established > companies. > http://p.sf.net/sfu/rsaconf-dev2dev > ___ > Bacula-users mailing list > Bacula-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/bacula-users > > -- View this message in context: http://old.nabble.com/Schedule-not-being-followed-tp27173686p27206451.html Sent from the Bacula - Users mailing list archive at Nabble.com. -- Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Schedule not being followed
Hi Martin, If this is true then Bacula will dictate when the (in my case) the weekly disk has to be swapped out. I would much prefer to do this on a Monday morning, but if in 2010, Bacula wants to change on a Friday it will be Saturday next year? Can I define the schedule differently so I can swap the disks on a Monday? TIA Cheers Glyn Martin Simmons wrote: > >> On Fri, 15 Jan 2010 09:25:29 +0200, Glyn said: >> >> Using 3.0.2 on Ubuntu 8.04 server with MySQL. >> >> It is now Friday of the 2nd week of January so the schedule A with Pool >> A should be used, I would have thought. However, this morning at 9:05 I >> get a message asking for a volume of drive B to be labelled. From Monday >> to Thursday the A schedule was used correctly but now suddenly on >> Friday, it wants to switch to the B schedule. >> Maybe I have something wrong in the dir.conf? The schedule section is >> below and any help would be appreciated. > > I think the problem is that today is the 3rd Friday, so B cycle match. > The > fact that it is the 2nd week starting on a Thursday is irrelevant for a > day-of-week schedule. > > __Martin > > -- > Throughout its 18-year history, RSA Conference consistently attracts the > world's best and brightest in the field, creating opportunities for > Conference > attendees to learn about information security's most important issues > through > interactions with peers, luminaries and emerging and established > companies. > http://p.sf.net/sfu/rsaconf-dev2dev > ___ > Bacula-users mailing list > Bacula-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/bacula-users > > -- View this message in context: http://old.nabble.com/Schedule-not-being-followed-tp27173686p27206430.html Sent from the Bacula - Users mailing list archive at Nabble.com. -- Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Exclude not working the way I expected
I have obviously not understood how exclude works. I have the following in my fileset resource but all that is backed up are the directories defined in the Glynbup.txt with no files FileSet { Name = "Glyn Set" Enable VSS = yes Include { Options { Compression = GZIP # signature = MD5 ignore case = yes Exclude = yes } File = "http://old.nabble.com/Exclude-not-working-the-way-I-expected-tp26335816p26335816.html Sent from the Bacula - Users mailing list archive at Nabble.com. -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] weekly backup on 2 external hard disks
Thanks for this as it is exactly what I want to do too (except the annual full BUP) I am a little confused about setting up the jobs. If there are 2 jobs per client, how do they write tothe pools full1, incr1, full2 and incr2? I have all mine set to level = incremental and when there is a new volume, Bacula automatically upgrades it to a full but to the same (default) pool. Would you explain a little more for me, please? What do I do with the catalog? Does this remain as it is, i.e. just one catalog for all the jobs and all the pools, do I use one of the new ones (full1, etc), or do I keep the default pool? TIA Glyn Josh Fisher wrote: > > > Mgr. Martin Fabuš wrote: >> >>> You could probably do this with 4 pools. Each drive would contain >>> volumes in two pools, one for full backups and one for incremental >>> backups. For each client there would be two jobs, one backing up to >>> drive 1 using pools "full1" and "incremental1" and another backing up to >>> drive 2 using pools "full2" and "incremental2". The two jobs for each >>> client would use two different schedules so that the jobs run on >>> opposite weeks. A schedule for odd weeks of the month might use >>> something like Run = Level=Incremental 1st,3rd,5th sun-sat at 21:00. >>> Only schedule the daily incrementals, and then run the yearly full >>> backups manually. >>> >> Good idea, that's exactly what I was looking for. I have implemented >> it as You have suggested. I will see if it will work. >> I have created only 2 pools - full and increments are going to a one >> pool. >> EvenPool & OddPool > > I don't think that will do what you want. The reason for 4 pools is to > keep the incrementals on drive 1 relative to the fulls on drive 1, and > the incrementals on drive 2 relative to the fulls on drive 2. If you > have only 2 pools, then the incrementals will be relative to the last > full backup, regardless of which drive the last full backup was written > to. Similarly, the reason for 2 jobs for each client is because one job > writes only to disk 1 and the other only to disk 2. That way a restore > will only require 1 drive. > >> >> >>> A year sounds like a long time between full backups. With 180 odd >>> incrementals for each client you'll likely run out of disk space on a >>> USB drive and defeat the purpose. With differential backups run every >>> now and then, you could delete the no longer needed incrementals and >>> consolidate space. >>> >> The disks are real 3,5" 0,5 TB, so it won't get full so easy. The USB >> is used only for connecting the HDDs to a SD server. >> >> As long as I have 2 equal HDDs, I think the increments are at safe >> place - Data are on 3 places (original, even backup and odd backup). >> >> M >> >> >> -- >> Come build with us! The BlackBerry(R) Developer Conference in SF, CA >> is the only developer event you need to attend this year. Jumpstart your >> developing skills, take BlackBerry mobile applications to market and stay >> ahead of the curve. Join us from November 9 - 12, 2009. Register now! >> http://p.sf.net/sfu/devconference >> >> >> ___ >> Bacula-users mailing list >> Bacula-users@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/bacula-users >> > > -- > Come build with us! The BlackBerry(R) Developer Conference in SF, CA > is the only developer event you need to attend this year. Jumpstart your > developing skills, take BlackBerry mobile applications to market and stay > ahead of the curve. Join us from November 9 - 12, 2009. Register now! > http://p.sf.net/sfu/devconference > ___ > Bacula-users mailing list > Bacula-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/bacula-users > > -- View this message in context: http://old.nabble.com/weekly-backup-on-2-external-hard-disks-tp26109910p26160151.html Sent from the Bacula - Users mailing list archive at Nabble.com. -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] version 3
Thanks for the help. Removing all but one catalog back up sorted it. Cheers Glyn +-- |This was sent by g...@cirrus.co.za via Backup Central. |Forward SPAM to ab...@backupcentral.com. +-- -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] version 3
Martin, Cedric, Thanks for the input. I think my understanding as to how to set up Bacula is a bit off! The configuration is this: mistral Ubuntu machine runs the Director, fd and sd with a USB hard drive connected to back up to. mistral hosts sugarcrm and the database is backed up. cumulus is a NAS without a client and an nfs mount point allows it to be backed up. typhoon Ubuntu machine runs a client and is backed up using the typhoon-fd Both glyn-laptop and colyn-acer-7 are windows laptops and are running clients. Both are backed up during the daytime schedule using the file daemons. >From what you are saying, I don't need multiple catalogs, am I right? I would appreciate a critique of the director.conf which I have pasted below, so I can get Bacula running smoothly. I hope you don't mind pasting such a large lump... # # Default Bacula Director Configuration file # # The only thing that MUST be changed is to add one or more # file or directory names in the Include directive of the # FileSet resource. # # For Bacula release 2.2.8 (26 January 2008) -- debian lenny/sid # # You might also want to change the default email address # from root to your address. See the "mail" and "operator" # directives in the Messages resource. # Director {# define myself Name = mistral-dir DIRport = 9101# where we listen for UA connections QueryFile = "/var/lib/bacula/bin/query.sql" WorkingDirectory = "/var/lib/bacula/bin/working" PidDirectory = "/var/lib/bacula/bin/working" Maximum Concurrent Jobs = 1 Password = "Cv70F6pf1t6pBopT4vQOnigDrR0v3L" # Console password Messages = Daemon DirAddress = mistral.cirrus.co.za } JobDefs { Name = "GlynJob" Type = Backup Level = incremental Client = glyn-laptop-fd FileSet = "Glyn Set" Schedule = "DayTime" Storage = File Messages = Standard Pool = Default Priority = 10 Reschedule on error = yes Reschedule interval = 1 hour Reschedule times = 5 } JobDefs { Name = "ColynJob" Type = Backup Level = Incremental Client = Colyn-Acer-W7-fd FileSet = "Colyn Set" Schedule = "DayTime" Storage = File Messages = Standard Pool = Default Priority = 10 Reschedule on error = yes Reschedule interval = 1 hour Reschedule times = 5 } JobDefs { Name = "CumulusJob" Type = Backup Level = Incremental Client = mistral-fd FileSet = "Cumulus Set" Schedule = "WeeklyCycle" Storage = File Messages = Standard Pool = Default Priority = 10 } JobDefs { Name = "SugarJob" Type = Backup Level = Incremental Client = mistral-fd FileSet = "Sugar Set" Schedule = "WeeklyCycle" Storage = File Messages = Standard Pool = Default Priority = 10 } JobDefs { Name = "TyphoonJob" Type = Backup Level = Incremental Client = typhoon-fd FileSet = "Typhoon Set" Schedule = "WeeklyCycle" Storage = File Messages = Standard Pool = Default Priority = 10 } # # Define the main nightly save backup job # By default, this job will back up to disk in Job { Name = "Sugar" JobDefs = "SugarJob" Write Bootstrap = "/var/lib/bacula/bin/Sugar.bsr" } Job { Name = "Cumulus" JobDefs = "CumulusJob" Write Bootstrap = "/var/lib/bacula/bin/Cumulus.bsr" } Job { Name = "Glyn" JobDefs = "GlynJob" Write Bootstrap = "/var/lib/bacula/bin/Glyn.bsr" } Job { Name = "Colyn" JobDefs = "ColynJob" Write Bootstrap = "/var/lib/bacula/bin/Colyn.bsr" } Job { Name = "Typhoon" JobDefs = "TyphoonJob" Write Bootstrap = "/var/lib/bacula/bin/Typhoon.bsr" } # Backup the catalog database (after the nightly save) Job { Name = "SugarCatalog" JobDefs = "SugarJob" Level = Full FileSet="Catalog" Schedule = "WeeklyCycleAfterBackup" # This creates an ASCII copy of the catalog # WARNING! # Ubuntu uses make_catalog_backup_awk script for # security reasons # Replace with the real Catalog name RunBeforeJob = "/var/lib/bacula/bin/make_catalog_backup bacula bacula" # This deletes the copy of the catalog RunAfterJob = "/var/lib/bacula/bin/delete_catalog_backup" Write Bootstrap = "/var/lib/bacula/bin/SugarBackupCatalog.bsr" Priority = 11 # run after main backup } Job { Name = "CumulusCatalog" JobDefs = "CumulusJob" Level = Full FileSet="Catalog" Schedule = "WeeklyCycleAfterBackup" RunBeforeJob = "/var/lib/bacula/bin/make_catalog_backup bacula bacula" RunAfterJob = "/var/lib/bacula/bin/delete_catalog_backup" Write Bootstrap = "/var/lib/bacula/bin/CumulusBackupCatalog.bsr" Priority = 11 # run after main backup } Job { Name = "ColynCatalog" JobDefs = "ColynJob" Level = Full FileSet="Catalog" Schedule = "DayTimeAfterBackup" RunBeforeJob = "/var/lib/bacula/bin/make_catalog_backup bacula bacula" RunAfterJob = "/var/lib/bacula/bin/delete_catalog_backup" Write Bootstrap = "/var/lib/bacula/bin/ColynBackupCatalog.bsr" Priority = 11 # run after main
[Bacula-users] version 3
Sorry forget this # Backup the catalog database (after the nightly save) Job { Name = "SugarCatalog" JobDefs = "SugarJob" Level = Full FileSet="Catalog" Schedule = "WeeklyCycleAfterBackup" # This creates an ASCII copy of the catalog # WARNING! # Ubuntu uses make_catalog_backup_awk script for # security reasons # Replace with the real Catalog name RunBeforeJob = "/var/lib/bacula/bin/make_catalog_backup bacula bacula" # This deletes the copy of the catalog RunAfterJob = "/var/lib/bacula/bin/delete_catalog_backup" Write Bootstrap = "/var/lib/bacula/bin/SugarBackupCatalog.bsr" Priority = 11 # run after main backup } Job { Name = "CumulusCatalog" JobDefs = "CumulusJob" Level = Full FileSet="Catalog" Schedule = "WeeklyCycleAfterBackup" RunBeforeJob = "/var/lib/bacula/bin/make_catalog_backup bacula bacula" RunAfterJob = "/var/lib/bacula/bin/delete_catalog_backup" Write Bootstrap = "/var/lib/bacula/bin/CumulusBackupCatalog.bsr" Priority = 11 # run after main backup } Job { Name = "ColynCatalog" JobDefs = "ColynJob" Level = Full FileSet="Catalog" Schedule = "DayTimeAfterBackup" RunBeforeJob = "/var/lib/bacula/bin/make_catalog_backup bacula bacula" RunAfterJob = "/var/lib/bacula/bin/delete_catalog_backup" Write Bootstrap = "/var/lib/bacula/bin/ColynBackupCatalog.bsr" Priority = 11 # run after main backup } Job { Name = "GlynCatalog" JobDefs = "GlynJob" Level = Full FileSet="Catalog" Schedule = "DayTimeAfterBackup" RunBeforeJob = "/var/lib/bacula/bin/make_catalog_backup bacula bacula" RunAfterJob = "/var/lib/bacula/bin/delete_catalog_backup" Write Bootstrap = "/var/lib/bacula/bin/GlynBackupCatalog.bsr" Priority = 11 # run after main backup } Job { Name = "TyphoonCatalog" JobDefs = "TyphoonJob" Level = Full FileSet="Catalog" Schedule = "WeeklyCycleAfterBackup" RunBeforeJob = "/var/lib/bacula/bin/make_catalog_backup bacula bacula" RunAfterJob = "/var/lib/bacula/bin/delete_catalog_backup" Write Bootstrap = "/var/lib/bacula/bin/TyphoonBackupCatalog.bsr" Priority = 11 # run after main backup } # +-- |This was sent by g...@cirrus.co.za via Backup Central. |Forward SPAM to ab...@backupcentral.com. +-- -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] version 3
Hi Cedric, IS this what you are looking for? r...@mistral:~# ls -la /var/lib/bacula/bin/bacula.sql -rw-rw-r-- 1 bacula root 0 2009-10-22 08:20 /var/lib/bacula/bin/bacula.sql r...@mistral:~# Cheers and thanks Glyn +-- |This was sent by g...@cirrus.co.za via Backup Central. |Forward SPAM to ab...@backupcentral.com. +-- -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] version 3
When the backup runs I keep getting this error: 22-Oct 09:09 glyn-laptop-fd JobId 161: Could not stat "/var/lib/bacula/bin/bacula.sql": ERR=The system cannot find the path specified. The file exists and is owned by bacula.root and chmod is 664 Why would this happen? This is the backup of the catalog, BTW TIA Glyn +-- |This was sent by g...@cirrus.co.za via Backup Central. |Forward SPAM to ab...@backupcentral.com. +-- -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Configuration problems
I have sort of got bacula running on an Ubuntu 9.04 server but the backups are not doing what I expect. I have read the manual and browsed the forums but I think I am missing something(s). I have an NFS mount point which I can stat (including directories) but when I run a backup job it only backs up a few files instead of the thousands that are there. I have used the onefs=no to try and at least get some sort of back up done (I know it is not recommended) The text file cumulusbup.txt in in the form of /mnt/cumulus/Asterisk /mnt/cumulus/ The configuration is as follows: mistral is the bacula server with director, sd and fd running on it /mnt/bup is a mount point for the usb storage disk (manually mounted so I can change the drive weekly) /mnt/cumulus is a nfs mount point on a NAS (no client) Glyn and Colyn are win 7 clients sugarcrm is a mysql database running on mistral I have taken the liberty of posting the director.conf and would really appreciate it being critiqued. TIA Glyn # # Default Bacula Director Configuration file # # The only thing that MUST be changed is to add one or more # file or directory names in the Include directive of the # FileSet resource. # # For Bacula release 2.2.8 (26 January 2008) -- debian lenny/sid # # You might also want to change the default email address # from root to your address. See the "mail" and "operator" # directives in the Messages resource. # Director {# define myself Name = mistral-dir DIRport = 9101# where we listen for UA connections QueryFile = "/var/lib/bacula/bin/query.sql" WorkingDirectory = "/var/lib/bacula/bin/working" PidDirectory = "/var/lib/bacula/bin/working" Maximum Concurrent Jobs = 1 Password = "Cv70F6pf1t6pBopT4vQOnigDrR0v3L" # Console password Messages = Daemon DirAddress = mistral.cirrus.co.za } JobDefs { Name = "GlynJob" Type = Backup Level = Incremental Client = glyn-laptop-fd FileSet = "Glyn Set" Schedule = "DayTime" Storage = File Messages = Standard Pool = Default Priority = 10 Reschedule on error = yes Reschedule interval = 1 hour Reschedule times = 5 } JobDefs { Name = "ColynJob" Type = Backup Level = Incremental Client = Colyn-Acer-W7-fd FileSet = "Colyn Set" Schedule = "DayTime" Storage = File Messages = Standard Pool = Default Priority = 10 Reschedule on error = yes Reschedule interval = 1 hour Reschedule times = 5 } JobDefs { Name = "CumulusJob" Type = Backup Level = Incremental Client = mistral-fd FileSet = "Cumulus Set" Schedule = "WeeklyCycle" Storage = File Messages = Standard Pool = Default Priority = 10 } JobDefs { Name = "SugarJob" Type = Backup Level = Incremental Client = mistral-fd FileSet = "Sugar Set" Schedule = "WeeklyCycle" Storage = File Messages = Standard Pool = Default Priority = 10 } # # Define the main nightly save backup job # By default, this job will back up to disk in Job { Name = "Sugar" JobDefs = "SugarJob" Write Bootstrap = "/var/lib/bacula/bin/Sugar.bsr" } Job { Name = "Cumulus" JobDefs = "CumulusJob" Write Bootstrap = "/var/lib/bacula/bin/Cumulus.bsr" } Job { Name = "Glyn" JobDefs = "GlynJob" Write Bootstrap = "/var/lib/bacula/bin/Glyn.bsr" } Job { Name = "Colyn" JobDefs = "ColynJob" Write Bootstrap = "/var/lib/bacula/bin/Colyn.bsr" } # Backup the catalog database (after the nightly save) Job { Name = "SugarCatalog" JobDefs = "SugarJob" Level = Full FileSet="Catalog" Schedule = "WeeklyCycleAfterBackup" # This creates an ASCII copy of the catalog # WARNING! # Ubuntu uses make_catalog_backup_awk script for # security reasons # Replace with the real Catalog name # RunBeforeJob = "/usr/bin/awk -f /etc/bacula/scripts/make_catalog_backup_awk -v cat1= "SugarCatalog" /etc/bacula/bacula-dir.conf" # This deletes the copy of the catalog # RunAfterJob = "/etc/bacula/scripts/delete_catalog_backup" Write Bootstrap = "/var/lib/bacula/bin/SugarBackupCatalog.bsr" Priority = 11 # run after main backup } Job { Name = "CumulusCatalog" JobDefs = "CumulusJob" Level = Full FileSet="Catalog" Schedule = "WeeklyCycleAfterBackup" # RunBeforeJob = "/usr/bin/awk -f /etc/bacula/scripts/make_catalog_backup_awk -v cat1= "CumulusCatalog" /etc/bacula/bacula-dir.conf" # RunAfterJob = "/etc/bacula/scripts/delete_catalog_backup" Write Bootstrap = "/var/lib/bacula/bin/CumulsBackupCatalog.bsr" Priority = 11 # run after main backup } Job { Name = "ColynCatalog" JobDefs = "ColynJob" Level = Full FileSet="Catalog" Schedule = "DayTimeAfterBackup" # RunBeforeJob = "/usr/bin/awk -f /etc/bacula/scripts/make_catalog_backup_awk -v cat1= "ColynCatalog" /etc/bacula/bacula-dir.conf" # RunAfterJob = "/etc/bacula/scripts/delete_catalog_backup" Write Bootstrap = "/var/lib/bacula/bin/ColynBackupCatalog.bsr" Priority = 1
[Bacula-users] vchanger script syntax error
I downloaded the vchanger script and when I test it I get this: /etc/bacula/vchanger: 49: Syntax error: "(" unexpected Any ideas as to why? TIA Glyn +-- |This was sent by g...@cirrus.co.za via Backup Central. |Forward SPAM to ab...@backupcentral.com. +-- -- Come build with us! The BlackBerry® Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9-12, 2009. Register now! http://p.sf.net/sfu/devconf ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] 3.0.2 on Ubuntu 8.04 server compile error
Many thanks that did. It is easy when you know how! Thomas-141 wrote: > > Hi Glynd, > > install the openssl-dev package > or use the configure option --with-openssl=no > > Best Regards > > Thomas > > Glynd schrieb: >> I cannot find why I am getting these errors. The only thing odd about the >> installation is that mysql is not in the standard place but i use the >> -with-mysql=dir. >> Here is a snippet of the error but it comes up for sd, fd and director. >> It >> is complaining about -lssl but I have no idea what this is. >> TIA >> Glyn >> >> ==>Entering directory /etc/bacula/bacula-3.0.2/src/dird >> make[1]: Entering directory `/etc/bacula/bacula-3.0.2/src/dird' >> Linking bacula-dir ... >> /etc/bacula/bacula-3.0.2/libtool --silent --tag=CXX --mode=link >> /usr/bin/g++ >> - L../lib -L../cats -L../findlib -o bacula-dir dird.o admin.o >> authenticate.o autop rune.o backup.o bsr.o catreq.o >> dir_plugins.o >> dird_conf.o expand.o fd_cmds.o getm sg.o inc_conf.o job.o >> jobq.o >> migrate.o mountreq.o msgchan.o next_vol.o newvol.opythondir.o >> recycle.o restore.o run_conf.o scheduler.o ua_acl.o ua_cmds.o ua_dot >> >> cmds.o ua_query.o ua_input.o ua_label.o ua_output.o ua_prune.o ua_purge.o >> ua_res tore.o ua_run.o ua_select.o ua_server.o ua_status.o >> ua_tree.o ua_update.o vbacku p.o verify.o \ >> -lbacfind -lbacsql -lbacpy -lbaccfg -lbac -lm >> -L/opt/sugarcrm-5. 2.0h/mysql/lib -lmysqlclient_r -lz -lpthread >> -ldl \ >> -lssl -lcrypto >> /usr/bin/ld: cannot find -lssl >> collect2: ld returned 1 exit status >> make[1]: *** [bacula-dir] Error 1 >> make[1]: Leaving directory `/etc/bacula/bacula-3.0.2/src/dird' >> >> >> == Error in /etc/bacula/bacula-3.0.2/src/dird == >> >> >> ==>Entering directory /etc/bacula/bacula-3.0.2/src/stored >> make[1]: Entering directory `/etc/bacula/bacula-3.0.2/src/stored' >> Linking bacula-sd ... >> /etc/bacula/bacula-3.0.2/libtool --silent --tag=CXX --mode=link >> /usr/bin/g++ >> - L../lib -o bacula-sd stored.o ansi_label.o vtape.o >> autochanger.o >> acquire.o appen d.o askdir.o authenticate.o block.o butil.o >> dev.o >> device.o dircmd.o dvd.o ebcdic .o fd_cmds.o job.o label.o >> lock.o >> mac.o match_bsr.o mount.o parse_bsr.o pythonsd .o read.o >> read_record.o record.o reserve.o scan.o sd_plugins.o spool.o status.o >> >> stored_conf.o vol_mgr.o wait.o \ >>-lbacpy -lbaccfg -lbac -lm -lpthread -ldl \ >> -lssl -lcrypto >> /usr/bin/ld: cannot find -lssl >> collect2: ld returned 1 exit status >> make[1]: *** [bacula-sd] Error 1 >> make[1]: Leaving directory `/etc/bacula/bacula-3.0.2/src/stored' >> >> >> == Error in /etc/bacula/bacula-3.0.2/src/stored == >> >> >> ==>Entering directory /etc/bacula/bacula-3.0.2/src/tools >> make[1]: Entering directory `/etc/bacula/bacula-3.0.2/src/tools' >> /etc/bacula/bacula-3.0.2/libtool --silent --tag=CXX --mode=link >> /usr/bin/g++ >> -L ../lib -o bsmtp bsmtp.o -lbac -lm -lpthread -ldl -lssl >> -lcrypto >> /usr/bin/ld: cannot find -lssl >> collect2: ld returned 1 exit status >> make[1]: *** [bsmtp] Error 1 >> make[1]: Leaving directory `/etc/bacula/bacula-3.0.2/src/tools' >> >> >> == Error in /etc/bacula/bacula-3.0.2/src/tools == >> > > -- > [:O]###[O:] > > -- > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 > 30-Day > trial. Simplify your report design, integration and deployment - and focus > on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > ___ > Bacula-users mailing list > Bacula-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/bacula-users > > -- View this message in context: http://www.nabble.com/3.0.2-on-Ubuntu-8.04-server-compile-error-tp25045141p25057755.html Sent from the Bacula - Users mailing list archive at Nabble.com. -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] 3.0.2 on Ubuntu 8.04 server compile error
I cannot find why I am getting these errors. The only thing odd about the installation is that mysql is not in the standard place but i use the -with-mysql=dir. Here is a snippet of the error but it comes up for sd, fd and director. It is complaining about -lssl but I have no idea what this is. TIA Glyn ==>Entering directory /etc/bacula/bacula-3.0.2/src/dird make[1]: Entering directory `/etc/bacula/bacula-3.0.2/src/dird' Linking bacula-dir ... /etc/bacula/bacula-3.0.2/libtool --silent --tag=CXX --mode=link /usr/bin/g++ - L../lib -L../cats -L../findlib -o bacula-dir dird.o admin.o authenticate.o autop rune.o backup.o bsr.o catreq.o dir_plugins.o dird_conf.o expand.o fd_cmds.o getm sg.o inc_conf.o job.o jobq.o migrate.o mountreq.o msgchan.o next_vol.o newvol.opythondir.o recycle.o restore.o run_conf.o scheduler.o ua_acl.o ua_cmds.o ua_dot cmds.o ua_query.o ua_input.o ua_label.o ua_output.o ua_prune.o ua_purge.o ua_res tore.o ua_run.o ua_select.o ua_server.o ua_status.o ua_tree.o ua_update.o vbacku p.o verify.o \ -lbacfind -lbacsql -lbacpy -lbaccfg -lbac -lm -L/opt/sugarcrm-5. 2.0h/mysql/lib -lmysqlclient_r -lz -lpthread -ldl \ -lssl -lcrypto /usr/bin/ld: cannot find -lssl collect2: ld returned 1 exit status make[1]: *** [bacula-dir] Error 1 make[1]: Leaving directory `/etc/bacula/bacula-3.0.2/src/dird' == Error in /etc/bacula/bacula-3.0.2/src/dird == ==>Entering directory /etc/bacula/bacula-3.0.2/src/stored make[1]: Entering directory `/etc/bacula/bacula-3.0.2/src/stored' Linking bacula-sd ... /etc/bacula/bacula-3.0.2/libtool --silent --tag=CXX --mode=link /usr/bin/g++ - L../lib -o bacula-sd stored.o ansi_label.o vtape.o autochanger.o acquire.o appen d.o askdir.o authenticate.o block.o butil.o dev.o device.o dircmd.o dvd.o ebcdic .o fd_cmds.o job.o label.o lock.o mac.o match_bsr.o mount.o parse_bsr.o pythonsd .o read.o read_record.o record.o reserve.o scan.o sd_plugins.o spool.o status.o stored_conf.o vol_mgr.o wait.o \ -lbacpy -lbaccfg -lbac -lm -lpthread -ldl \ -lssl -lcrypto /usr/bin/ld: cannot find -lssl collect2: ld returned 1 exit status make[1]: *** [bacula-sd] Error 1 make[1]: Leaving directory `/etc/bacula/bacula-3.0.2/src/stored' == Error in /etc/bacula/bacula-3.0.2/src/stored == ==>Entering directory /etc/bacula/bacula-3.0.2/src/tools make[1]: Entering directory `/etc/bacula/bacula-3.0.2/src/tools' /etc/bacula/bacula-3.0.2/libtool --silent --tag=CXX --mode=link /usr/bin/g++ -L ../lib -o bsmtp bsmtp.o -lbac -lm -lpthread -ldl -lssl -lcrypto /usr/bin/ld: cannot find -lssl collect2: ld returned 1 exit status make[1]: *** [bsmtp] Error 1 make[1]: Leaving directory `/etc/bacula/bacula-3.0.2/src/tools' == Error in /etc/bacula/bacula-3.0.2/src/tools == -- View this message in context: http://www.nabble.com/3.0.2-on-Ubuntu-8.04-server-compile-error-tp25045141p25045141.html Sent from the Bacula - Users mailing list archive at Nabble.com. -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users