Re: [Bacula-users] Director with 3 dedicated storage servers
On Jun 25, 2011, at 9:13 AM, xunil321 wrote: Dear all, we want to setup Bacula 5.0.3 under SLES 11 SP1 in the following way: 1x Director and three DEDICATED SD servers (each system has 6TB disk storage and one LTO-4 tape autochanger). We learnt from this list that this separation can be done ie director and sd can live on different machines. But we are not sure about these mechanism: - to use the file storage of our 3 SD servers the director has to mount by NFS these filesystems for the backup, right? No. The SD mounts the remote storage. Not the Director. I think you need to read more about what each Bacula daemon does. The FD sends backups to the SD, not the Dir. - how does have the director access to the LTO-4 tape of our 3 SD servers ie from where does it know the location of the autochanger It does not need access. The SD needs access. Also, I suspect the tape will be used by only one SD. - how to we have to configure/compile Bacula 5.0.3 for the DEDICATED SD servers ie with the same options as we did it for the director? You... do it. I do not understand the question. What problem are you having? -- Dan Langille - http://langille.org -- 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-d2d-c2 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] configure bacula on debian
Hi, I've been having some real problems installing and setting up Bacula for the first time in our organization. I'm trying to get it up and running locally before tackling the issue of a network backup. I've tried to follow the guide as much as possible, but sometimes, I can't make head or tails of it. So far I have the following when I run BConsole: [Emphasis between *** is mine] Enter a period to cancel a command. *message 19-Jun 13:05 jrcb01-dir JobId 11: No prior Full backup Job record found. 19-Jun 13:05 jrcb01-dir JobId 11: No prior or suitable Full backup found in catalog. Doing FULL backup. 19-Jun 20:05 jrcb01-sd JobId 3: Job BackupClient1.2011-06-15_13.05.00_06 is waiting. ***Cannot find any appendable volumes.*** Please use the label command to create a new Volume for: Storage: FileStorage (/etc/test) Pool: File Media type: File And here's my Bacula-dir.conf [Bacula-dir.conf] Director {# define myself Name = jrcb01-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 = 1 Password = Cv70F6pf1t6pBopT4vQOnigDrR0v3L # Console password Messages = Daemon DirAddress = 127.0.0.1 } JobDefs { Name = DefaultJob Type = Backup Level = Incremental Client = jrcb01-fd FileSet = Full Set Schedule = WeeklyCycle Storage = File Messages = Standard Pool = File Priority = 10 Write Bootstrap = /var/lib/bacula/%c.bsr } # Backup the catalog database (after the nightly save) Job { Name = BackupCatalog JobDefs = DefaultJob Level = Full FileSet=Catalog Schedule = WeeklyCycleAfterBackup # This creates an ASCII copy of the catalog # Arguments to make_catalog_backup.pl are: # make_catalog_backup.pl catalog-name 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 } # # Standard Restore template, to be changed by Console program # Only one such job is needed for all Jobs/Clients/Storage ... # Job { Name = RestoreFiles Type = Restore Client=jrcb01-fd FileSet=Full Set Storage = File Pool = Default Messages = Standard Where = /etc/test } FileSet { Name = Full Set Include { Options { signature = MD5 } File = /usr/sbin } FileSet { Name = Catalog Include { Options { signature = MD5 } File = /var/lib/bacula/bacula.sql } } # Client (File Services) to backup Client { Name = jrcb01-fd Address = localhost FDPort = 9102 Catalog = MyCatalog Password = wtwR0bXpSeVyWZ91PQrPeg33yF9AVeQjs # password for FileDaemon File Retention = 30 days# 30 days Job Retention = 6 months# six months AutoPrune = yes # Prune expired Jobs/Files } [/Bacula-dir.conf] This is on a Debian Squeeze (6.0) thanks.-- 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-d2d-c2___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] configure bacula on debian
Am 26.06.2011 14:07, schrieb husam Al-khalili: 19-Jun 20:05 jrcb01-sd JobId 3: Job BackupClient1.2011-06-15_13.05.00_06 is waiting. ***Cannot find any appendable volumes.*** Please use the label command to create a new Volume for: Storage: FileStorage (/etc/test) Pool: File Media type: File Did you already try the label command to create a new volume, as advised by the error message? Best regards Ansgar -- 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-d2d-c2___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] configure bacula on debian
On 6/26/11 5:07 AM, husam Al-khalili wrote: Hi, I've been having some real problems installing and setting up Bacula for the first time in our organization. I'm trying to get it up and running locally before tackling the issue of a network backup. I've tried to follow the guide as much as possible, but sometimes, I can't make head or tails of it. So far I have the following when I run BConsole: [Emphasis between *** is mine] Enter a period to cancel a command. *message 19-Jun 13:05 jrcb01-dir JobId 11: No prior Full backup Job record found. 19-Jun 13:05 jrcb01-dir JobId 11: No prior or suitable Full backup found in catalog. Doing FULL backup. 19-Jun 20:05 jrcb01-sd JobId 3: Job BackupClient1.2011-06-15_13.05.00_06 is waiting. ***Cannot find any appendable volumes.*** Please use the label command to create a new Volume for: Storage: FileStorage (/etc/test) Pool: File Media type: File Husam, Go ahead and do what bconsole asks, run the label command and create a new volume. Call it testvolume or something. Then run a backup. You are 95% there. Mehma -- 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-d2d-c2___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] configure bacula on debian
On Jun 26, 2011, at 8:07 AM, husam Al-khalili wrote: Hi, I've been having some real problems installing and setting up Bacula for the first time in our organization. I'm trying to get it up and running locally before tackling the issue of a network backup. I've tried to follow the guide as much as possible, but sometimes, I can't make head or tails of it. So far I have the following when I run BConsole: [Emphasis between *** is mine] Enter a period to cancel a command. *message 19-Jun 13:05 jrcb01-dir JobId 11: No prior Full backup Job record found. 19-Jun 13:05 jrcb01-dir JobId 11: No prior or suitable Full backup found in catalog. Doing FULL backup. 19-Jun 20:05 jrcb01-sd JobId 3: Job BackupClient1.2011-06-15_13.05.00_06 is waiting. ***Cannot find any appendable volumes.*** Please use the label command to create a new Volume for: Storage: FileStorage (/etc/test) Pool: File Media type: File And here's my Bacula-dir.conf Do as the others have suggested. Label a volume. Let the backup run . I suspect, that eventually, you'll want to let Bacula automatically create volumes and label them. There are two directives you need to add. One is LabelFormat, in the Pool definition. The other is in the Device in bacula-sd.conf: LabelMedia = yes The first defines the format for the label. The other enables a particular device to automatically label. http://www.bacula.org/5.0.x-manuals/en/main/main/Configuring_Director.html#9294 http://www.bacula.org/5.0.x-manuals/en/main/main/Storage_Daemon_Configuratio.html#SECTION00203 [Bacula-dir.conf] Director {# define myself Name = jrcb01-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 = 1 Password = Cv70F6pf1t6pBopT4vQOnigDrR0v3L # Console password Messages = Daemon DirAddress = 127.0.0.1 } JobDefs { Name = DefaultJob Type = Backup Level = Incremental Client = jrcb01-fd FileSet = Full Set Schedule = WeeklyCycle Storage = File Messages = Standard Pool = File Priority = 10 Write Bootstrap = /var/lib/bacula/%c.bsr } # Backup the catalog database (after the nightly save) Job { Name = BackupCatalog JobDefs = DefaultJob Level = Full FileSet=Catalog Schedule = WeeklyCycleAfterBackup # This creates an ASCII copy of the catalog # Arguments to make_catalog_backup.pl are: # make_catalog_backup.pl catalog-name 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 } # # Standard Restore template, to be changed by Console program # Only one such job is needed for all Jobs/Clients/Storage ... # Job { Name = RestoreFiles Type = Restore Client=jrcb01-fd FileSet=Full Set Storage = File Pool = Default Messages = Standard Where = /etc/test } FileSet { Name = Full Set Include { Options { signature = MD5 } File = /usr/sbin } FileSet { Name = Catalog Include { Options { signature = MD5 } File = /var/lib/bacula/bacula.sql } } # Client (File Services) to backup Client { Name = jrcb01-fd Address = localhost FDPort = 9102 Catalog = MyCatalog Password = wtwR0bXpSeVyWZ91PQrPeg33yF9AVeQjs # password for FileDaemon File Retention = 30 days# 30 days Job Retention = 6 months# six months AutoPrune = yes # Prune expired Jobs/Files } [/Bacula-dir.conf] This is on a Debian Squeeze (6.0) thanks. -- 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-d2d-c2___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users -- Dan Langille - http://langille.org -- 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-d2d-c2___ Bacula-users mailing
[Bacula-users] It's Sunday!
Hello folks, It's Sunday. And I realized Are my differential backups done? Of course they are. It says so right here: https://services.unixathome.org/bacula/ See that ETU092? Yes, there's all my differentials from today. All neatly backed up to disk and then copied over to tape. Why do I mention it? Because from time to time, I forget that Bacula is running and doing this stuff. -- Dan Langille - http://langille.org -- 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-d2d-c2 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Problems backing up to disk
I have a little more information. I have two storage locations configured, both set up to automatically label and recycle. The problem seems to come because it goes looking for a volume that was automatically labeled in one storage location, but it expects to find it in the other storage location. Some relevant bits from the log: 26-Jun 00:34 debian-dir JobId 1413: Recycled volume Inc-0011 26-Jun 00:34 debian-sd JobId 1413: Labeled new Volume Inc-0011 on device FileDisk2 (/disk2). 26-Jun 00:34 debian-sd JobId 1413: Wrote label to prelabeled Volume Inc-0011 on device FileDisk2 (/disk2) ... then did a backup to this volume successfully: Build OS: i686-pc-linux-gnu debian 5.0.7 JobId: 1413 Job:BackupAirplane.2011-06-25_23.05.01_12 Backup Level: Incremental, since=2011-05-20 23:37:42 Client: airplane-fd 5.0.3 (04Aug10) Linux,Cross-compile,Win32 FileSet:Windows Full Set 2010-12-27 23:05:01 Pool: Inc-Pool (From Job IncPool override) Catalog:MyCatalog (From Client resource) Storage:StoreFile2 (From Job resource) Scheduled time: 25-Jun-2011 23:05:01 Start time: 26-Jun-2011 00:33:59 End time: 26-Jun-2011 02:54:03 Elapsed time: 2 hours 20 mins 4 secs Priority: 10 FD Files Written: 5,600 SD Files Written: 5,600 FD Bytes Written: 66,718,341,759 (66.71 GB) SD Bytes Written: 66,719,451,564 (66.71 GB) Rate: 7938.9 KB/s Software Compression: None VSS:yes Encryption: no Accurate: no Volume name(s): Inc-0011 Volume Session Id: 6 Volume Session Time:1309030821 Last Volume Bytes: 66,769,096,562 (66.76 GB) Non-fatal FD errors:2 SD Errors: 0 FD termination status: OK SD termination status: OK Termination:Backup OK -- with warnings ... then for some reason it goes looking for this same volume in the other storage location. I can't find it, and sets the status to Error and moves on to recycle a different volume: 26-Jun 02:57 debian-dir JobId 1411: Using Device FileDisk1 26-Jun 02:59 joycelatitude-fd JobId 1411: DIR and FD clocks differ by 67 seconds, FD automatically compensating. 26-Jun 02:57 debian-sd JobId 1411: Warning: Volume Inc-0011 not on device FileDisk1 (/disk1). 26-Jun 02:57 debian-sd JobId 1411: Marking Volume Inc-0011 in Error in Catalog. 26-Jun 02:57 debian-sd JobId 1411: Warning: Volume Inc-0011 not on device FileDisk1 (/disk1). 26-Jun 02:57 debian-sd JobId 1411: Marking Volume Inc-0011 in Error in Catalog. 26-Jun 02:57 debian-sd JobId 1411: Warning: mount.c:217 Open device FileDisk1 (/disk1) Volume Inc-0011 failed: ERR=dev.c:549 Could not open: /disk1/Inc-0011, ERR=No such file or directory 26-Jun 02:57 debian-dir JobId 1411: Recycled volume Inc-0013 26-Jun 02:57 debian-sd JobId 1411: Labeled new Volume Inc-0013 on device FileDisk1 (/disk1). 26-Jun 02:57 debian-sd JobId 1411: Wrote label to prelabeled Volume Inc-0013 on device FileDisk1 (/disk1) The net result is that each volume is used for a while, then set to Error status before it fills up or gets to max jobs or something else that might trigger recycling. If I leave it unattended it wastes all the volumes in this fashion and they can't be automatically recycled no matter how old they get. Mike +-- |This was sent by m...@mwilt.org 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-d2d-c2 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Problems backing up to disk
Hello, 2011/6/27 mikewilt bacula-fo...@backupcentral.com I have a little more information. I have two storage locations configured, both set up to automatically label and recycle. The problem seems to come because it goes looking for a volume that was automatically labeled in one storage location, but it expects to find it in the other storage location. Some relevant bits from the log: (...) ... then for some reason it goes looking for this same volume in the other storage location. I can't find it, and sets the status to Error and moves on to recycle a different volume: What are your Media Type parameters defined for: FileDisk1 and FileDisk2 in bacula-sd.conf? best regards -- Radosław Korzeniewski rados...@korzeniewski.net -- 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-d2d-c2___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Pool strategies
Hi guys, I'm currently setting up a new Bacula environment and I thought I would get some different patterns of thought before i start the implementation. :) The plan is pretty simple, I need to keep some of my backups for 2 weeks, others for 2 months for example. My thought was to create pools for each timespan with matching volume retention, as in pool-full-2week, pool-inc-2week, pool-full-2month, etc. and assign jobs to the corresponding pools. I just wanted to see what some of you with similar needs did to setup his system, to mitigate false assumptions. Amaze me! ;) Thanks a lot for your feedback! Kind regards, Bart -- 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-d2d-c2 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Problems backing up to disk
Media Type = File Same for both storage daemons. Mike +-- |This was sent by m...@mwilt.org 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-d2d-c2 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users