Re: [Bacula-users] Job gets stuck running a script before the actual job
Hello, again. Sadly no progress on my end so far. I forgot to mention that I have Bacula running on Ubuntu 14.04. Not sure if that is important. Regards, Florian Splett Am 28.06.2016 um 13:00 schrieb Florian Splett: Hello, Bacula Community. I am currently working on a setup to have Bacula write backups to a folder mounted over a VPN connection. To accomplish this I created 2 scripts to run before and after the backup job: First Script sets up openVPN connection and mounts the folder Second script unmounts the folder and kills the VPN connection. The problem is that the bacula job simply gets stuck during the first script and does not continue. This goes to the point where I can't cancel the job and have to restart the director. The File deamon is not contacted while the job is stuck. It is not an issue with permissions. My bacula user received sudo rights to execute the scripts. Also the script runs perfectly fine when used outside of the bacula job. Does anyone have an idea what may cause this deadlock? I am using Bacula 7.0.5 by the way. Here are the job definition and scripts: Job { Name = "Backup_Remote" Client = Server1_fd Type = Backup Level = Full storage = Storage_Remote pool = Pool_Remote FileSet = "Remote" schedule = "VPNCycle" RunBeforeJob = "sudo /etc/bacula/openvpn-client-start.sh" RunAfterJob = "sudo /etc/bacula/openvpn-client-stop.sh" messages = Standard Priority = 50 } _openvpn-client-start.sh_ #!/bin/bash openvpn --config /etc/openvpnconfig/openvpn.ovpn --auth-nocache --auth-retry none --replay-window 128 30 & pid=$! sleep 5s if mountpoint -q /mnt/remote; then exit 0 else mount /mnt/remote fi _openvpn-client-stop.sh_ #!/bin/bash kill $pid umount /mnt/remote Regards, Florian Splett -- Attend Shape: An AT Tech Expo July 15-16. Meet us at AT Park in San Francisco, CA to explore cutting-edge tech and listen to tech luminaries present their vision of the future. This family event has something for everyone, including kids. Get more information and register today. http://sdm.link/attshape ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users -- Attend Shape: An AT Tech Expo July 15-16. Meet us at AT Park in San Francisco, CA to explore cutting-edge tech and listen to tech luminaries present their vision of the future. This family event has something for everyone, including kids. Get more information and register today. http://sdm.link/attshape___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Job gets stuck running a script before the actual job
Hello, Bacula Community. I am currently working on a setup to have Bacula write backups to a folder mounted over a VPN connection. To accomplish this I created 2 scripts to run before and after the backup job: First Script sets up openVPN connection and mounts the folder Second script unmounts the folder and kills the VPN connection. The problem is that the bacula job simply gets stuck during the first script and does not continue. This goes to the point where I can't cancel the job and have to restart the director. The File deamon is not contacted while the job is stuck. It is not an issue with permissions. My bacula user received sudo rights to execute the scripts. Also the script runs perfectly fin when used outside of the bacula job. Does anyone have an idea what may cause this deadlock? I am using Bacula 7.0.5 by the way. Here are the job definition and scripts: Job { Name = "Backup_Remote" Client = Server1_fd Type = Backup Level = Full storage = Storage_Remote pool = Pool_Remote FileSet = "Remote" schedule = "VPNCycle" RunBeforeJob = "sudo /etc/bacula/openvpn-client-start.sh" RunAfterJob = "sudo /etc/bacula/openvpn-client-stop.sh" messages = Standard Priority = 50 } _openvpn-client-start.sh_ #!/bin/bash openvpn --config /etc/openvpnconfig/openvpn.ovpn --auth-nocache --auth-retry none --replay-window 128 30 & pid=$! sleep 5s if mountpoint -q /mnt/remote; then exit 0 else mount /mnt/remote fi _openvpn-client-stop.sh_ #!/bin/bash kill $pid umount /mnt/remote Regards, Florian Splett -- Attend Shape: An AT Tech Expo July 15-16. Meet us at AT Park in San Francisco, CA to explore cutting-edge tech and listen to tech luminaries present their vision of the future. This family event has something for everyone, including kids. Get more information and register today. http://sdm.link/attshape___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] How to properly remove volumes in regards to the catalog?
Hello. I am sorry, but this is actually not at all, what I want. I took some time to think about how to explain all this better... So I have two drives: and I am using a shell script to create a new Volume on every month. This script is executed by a bacula job. has run out of space now, so I need to move the existing volumes to , i.e. I do not want to keep the same backups on both drives. So corresponding to previous replies I got, I created migration jobs and pools / storages for them. I tried the job for one of my Clients. *Actual Result*: still has Volumes , , etc. has 1 single Volume Catalog references *Desired Result*: only has the currently active Volume left: has the remaining Volumes in the same structure they were before: , , etc. Catalog references , , etc. on and on So the questions are... 1. In the *actual result * is still full. Can I simply remove the volumes that are no longer referenced by the Catalog? 2. Is there any way for me to achieve the *desired result* with the job configuration or is an SQL script required? Again, thank you very much for taking your time to help. Regards, Florian S. Am 19.05.2016 um 16:18 schrieb Wanderlei Huttel: I understood that you want to keep both backups (default drive 1 year retention and external drive 5 years retention) I guess the best way is to use Copy Jobs. *Type = Copy* "Copy is a new type that defines the job that is run as being a Copy Job. A Copy Job is a sort of control job and does not have any Files associated with it, and in that sense they are more or less like an Admin job. Copy jobs simply check to see if there is anything to Copy then possibly start and control new Backup jobs to copy the data from the specified Pool to another Pool. Note that when a copy is made, the original JobIds are left unchanged. The new copies can not be used for restoration unless you specifically choose them by JobId. If you subsequently delete a JobId that has a copy, the copy will be automatically upgraded to a Backup rather than a Copy, and it will subsequently be used for restoration." I guess this will help you. Just change "Type = Migration" to "Type = Copy" Is interesting to use at least 7.0 bacula version because has a lot of improvements Best Regards *Wanderlei Hüttel* http://www.huttel.com.br 2016-05-19 10:42 GMT-03:00 Florian Splett <florian.spl...@web.de <mailto:florian.spl...@web.de>>: Hello. I see that I did not use "Purge Migration Job = yes", That should explain, while the old volumes still exist fully. Sorry for the very rough question. I will try to make the scenario a bit more understandable: On the hard drive we have on site, a new volume is created every month, starting with a full backup, so that we always need just one volume for any restore process. I would like to keep this seperation when migrating the volumes to an external drive. I do not know how to do it without creating several jobs though. Each Volume has a different size, so "Maximum Volume Bytes" is not an option. Here is an example job and pool: Job { Name = "Migrate-WS-003" Type = Migrate Client = ubuntu_fd FileSet = None Level = Full Messages = Standard Storage = Storage_WS-003 Pool = Pool_WS-003 Write bootstrap = "/mnt/removableDrive/WS-003/bootstrap_%c.bsr" Selection Type = Client Selection Pattern = "WS-003_fd" Reschedule On Error = no } Pool { Name = External_WS-003 Pool Type = Backup Recycle = no AutoPrune = no Volume Retention = 5 year Storage = RemovableStorage_WS-003 } Pool { Name = Pool_WS-003 Pool Type = Backup Recycle = no AutoPrune = no Volume Retention = 1 year Label Format = "WS003-Volume" Next Pool = External_WS-003 } Regards, Florian S. Am 19.05.2016 um 15:28 schrieb Wanderlei Huttel: What exactly you want? Your question is not so clear. If you have 5 old volumes in one pool and you want to move this old volumes to another pool you can use a migration job. Job{ Name = "Migration_Job" Type = Migrate JobDefs = "Backup_Defaults" Client = srv_bacula-fd FileSet = "FileSet_SRV_Bacula" Pool = "Pool-Old" NextPool = "Pool-New" Selection Type = SqlQuery Selection Pattern = "select distinct JobId from JobMedia where MediaId in (select MediaId from Media where VolumeName like 'Volume-Name-%');" Purge Migration Job = yes Enabled = no } Pool{ Name = "Pool-Old"
Re: [Bacula-users] How to properly remove volumes in regards to the catalog?
Hello. I see that I did not use "Purge Migration Job = yes", That should explain, while the old volumes still exist fully. Sorry for the very rough question. I will try to make the scenario a bit more understandable: On the hard drive we have on site, a new volume is created every month, starting with a full backup, so that we always need just one volume for any restore process. I would like to keep this seperation when migrating the volumes to an external drive. I do not know how to do it without creating several jobs though. Each Volume has a different size, so "Maximum Volume Bytes" is not an option. Here is an example job and pool: Job { Name = "Migrate-WS-003" Type = Migrate Client = ubuntu_fd FileSet = None Level = Full Messages = Standard Storage = Storage_WS-003 Pool = Pool_WS-003 Write bootstrap = "/mnt/removableDrive/WS-003/bootstrap_%c.bsr" Selection Type = Client Selection Pattern = "WS-003_fd" Reschedule On Error = no } Pool { Name = External_WS-003 Pool Type = Backup Recycle = no AutoPrune = no Volume Retention = 5 year Storage = RemovableStorage_WS-003 } Pool { Name = Pool_WS-003 Pool Type = Backup Recycle = no AutoPrune = no Volume Retention = 1 year Label Format = "WS003-Volume" Next Pool = External_WS-003 } Regards, Florian S. Am 19.05.2016 um 15:28 schrieb Wanderlei Huttel: What exactly you want? Your question is not so clear. If you have 5 old volumes in one pool and you want to move this old volumes to another pool you can use a migration job. Job{ Name = "Migration_Job" Type = Migrate JobDefs = "Backup_Defaults" Client = srv_bacula-fd FileSet = "FileSet_SRV_Bacula" Pool = "Pool-Old" NextPool = "Pool-New" Selection Type = SqlQuery Selection Pattern = "select distinct JobId from JobMedia where MediaId in (select MediaId from Media where VolumeName like 'Volume-Name-%');" Purge Migration Job = yes Enabled = no } Pool{ Name = "Pool-Old" Pool Type = Backup Autoprune = yes LabelFormat = "Volume-Name-${NumVols}" Maximum Volume Bytes = 10Gb Maximum Volumes = 100 NextPool = "Pool-New" Storage = StorageLocal } Best Regards *Wanderlei Hüttel* http://www.huttel.com.br 2016-05-19 10:14 GMT-03:00 Florian Splett <florian.spl...@web.de <mailto:florian.spl...@web.de>>: Hello, again. As a quick additional question: I used to create one volume per month, starting with a full backup. Is there any way how I can migrate the data to create the exact same structure? E.g. 5 old volumes = 5 new volumes Regards, Florian S. Am 19.05.2016 um 14:20 schrieb Florian Splett: > Hello. > > After a lot of preparing the migration of the first set of data with > migration jobs went smoothly. > The size matches and when doing a restore the new volume is addressed. > > I noticed that the old volumes still exist though. > Can I remove them now? > If so: Is the delete option okay (via bat) or should I purge them first? > I just want to be sure I don't cause any problems. > > Regards, > > Florian S. > > -- > Mobile security can be enabling, not merely restricting. Employees who > bring their own devices (BYOD) to work are irked by the imposition of MDM > restrictions. Mobile Device Manager Plus allows you to control only the > apps on BYO-devices by containerizing them, leaving personal data untouched! > https://ad.doubleclick.net/ddm/clk/304595813;131938128;j > ___ > Bacula-users mailing list > Bacula-users@lists.sourceforge.net <mailto:Bacula-users@lists.sourceforge.net> > https://lists.sourceforge.net/lists/listinfo/bacula-users -- Mobile security can be enabling, not merely restricting. Employees who bring their own devices (BYOD) to work are irked by the imposition of MDM restrictions. Mobile Device Manager Plus allows you to control only the apps on BYO-devices by containerizing them, leaving personal data untouched! https://ad.doubleclick.net/ddm/clk/304595813;131938128;j ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net <mailto:Bacula-users@lists.sourceforge.net> https://lists.sourceforge.net/lists/listinfo/bacula-users --
Re: [Bacula-users] How to properly remove volumes in regards to the catalog?
Hello, again. As a quick additional question: I used to create one volume per month, starting with a full backup. Is there any way how I can migrate the data to create the exact same structure? E.g. 5 old volumes = 5 new volumes Regards, Florian S. Am 19.05.2016 um 14:20 schrieb Florian Splett: > Hello. > > After a lot of preparing the migration of the first set of data with > migration jobs went smoothly. > The size matches and when doing a restore the new volume is addressed. > > I noticed that the old volumes still exist though. > Can I remove them now? > If so: Is the delete option okay (via bat) or should I purge them first? > I just want to be sure I don't cause any problems. > > Regards, > > Florian S. > > -- > Mobile security can be enabling, not merely restricting. Employees who > bring their own devices (BYOD) to work are irked by the imposition of MDM > restrictions. Mobile Device Manager Plus allows you to control only the > apps on BYO-devices by containerizing them, leaving personal data untouched! > https://ad.doubleclick.net/ddm/clk/304595813;131938128;j > ___ > Bacula-users mailing list > Bacula-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/bacula-users -- Mobile security can be enabling, not merely restricting. Employees who bring their own devices (BYOD) to work are irked by the imposition of MDM restrictions. Mobile Device Manager Plus allows you to control only the apps on BYO-devices by containerizing them, leaving personal data untouched! https://ad.doubleclick.net/ddm/clk/304595813;131938128;j ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] How to properly remove volumes in regards to the catalog?
Hello. After a lot of preparing the migration of the first set of data with migration jobs went smoothly. The size matches and when doing a restore the new volume is addressed. I noticed that the old volumes still exist though. Can I remove them now? If so: Is the delete option okay (via bat) or should I purge them first? I just want to be sure I don't cause any problems. Regards, Florian S. -- Mobile security can be enabling, not merely restricting. Employees who bring their own devices (BYOD) to work are irked by the imposition of MDM restrictions. Mobile Device Manager Plus allows you to control only the apps on BYO-devices by containerizing them, leaving personal data untouched! https://ad.doubleclick.net/ddm/clk/304595813;131938128;j ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] How to properly remove volumes in regards to the catalog?
Hello and sorry for the late response. I just wanted to thank you for all the information. Definitely helped me decide on how to approach the issue. Regards, Florian S. Am 28.04.2016 um 13:04 schrieb Wanderlei Huttel: Hello Florian 2016-04-28 5:47 GMT-03:00 Florian Splett <florian.spl...@web.de <mailto:florian.spl...@web.de>>: Hello, bacula community. The harddrive my bacula system is using to store its volumes is reaching its maximum capacity, so I had the following plan for my network: I want to manually move the old volumes onto an external harddrive and keep that somewhere else. Now what i want to ask is: Does this cause complications with the catalog? It depends if they will be recycle soon or not I guess so, since the volumes will be just gone. Can I somehow tell the catalog that the volumes should be marked as "unavailable" or something like that? You can update Volume Status and set to "Archive" or "Disabled" *update 1: Volume parameters 1: Volume Status ...or is it in fact perfectly fine to just remove those volumes? Or you could create another Storage Resource in bacula-dir.conf and new Device in bacula-sd.conf and use this external harddrive as a Storage. Move those Volumes to the external harddrive. Get StorageId from New Storage: *sqlquery Entering SQL query mode. Terminate each query with a semicolon. Terminate query mode with a blank line. Enter SQL query: select StorageID, Name, Autochanger from Storage; +---+---+-+ | StorageID | Name | Autochanger | +---+---+-+ | 1 | StorageLocal1 | 0 | | 3 | StorageLocal2 | 0 | +---+---+-+ Use this below sql to get information about Volumes x Pool x Storage select M.MediaId, M.VolumeName, M.StorageId, S.Name, M.PoolId, P.Name from Media M left join Storage S on (M.StorageId = S.StorageId) left join Pool P on (M.PoolId = P.PoolId) order by M.VolumeName; *sqlquery Entering SQL query mode. Terminate each query with a semicolon. Terminate query mode with a blank line. Enter SQL query: select M.MediaId, M.VolumeName, M.StorageId, S.Name, M.PoolId, P.Name from Media M left join Storage S on (M.StorageId = S.StorageId) left join Pool P on (M.PoolId = P.PoolId) orde; by M.VolumeNam +-+-+---+---++-+ | MediaId | VolumeName | StorageId | Name | PoolId | Name| +-+-+---+---++-+ | 36 | Volume-Diario-0001 | 1 | StorageLocal1 |6 | Diaria | | 51 | Volume-Diario-0002 | 1 | StorageLocal1 |6 | Diaria | | 74 | Volume-Diario-0003 | 1 | StorageLocal1 |6 | Diaria | | 89 | Volume-Diario-0004 | 1 | StorageLocal1 |6 | Diaria | | 96 | Volume-Diario-0005 | 1 | StorageLocal1 |6 | Diaria | | 97 | Volume-Diario-0006 | 1 | StorageLocal1 |6 | Diaria | | 98 | Volume-Diario-0007 | 1 | StorageLocal1 |6 | Diaria | ... Update the volumes that you have moved to external hard drive to NewStorage (change StorageId). *sqlquery update Media set StorageId = 3 where PoolId = 6; # Move all volumes from a Pool or *sqlquery update Media set StorageId = 3 where MediaId in (36,51,74,89,96); I guess this can help you. Best Regards *Wanderlei Hüttel* http://www.huttel.com.br <http://www.huttel.com.br/> Regards, Florian S. -- Find and fix application performance issues faster with Applications Manager Applications Manager provides deep performance insights into multiple tiers of your business applications. It resolves application problems quickly and reduces your MTTR. Get your free trial! https://ad.doubleclick.net/ddm/clk/302982198;130105516;z ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net <mailto:Bacula-users@lists.sourceforge.net> https://lists.sourceforge.net/lists/listinfo/bacula-users -- Find and fix application performance issues faster with Applications Manager Applications Manager provides deep performance insights into multiple tiers of your business applications. It resolves application problems quickly and reduces your MTTR. Get your free trial! https://ad.doubleclick.net/ddm/clk/302982198;130105516;z ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users ---
[Bacula-users] How to properly remove volumes in regards to the catalog?
Hello, bacula community. The harddrive my bacula system is using to store its volumes is reaching its maximum capacity, so I had the following plan for my network: I want to manually move the old volumes onto an external harddrive and keep that somewhere else. Now what i want to ask is: Does this cause complications with the catalog? I guess so, since the volumes will be just gone. Can I somehow tell the catalog that the volumes should be marked as "unavailable" or something like that? ...or is it in fact perfectly fine to just remove those volumes? Regards, Florian S. -- Find and fix application performance issues faster with Applications Manager Applications Manager provides deep performance insights into multiple tiers of your business applications. It resolves application problems quickly and reduces your MTTR. Get your free trial! https://ad.doubleclick.net/ddm/clk/302982198;130105516;z ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Do TLS options work without openssl configuration during installation?
Thank you for your input. I am a bit unsure wether or not the TLS options will work, so I might prepare a vpn connection instead through which bacula can send the files. Regards, Florian S. Am 03.03.2016 um 11:48 schrieb Alex Domoradov: But at the same time it seems that openssl enabled by default at least if the bacula can find headers and libraries # ./configure --prefix=/opt/bacula-7.4.0 --with-postgresql=/usr/pgsql-9.4/ --with-mysql --enable-acl --with-tcp-wrappers --with-sqlite3 ... Large file support: yes Bacula conio support: yes -ltinfo readline support: no TCP Wrappers support: yes -lwrap * TLS support: yes* Encryption support: yes ZLIB support: yes LZO support: yes So I think you should use option --with-openssl only if you have installed openssl from source On Thu, Mar 3, 2016 at 12:41 PM, Alex Domoradov <alex@gmail.com <mailto:alex@gmail.com>> wrote: AFAIK it wouldn't work a binary file must be linked with openssl # ldd bacula-dir | grep ssl libssl.so.10 => /usr/lib64/libssl.so.10 (0x7f3a83283000) libssl3.so => /usr/lib64/libssl3.so (0x7f3a80089000) On Thu, Mar 3, 2016 at 12:30 PM, Florian Splett <florian.spl...@web.de <mailto:florian.spl...@web.de>> wrote: Hello. I want to set up TLS security for my bacula system, but when I first installed the system, I did not specify the "--with-openssl" option. Will the TLS configuration still work? The entries in the config were definitely recognized. I just want to be sure this doesn't end up accepting the configuration, but not actually securing anything, so any answer would be highly appreciated. Regards, Florian S. -- Site24x7 APM Insight: Get Deep Visibility into Application Performance APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month Monitor end-to-end web transactions and take corrective actions now Troubleshoot faster and improve end-user experience. Signup Now! http://pubads.g.doubleclick.net/gampad/clk?id=272487151=/4140 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net <mailto:Bacula-users@lists.sourceforge.net> https://lists.sourceforge.net/lists/listinfo/bacula-users -- Transform Data into Opportunity. Accelerate data analysis in your applications with Intel Data Analytics Acceleration Library. Click to learn more. http://makebettercode.com/inteldaal-eval___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Do TLS options work without openssl configuration during installation?
Hello. I want to set up TLS security for my bacula system, but when I first installed the system, I did not specify the "--with-openssl" option. Will the TLS configuration still work? The entries in the config were definitely recognized. I just want to be sure this doesn't end up accepting the configuration, but not actually securing anything, so any answer would be highly appreciated. Regards, Florian S. -- Site24x7 APM Insight: Get Deep Visibility into Application Performance APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month Monitor end-to-end web transactions and take corrective actions now Troubleshoot faster and improve end-user experience. Signup Now! http://pubads.g.doubleclick.net/gampad/clk?id=272487151=/4140 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Director will not connect to a remote client
Hello. Some question to maybe pinpoint the issue as the config seems fine (to me at least): Is the director installed on a machine seperate to the clients? Are the file daemon services definitely running? Are the ports bacula uses open (9101, 9102)? Are you able to ping the remote clients with the bacula user? (from the machine the director is located on) If yes: can your clients ping the the director machine, too? (I remember having struggled a bit with permissions at the beginning) I am no expert, but I hope these questions help you get an idea where the problem may be. Regards, Florian S. Am 01.03.2016 um 22:23 schrieb maaf4d: > Hi, > I would like some help with thi issue where the director cannot connect to > either one of my file daemons. I installed the client version of bacula on a > linux computer and a windows computer and configured them along with the > director so they would communicate and run a backup job. Although when i go > into the console and check the status of my clients, the connection is never > successful. It ends up telling me that the connection timed out. Could anyone > tell me what I am doing wrong? Here is my configurations: > Server: > Director File: > > Director { # define myself > Name = backup-master-001.novalocal-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 = "f6nJvHpItEmcJ4m7J-WYSJzxdK9S2BGo6" # Console password > Messages = Daemon > DirAddress = 127.0.0.1 > } > JobDefs { > Name = "DefaultJob" > Type = Backup > Level = Incremental > Client = backup-master-001.novalocal-fd > FileSet = "Full Set" > Schedule = "WeeklyCycle" > Storage = File > Messages = Standard > Pool = File > Priority = 10 > Write Bootstrap = "/var/lib/bacula/%c.bsr" > } > Job { > Name = "LocalBackup" > JobDefs = "DefaultJob" > } > Job { > Name = "RemoteBackup" > JobDefs = "DefaultJob" > client = test-fd > Pool = RemoteFile > } > Job { > Name = "RemoteBackup2" > JobDefs = "DefaultJob" > client = marty-pc-fd > Pool = RemoteFile > } > Job { > Name = "BackupCatalog" > JobDefs = "DefaultJob" > Level = Full > FileSet="Catalog" > Schedule = "WeeklyCycleAfterBackup" > RunBeforeJob = "/etc/bacula/scripts/make_catalog_backup.pl MyCatalog" > RunAfterJob = "/etc/bacula/scripts/delete_catalog_backup" > Write Bootstrap = "/var/lib/bacula/%n.bsr" > Priority = 11 # run after main backup > } > Job { > Name = "RestoreFiles" > Type = Restore > Client=backup-master-001.novalocal-fd > FileSet="Full Set" > Storage = File > Pool = Default > Messages = Standard > Where = /nonexistant/path/to/file/archive/dir/bacula-restores > } > Job { > Name = "RestoreRemote" > Type = Restore > Client=test-fd > FileSet="Full Set" > Storage = File > Pool = Default > Messages = Standard > Where = /bacula/restore > } > Job { > Name = "RestoreRemote2" > Type = Restore > Client=marty-pc-fd > FileSet="Full Set" > Storage = File > Pool = Default > Messages = Standard > Where = /bacula/restore > } > FileSet { > Name = "Full Set" > Include { > Options { > signature = MD5 > } > File = /usr/sbin > } > Exclude { > File = /var/lib/bacula > File = /nonexistant/path/to/file/archive/dir > File = /proc > File = /tmp > File = /.journal > File = /.fsck > } > } > 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 > } > Schedule { > Name = "WeeklyCycleAfterBackup" > Run = Full sun-sat at 23:10 > } > FileSet { > Name = "Catalog" > Include { > Options { > signature = MD5 > } > File = "/var/lib/bacula/bacula.sql" > } > } > Client { > Name = backup-master-001.novalocal-fd > Address = 128.104.223.158 > FDPort = 9102 > Catalog = MyCatalog > Password = "ulDaTfeEvHjt3JcHTR--kMe1XXYupHUWc" # password for FileDaemon > File Retention = 30 days # 30 days > Job Retention = 6 months # six months > AutoPrune = yes # Prune expired Jobs/Files > } > Client { > Name = test-fd > Address = 128.104.223.157 > FDPort = 9102 > Catalog = MyCatalog > Password = "7m1XU9Fp9uJcd76hCpoTIHLPoX3nK8veS" # password for FileDaemon > File Retention = 30
[Bacula-users] Short question about TLS
Hello, everyone. When I built bacula (5.2) I did it without the -openssl option. I want to add TLS security now. Does that require any changes to my bacula installation or will the TLS options work anyways? Regards, Florian S. -- Site24x7 APM Insight: Get Deep Visibility into Application Performance APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month Monitor end-to-end web transactions and take corrective actions now Troubleshoot faster and improve end-user experience. Signup Now! http://pubads.g.doubleclick.net/gampad/clk?id=272487151=/4140 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] backup to a remote machine - how to approach?
Hello, everyone. I am planning to store certain backups to an offsite system and I was wondering, which of these solution you would recommend: 1. Install a storage deamon on the offsite system -> How safe is the connection and how do I set it up? 2. Connect to the offsite system via ssh or ftp and mount a folder on the local system to send the backups. Are there other solutions as well? I just want two things, really: - make sure that if the main location goes down for some reason, I still have some important backup files on the offsite location. - Use the safest way possible to send the data to the offsite location. Regards, Florian S. -- Site24x7 APM Insight: Get Deep Visibility into Application Performance APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month Monitor end-to-end web transactions and take corrective actions now Troubleshoot faster and improve end-user experience. Signup Now! http://pubads.g.doubleclick.net/gampad/clk?id=272487151=/4140 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Windows Clients unreachable after every windows update
Hello. During the past months I observed an annoying problem with the 3 windows clients in our network that should be handled by bacula. Whenever there is a windows update when shutting down the PC the following backup during the night fails with the message Unable to connect to Client: ... ERR=Connection refused Especially during times with rather frequent updates this can be a bit troublesome... Has anyone else experienced this and maybe found a way to avoid these errors? In case it helps, here is the entire report I received for the failed backup on my workstation: 10-Dec 03:15 ubuntu-dir JobId 3425: shell command: run BeforeJob "powerwake WS-001" 10-Dec 03:15 ubuntu-dir JobId 3425: BeforeJob: INFO: Trying to wake host: [WS-001] 10-Dec 03:15 ubuntu-dir JobId 3425: BeforeJob: INFO: Sending magic packet to: [94DE80BD7306] 10-Dec 03:15 ubuntu-dir JobId 3425: shell command: run BeforeJob "sleep 30s" 10-Dec 03:15 ubuntu-dir JobId 3425: Start Backup JobId 3425, Job=Backup_WS-001.2015-12-10_03.15.00_18 10-Dec 03:15 ubuntu-dir JobId 3425: Using Device "BackupDevice_WS-001" to write. 10-Dec 03:15 ubuntu-dir JobId 3425: Warning: bsock.c:112 Could not connect to Client: WS-001_fd on 192.168.1.101:9102. ERR=Connection refused Retrying ... 10-Dec 03:18 ubuntu-dir JobId 3425: Fatal error: bsock.c:118 Unable to connect to Client: WS-001_fd on 192.168.1.101:9102. ERR=Connection refused 10-Dec 03:18 ubuntu-dir JobId 3425: Fatal error: No Job status returned from FD. 10-Dec 03:18 ubuntu-dir JobId 3425: Error: Bacula ubuntu-dir 7.0.5 (28Jul14): Build OS: x86_64-unknown-linux-gnu ubuntu 12.04 JobId: 3425 Job: Backup_WS-001.2015-12-10_03.15.00_18 Backup Level: Incremental, since=2015-12-09 03:17:05 Client: "WS-001_fd" 5.2.10 (28Jun12) Microsoft Windows 7 Professional Service Pack 1 (build 7601), 64-bit,Cross-compile,Win64 FileSet: "Standard Windows Set" 2014-11-14 03:15:00 Pool: "Pool_WS-001" (From Job resource) Catalog: "StandardCatalog" (From Client resource) Storage: "Storage_WS-001" (From Job resource) Scheduled time: 10-Dec-2015 03:15:00 Start time: 10-Dec-2015 03:15:31 End time: 10-Dec-2015 03:18:31 Elapsed time: 3 mins Priority: 10 FD Files Written: 0 SD Files Written: 0 FD Bytes Written: 0 (0 B) SD Bytes Written: 0 (0 B) Rate: 0.0 KB/s Software Compression: None VSS: no Encryption: no Accurate: yes Volume name(s): Volume Session Id: 958 Volume Session Time: 1436256533 Last Volume Bytes: 30,329,577,214 (30.32 GB) Non-fatal FD errors: 1 SD Errors: 0 FD termination status: Error SD termination status: Waiting on FD Termination: *** Backup Error *** Regards, Florian Splett -- ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Bacula & Mercurial repositories
Hello. Some additional information: For analysing purposes I tried to restore a repository onto the unix server first and then move it to a windows share through samba with the cp command. For various files, espacially the .hg files and the porject.sln I receive this message: Accessing >>/etc/mountFolder/": Input-/Outputerror I hope this gives anybody an idea. Regards, Florian Splett Am 27.11.2015 um 08:38 schrieb Florian Splett: > Hello, fellow bacula users. > > I discovered a somewhat specific problem in my setup of Bacula yesterday: > > We are using bacula on a Unix Server to backup Mercurial repositories on > a windows server. > The backups are stored on an NAS storage. > Yesterday after some strange issues with one repository, I wanted to > restore it through bacula. > > The restore itself seemed to work fine. > When I cloned the repository and tried to look at the commits though > using TortoiseHG, > I received the error "revlog decompress error: error -3". > > This happened even with backups before the last full backup (over a > month ago). > > Does anybody have an idea what might cause this problem? > > Regards, > Florian Splett > > -- > ___ > Bacula-users mailing list > Bacula-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/bacula-users -- ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Bacula & Mercurial repositories
Hello, fellow bacula users. I discovered a somewhat specific problem in my setup of Bacula yesterday: We are using bacula on a Unix Server to backup Mercurial repositories on a windows server. The backups are stored on an NAS storage. Yesterday after some strange issues with one repository, I wanted to restore it through bacula. The restore itself seemed to work fine. When I cloned the repository and tried to look at the commits though using TortoiseHG, I received the error "revlog decompress error: error -3". This happened even with backups before the last full backup (over a month ago). Does anybody have an idea what might cause this problem? Regards, Florian Splett -- ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Adding encryption support to an existing bacula installation?
Hello. I have a working installation of bacula that takes care of the backups in a small network. When I first started with bacula and learned how to set it up, I had a lot of trouble with including openssl, so I decided to build bacula without it. Now we want to prepare for storing backups off-site, meaning encryption becomes highly important. Here a short overview of the situation: Ubuntu Server with Director, SD, catalog on postgresql and FD 3 Windows machines with FD 1 Synology NAS as SD target (accessed via mount) new: 1 Synology NAS off-site planned as additional SD target (maybe for a second SD, not sure yet.) How can I add encryption support to my existing bacula installation? Is a rebuild needed? If yes, does it have an impact on the existing configurations? Regards, Florian S. -- ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] configuration question: IPs and hostnames
Hi, I got a bacula setup running for several years now, sadly I hit a snag and was hoping someone here can help me. The setup is as follows: * bacula-director and bacula-sd running on one box (v. 5.2.6, Debian wheezy) * several bacula-sd (v. 5.2.6, Debian wheezy) * one bacula-sd (v. 5.2.6, Debian jessie) (- this is the box i'm currently making my changes to) I doubt the versions do matter but for the sake of completion .. :-) Now I'm in the middle of the painfull process of migration to different IPs (from 192.168.0.0/24 to 10.0.0.0/8) and got a LAN and DMZ area too as to make things anything but simple. I'm trying to use hostnames everywhere now so I changed the Storage definition for bacula-director to a FQN (host.domain.com) that is resolvably at least for my servers. Now the bacula-director got two IPs .. one in the old segment, one in the new. The main bunch of the bacula-sd still got old IPs and connect to the director/storage on the old IP. For one bacula-sd I tried switching over to the new IP (only, no dual IP there) but then bacula won't work anymore. According to the error message it tried sending the backup to the bacula-fd on the OLD IP, even though on the box the hostname resolves correctly to the new IP it SHOULD use. I got the sneaking suspicion the hostname on the configuration gets resolved on the director, not the sd and is wrong. Is there any way around that? For the migration I need to be able to switch one box after the other to the new IPs, there are a buckload of internal services on there that i can't possibly all reconfigure at once ... Any help would be appreciated. Florian -- Don't Limit Your Business. Reach for the Cloud. GigeNET's Cloud Solutions provide you with the tools and support that you need to offload your IT needs and focus on growing your business. Configured For All Businesses. Start Your Cloud Today. https://www.gigenetcloud.com/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Is Bacula and a LTO drive right for me?
Hi Rudolf If you want to avoid tape back hitching, you have to have atleast: HP LTO-5: 47 MB/sIBM LTO-5: 40 MB/s HP LTO-6: 54 MB/sIBM LTO-6: 40 MB/s And I am afraid, that single 6 TB drive is not a good solution. It can be maybe sufficient if you first spool the data, and then just unspool them to the tape, or using D2D2T, but if you have spooling and unspooling at the same time, I do not think that it will be considerate to your tape drive. Thanks for the numbers and pointing me to the spool/unspool problem. This can be fixed by using two hard drives, right? The whole thing about costs probably seams to be a bit ridiculous, but unfortunately there is niter money nor understanding for the need here right now. So I'm trying to figure out a cheap way to get to a working system that can be handled somehow. And I'm fully aware of the fact that the hardware investment costs will be a minor part in the actual long term overall costs. See you Flo -- One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Is Bacula and a LTO drive right for me?
Hi Davide I will not advise any only-drive LTO solution: if you need to spend less money, you could take a look at the Tandbergdata's (opps: Overland) 1U storageloader with LTO4 or 5, it's very cheap. Any no library LTO solutions, will require a lot of operator work, it will make your solution quite unusable. Well, I have to admit that I'm a bit concerned about that, too. I'm the one to handle the tapes and I know I will be board quite soon and forget to change tapes before I leave and so on. Tandberg StorageLibrary T40 1x LTO-44400 EUR Tandberg StorageLibrary T40+ 1x LTO-5 5200 EUR Tandberg LTO-6 1700 EUR I didn't think about the tape prices for now, but the library solution is at least 2800 EUR more expensive than a single LTO-6 drive. The problem is, the whole backup thing is not considered to be imported here, yet it is, and the present situation is extremely risky and there is an obvious need to change things and it should be done before things go wrong. The question is probably, what happens if a tape change is forgotten. Say I have scheduled backup job for the night and the tape is not change in the evening. Will this mess up everything or will the job automatically be run as soon as the needed tape becomes available? I seams to be possible to get cheap old used libraries. Is it possible to change the drive? I once did this a long time ago with a MOD library system. I was easy to do as the library was controlled via RS232 and did not at all communicate with the drive. Do modern LTO libraries work the same way? The official bacula online bacula documentation ( http://www.bacula.org/7.0.x-manuals/en/main/index.html ) it's pretty good. In deed it seams to be, I already had a look and it. See you Flo -- One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Is Bacula and a LTO drive right for me?
Hi Ana I don't think this will be a problem. I had this topology a few years ago with a standalone LTO drive. And it worked fine for a few GB being backed up in a few nightly hours. OK, sounds good. :-) I think you should do a few questions about your data. 1) How important is my data? Hmm, I will know when its gone... 2) For how long should I keep a backup of them? When they will be reclaimed? I need to keep them just for a total disaster recover? They could be reclaimed from a year ago? From a week ago? From a month ago? There are a lot of Bacula can do for you, but it is important to have this previous knowledge about your data. It is clear that you will need a full backup of about 18 TB. But will you need 1 full backup per month? 1 full backup per week? Something like this is what I have in mind but I haven't a made plan yet. I might want to run different strategies for backing up the main file server than for the clients. For the clients probably only disaster recovery is needed, a Backup once a week would probably be sufficient. Backup of the clients is actually only necessary because users tend to store data locally and unfortunately as the file server is running OSX Server we do not have a domain controller anymore (as OS X switched vom Samba to SMBX). (Oh, and no, at the moment I cant get rid of the OS X on the server.) On the file server things are a bit different. I need to be able to restore single files overwritten or deleted accidentally by users. And I want to keep daily differential backups for at least on or two weeks to be able to access different file versions. A simple solution could be having one full backup per month and daily differential. In this case, you will need to keep 2 full backups and about 30 daily differential. Yes, something like this is what I have in mind. And from time to time I'd like to take a full backup to a remote location, just in case. Your full backups could be divided into smaller ones to fill in one tape. Is this something that I would have to take care of? I guess Bracula can automatically span backups over multiple tapes. And you could run daily differential and full backups from different data. This way you could use a low cost storage array and your tape drive (which is your technology?). I don't have the hardware yet. My plan is to get a small cheap server, some low cost CPU (some i3 Core), 6 TB HD (for spooling), a SAS controller and a LTO 5 or 6 drive (probably from Tandberg). I'll need to change tapes manually, any library solution seams to be to expensive. Changing tapes for the full backup will be bit annoying probably, and to do so I have to run it during the day, but this seams possible as there is not much going on on Fridays here. Does any one know the book on Bacula from Philipp Storz? Is it useful to get started? I'm thinking about getting it. See you Flo -- One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Is Bacula and a LTO drive right for me?
Hi Ana, thanks for your reply. The most recent tape drives technology are LTO-6. The LTO-6 tapes have a native capacity of 2.5 TB and up to 6.25 TB of compressed data. Unfortunately it is really difficult to reach such amount of data in a tape. Maybe a 1.5:1 compression rate depending on your data. Compression rate will be not good here, as most of the data is image and video data, usually already well compressed. So you will need more than one tape for a full backup and this will need manual intervention for changing tapes. Yes, I know, as long as this is supported (and as far as I can see it is) by Bracula that's fin. I remember it was difficult using Amanda in 1996 or so. If this is not a problem for you Bacula and an LTO drive is a feasible solution. Otherwise you should probably think about a tape library for this work. Yes, a library would be good, but I cant afford one now. Maybe I could get a old used library and replace the drive by a new one... Yes, You can have full/differential/incremental backups in a hard disk and then write once a week to tape. This is commonly known as disk-to-disk-to-tape (D2D2T) backups. OK, in this case how much hard drive storage would I need? Enough to hold the full backup ore just a few TB for the weekly incremental backups? What do you mean about slow Network? Could you be more specific? 100Mb/s and not the best topology, a few PC via VPN through 100 MBit/s LAN Are your data go across wan links? There are lots of known cases with Bacula working across wan links with no problems. No WAN, I just wondered if I need to ensure a minimum data throughout for the LTO. I member some problems in this respect with the DDS drive. See you Flo -- One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Is Bacula and a LTO drive right for me?
Hi, I didn't have to take care of backups for quite a while, but now I'm looking for a suitable solution to backup a small office. A long time ago I used Amanda to backup a single server to DDS-2 tape. This was in 1996 or so. The total volume to back up was about 2 GB. Now I need to backup a bit more: file server, OS X, 6 TB, growing 1 TB per year web sever, Linux, 500 GB 10 OSX clients, 5 TB total (probably less) 10 Windows clients, 5 TB Total (probably less) a few virtual machines running Windows and Linux, 1 TB total The volume of daily new data is usually rather small, a few hundred MB probably but can reach several gigabyte from time to time. I was thinking about using Amanda gain, but somehow I'm more interested int o Bacula right now, my previous Amanda experience is so minimal and total outdated that it's no reason to stick to Amanda. So, what do you think, is a small dedicated backup server, Bacula an a LTO drive a feasible solution? A few more questions: I it possible to buffer incremental backups on a rather small hard disk and write them to tape once a week or so? The Network is slow here, I'll not be able to reach the native write speed of a LTO drive, is this a problem? I think I remember some issues in this respect with the DDS drive, but that was a long time ago. Any recommendations on the server hardware? The budget is small unfortunately. Any other comments? Thanks Flo -- One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Schedule: week days and month days?
Hello. I was wondering if I can set up a schedule to do the following: Incremental from 2. to 31. day of the month, but only monday - saturday differential from 2. to 31. day of the month, but only sunday I couldn't find an example on it, so I just had a wild guess. Would this work? Run = Full on 1 at 3:00 Run = Differential on 2-31 sun at 3:00 Run = Incremental on 2-31 mon-sat at 3:00 Regards, Florian S. -- New Year. New Location. New Benefits. New Data Center in Ashburn, VA. GigeNET is offering a free month of service with a new server in Ashburn. Choose from 2 high performing configs, both with 100TB of bandwidth. Higher redundancy.Lower latency.Increased capacity.Completely compliant. http://p.sf.net/sfu/gigenet ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Is this an Inter-version Compatibility Issue???
I recently rebuilt my workstation from Fedora 20 to 21 and am now having issues with Bacula that may stem from incompatibilities between Bacula versions. I'm hoping somebody can confirm my suspicion. At present, I have: Dir and SD are on the same Fedora 20 host with: bacula-client-5.2.13-18.fc20.x86_64 bacula-common-5.2.13-18.fc20.x86_64 bacula-console-5.2.13-18.fc20.x86_64 bacula-director-5.2.13-18.fc20.x86_64 bacula-libs-5.2.13-18.fc20.x86_64 bacula-libs-sql-5.2.13-18.fc20.x86_64 bacula-storage-5.2.13-18.fc20.x86_64 My Fedora 21 workstation has: bacula-client-7.0.5-2.fc21.x86_64 bacula-common-7.0.5-2.fc21.x86_64 bacula-libs-7.0.5-2.fc21.x86_64 If I try to run a simple incremental backup job for my workstation, the log emits: 07-Jan 11:35 mdct-bacula-dir JobId 32287: Start Backup JobId 32287, Job=Florian_Workstation.2015-01-07_11.35.23_23 07-Jan 11:35 mdct-bacula-dir JobId 32287: Using Device FileStorage to write. 07-Jan 11:35 mdct-dev12.dartcontainer.com- JobId 32287: Fatal error: Authorization key rejected by Storage daemon. Please see http://www.bacula.org/en/rel-manual/Bacula_Freque_Asked_Questi.html#SECTION0026 for help. 07-Jan 11:35 mdct-bacula-dir JobId 32287: Fatal error: Bad response to Storage command: wanted 2000 OK storage, got 2902 Bad storage I am quite familiar with Bacula's authorization requirements and have confirmed everything is correct. (In fact, I've had puppet managing these aspects for years to reduce the probability of human error.) It's for these reasons I suspect there must be a version compatibility issue here. I've checked the release notes but find them lacking detail in this regard. (The last time compat is mentioned goes all the way back to the 5.2.11 release and that only talks about having older FDs - nothing about newer FDs.) -- John Florian -- Dive into the World of Parallel Programming! The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Is this an Inter-version Compatibility Issue???
That's kind of what I thought/remembered, but I couldn't find it written in stone anywhere. Thank you for the confirmation. -- John Florian -Original Message- From: John Drescher [mailto:dresche...@gmail.com] Sent: Wednesday, January 07, 2015 12:28 To: John Florian Cc: bacula-users@lists.sourceforge.net Subject: Re: [Bacula-users] Is this an Inter-version Compatibility Issue??? The server versions need to be equal to or higher than the client versions. John On Wed, Jan 7, 2015 at 11:49 AM, John Florian john.flor...@dart.biz wrote: I recently rebuilt my workstation from Fedora 20 to 21 and am now having issues with Bacula that may stem from incompatibilities between Bacula versions. I’m hoping somebody can confirm my suspicion. At present, I have: Dir and SD are on the same Fedora 20 host with: bacula-client-5.2.13-18.fc20.x86_64 bacula-common-5.2.13-18.fc20.x86_64 bacula-console-5.2.13-18.fc20.x86_64 bacula-director-5.2.13-18.fc20.x86_64 bacula-libs-5.2.13-18.fc20.x86_64 bacula-libs-sql-5.2.13-18.fc20.x86_64 bacula-storage-5.2.13-18.fc20.x86_64 My Fedora 21 workstation has: bacula-client-7.0.5-2.fc21.x86_64 bacula-common-7.0.5-2.fc21.x86_64 bacula-libs-7.0.5-2.fc21.x86_64 If I try to run a simple incremental backup job for my workstation, the log emits: 07-Jan 11:35 mdct-bacula-dir JobId 32287: Start Backup JobId 32287, Job=Florian_Workstation.2015-01-07_11.35.23_23 07-Jan 11:35 mdct-bacula-dir JobId 32287: Using Device FileStorage to write. 07-Jan 11:35 mdct-dev12.dartcontainer.com- JobId 32287: Fatal error: Authorization key rejected by Storage daemon. Please see http://www.bacula.org/en/rel- manual/Bacula_Freque_Asked_Questi.html#SECTION0026 for help. 07-Jan 11:35 mdct-bacula-dir JobId 32287: Fatal error: Bad response to Storage command: wanted 2000 OK storage, got 2902 Bad storage I am quite familiar with Bacula’s authorization requirements and have confirmed everything is correct. (In fact, I’ve had puppet managing these aspects for years to reduce the probability of human error.) It’s for these reasons I suspect there must be a version compatibility issue here. I’ve checked the release notes but find them lacking detail in this regard. (The last time “compat” is mentioned goes all the way back to the 5.2.11 release and that only talks about having older FDs – nothing about newer FDs.) -- John Florian -- Dive into the World of Parallel Programming! The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users -- John M. Drescher -- Dive into the World of Parallel Programming! The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Problem with schedule
Hello. I always expected the Full backup to get prioritised... afetr checking the wiki again, I realised now that this is not the case, so I simply changed the time for incremental and differential to a later point. Regards, Florian S. Am 05.01.2015 um 15:18 schrieb philhu: Does it happen every month or just when the '1' occurs on mon-sat? Your schedule says always on the first and incr Mon-sat, so if the 1st occurs on Mon-Sat, you will get both. -- Dive into the World of Parallel Programming! The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Problem with schedule
Hello everyone. I seem to be having a strange issue with the schedule of my backups. This is the schedule I use: Schedule { Name = MonthlyCycle Run = Full on 1 at 3:15 Run = Differential sun at 3:15 Run = Incremental mon-sat at 3:15 } I do not know why, but on the first of every month, bacula tries to do both the Full backup AND the incremental, leading to one of them failing in most of the cases. What did I do wrong here? Regards, Florian S. -- Dive into the World of Parallel Programming! The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Unexpected error [Closed]
Hello. Thank you very much for this explanation. It greatly helped finding the problem. In my case basically the VSS timed out before the backup started, most likely due to the computer staying active after an automated restart due to a windows update. The following backups were executed without further difficulties. Regards, Florian S. Am 14.12.2014 um 06:39 schrieb Kern Sibbald: Hello, What you describe is a typical problem with the Windows VSS service. Either the VSS service is not running because it did not restart on one of the reboots, or it crashed, or possibly there was just too big a workload for Windows to take the snapshot in the timeout period, or not enough disk space. If you look at the Windows error logs, it will normally tell you what is wrong -- in error logging Windows tends to be quite verbose, so if you do not find any error messages, it is most likely you are looking in the wrong place -- Windows has lots of different places where error messages go. Usually stopping and restarting the VSS service on Windows or rebooting (not always an option) will correct any problems due to Windows bugs, but it will not correct problems of insufficient disk space. Reloading Bacula won't help in the least. Best regards, Kern On 12/12/2014 12:10 PM, Florian wrote: Hello and thanks for the quick reply. The occurence of this error seemed very random, so I was wondering if there is anything that might have caused this issue? I asked the user that the problematic workstation and he said the only thing that happened were two automatic restarts due to windows updates. Sadly turning off VSS is no option for us. Are there any other potential solutions? Regards, Florian S. That is a Windows VSS error. The best you can do is try to fix the problem in Windows machine, maybe reinstalling bacula works. The other option is add this line in fileset: Enable VSS = No With this you avoid the use of VSS on Windows machines, but the PC should be completly clean of running program to avoid problems with files in use. Greetings!! +-- |This was sent by danielmadri...@gmail.com via Backup Central. |Forward SPAM to ab...@backupcentral.com. +-- -- Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=164703151iu=/4140/ostg.clktrk ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Unexpected error
Hello, everyone. One of my backup jobs suddenly failed twice in a row now and I have no clue what the reason may be... here is the error message, where text in [] is my attempted translation: 12-Dez 03:16 WS-005_fd JobId 579: Fatal error: VSS API failure calling Query Async Status after 10 minute wait. ERR=Unexpected error. The error code is logged in the error log file. 12-Dez 03:16 WS-005_fd JobId 579: Fatal error: CreateSGenerate VSS snapshots failed. ERR=Der Vorgang wurde erfolgreich beendet. [The process finished successfully] 12-Dez 03:16 WS-005_fd JobId 579: Error: VSS API failure calling BackupComplete. ERR=Object is not initialized; called during restore or not called in correct sequence. 12-Dez 05:26 ubuntu-sd JobId 579: Elapsed time=02:11:20, Transfer rate=0 Bytes/second 12-Dez 05:27 ubuntu-dir JobId 579: Fatal error: Netzwerkfehler mit FD bei Backup: ERR=Die Wartezeit für die Verbindung ist abgelaufen [The wait time for the connection has been exceeded] I checked my log file and there is no new entry. Last entry is from november. On the previous day the job failed with the following messages (Text in is a placeholder): 11-Dez 03:24 WS-005_fd JobId 571: Could not stat E:/file: ERR=Das System kann die angegebene Datei nicht finden. [The system could not find the file] 11-Dez 03:24 WS-005_fd JobId 571: Could not stat C:/directory1/: ERR=Das System kann die angegebene Datei nicht finden. 11-Dez 03:24 WS-005_fd JobId 571: Could not open directory C:/directory2: ERR=Zugriff verweigert [Permission denied] 11-Dez 03:24 WS-005_fd JobId 571: Could not stat C:/directory3/: ERR=Zugriff verweigert 11-Dez 05:34 ubuntu-sd JobId 571: Fatal error: append.c:149 Error reading data header from FD. n=-2 msglen=0 ERR=Die Wartezeit für die Verbindung ist abgelaufen [The wait time for the connection has been exceeded] 11-Dez 05:34 ubuntu-sd JobId 571: Elapsed time=02:19:11, Transfer rate=20 Bytes/second 11-Dez 05:35 ubuntu-dir JobId 571: Fatal error: Netzwerkfehler mit FD bei Backup: ERR=Die Wartezeit für die Verbindung ist abgelaufen [The wait time for the connection has been exceeded] 11-Dez 05:35 ubuntu-dir JobId 571: Fatal error: FD hat keinen Jobstatus zurückgegeben. [FD did not return a job status] I don't know if there is a connection to that I run all my File daemons in accurate mode. Regards, Florian S. -- Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=164703151iu=/4140/ostg.clktrk___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Unexpected error
Hello and thanks for the quick reply. The occurence of this error seemed very random, so I was wondering if there is anything that might have caused this issue? I asked the user that the problematic workstation and he said the only thing that happened were two automatic restarts due to windows updates. Sadly turning off VSS is no option for us. Are there any other potential solutions? Regards, Florian S. That is a Windows VSS error. The best you can do is try to fix the problem in Windows machine, maybe reinstalling bacula works. The other option is add this line in fileset: Enable VSS = No With this you avoid the use of VSS on Windows machines, but the PC should be completly clean of running program to avoid problems with files in use. Greetings!! +-- |This was sent by danielmadri...@gmail.com via Backup Central. |Forward SPAM to ab...@backupcentral.com. +-- -- Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=164703151iu=/4140/ostg.clktrk ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users -- Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=164703151iu=/4140/ostg.clktrk ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] trouble with Filesets
Hello. I seem to have some problems with my filesets... They are all for windows machines and are set up like this: Name = Server1 Files Set Include { Options { signature = SHA1 compression = GZIP } File = D:/ } Exclude { File = D:/SomeFolder } SomeFolder is still being backed up. Guess I didn't quite understand this yet. Do I have to use Wilddir und exclude = yes in the include options instead? Regards, Florian S. -- Comprehensive Server Monitoring with Site24x7. Monitor 10 servers for $9/Month. Get alerted through email, SMS, voice calls or mobile push notifications. Take corrective actions from your mobile device. http://pubads.g.doubleclick.net/gampad/clk?id=154624111iu=/4140/ostg.clktrk___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] summarizing messages into a single mail
Hello, Thanks everyone for the various suggestions. I should have more than enough options to choose from now. =) Regards, Florian S. -- Comprehensive Server Monitoring with Site24x7. Monitor 10 servers for $9/Month. Get alerted through email, SMS, voice calls or mobile push notifications. Take corrective actions from your mobile device. http://pubads.g.doubleclick.net/gampad/clk?id=154624111iu=/4140/ostg.clktrk ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] summarizing messages into a single mail
Hello, everyone. I was wondering, if there is a way to avoid receiving one email for each completed bacula job and instead receive a single mail with all messages. Also, if this is possible, would you recommend it or should I instead try something like Web-Bacula to do some reporting? I am currently receiving mails for 6 jobs per day. Rising to 8 soon. Regards, Florian S. -- ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Inconsistent backups of windows clients
Hello again. So, after maybe 4 days, one of the clients again randomly couldn't be reached, so apperently adding 30 seconds sleep between wake-on-lan and backup didn't help... Here is the whole log. Maybe this has any hint in it that I don't see? (sorry for german languege) 27-Okt 23:00 ubuntu-dir JobId 214: shell command: run BeforeJob powerwake XXX 27-Okt 23:00 ubuntu-dir JobId 214: BeforeJob: INFO: Trying to wake host: [XXX] 27-Okt 23:00 ubuntu-dir JobId 214: BeforeJob: INFO: Sending magic packet to: [X] 27-Okt 23:00 ubuntu-dir JobId 214: shell command: run BeforeJob sleep 30s 27-Okt 23:00 ubuntu-dir JobId 214: Start Sicherung JobId 214, Job=Backup_WS-005.2014-10-27_23.00.01_51 27-Okt 23:00 ubuntu-dir JobId 214: Using Device BackupDevice_WS-005 to write. 27-Okt 23:03 ubuntu-dir JobId 214: Warning: bsock.c:112 Could not connect to Client: WS-005_fd on 192.168.1.105:9102. ERR=Unterbrechung während des Betriebssystemaufrufs Retrying ... 27-Okt 23:03 ubuntu-dir JobId 214: Fatal error: bsock.c:118 Unable to connect to Client: WS-005_fd on 192.168.1.105:9102. ERR=Unterbrechung während des Betriebssystemaufrufs 27-Okt 23:03 ubuntu-dir JobId 214: Fatal error: FD hat keinen Jobstatus zurückgegeben. 27-Okt 23:03 ubuntu-dir JobId 214: Error: Bacula ubuntu-dir 7.0.5 (28Jul14): Build OS: x86_64-unknown-linux-gnu ubuntu 12.04 JobId: 214 Job:Backup_WS-005.2014-10-27_23.00.01_51 Backup Level: Incremental, seit=2014-10-26 23:01:01 Client: WS-005_fd 5.2.10 (28Jun12) Microsoft Windows 7 Professional Service Pack 1 (build 7601), 64-bit,Cross-compile,Win64 FileSet:Standard Windows Set 2014-09-23 23:00:00 Pool: Pool_WS-005 (From Job Ressource) Catalog:StandardCatalog (From Client resource) Storage:Storage_WS-005 (From Job Ressource) Scheduled time: 27-Okt-2014 23:00:01 Start time: 27-Okt-2014 23:00:33 End time: 27-Okt-2014 23:03:43 Elapsed time: 3 mins 10 secs Priority: 10 FD Files Written: 0 SD Files Written: 0 FD Bytes Written: 0 (0 B) SD Bytes Written: 0 (0 B) Rate: 0.0 KB/s Software Compression: None VSS:Nein Encryption: Nein Accurate: Ja Volume name(s): Volume Session Id: 34 Volume Session Time:1413870076 Last Volume Bytes: 17,056,640,116 (17.05 GB) Non-fatal FD errors:1 SD Errors: 0 FD termination status: Error SD termination status: Waiting on FD Termination:*** Sicherungsfehler *** Regards, Florian S. -- ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] How to mask spaces in script?
Hello, everyone. I have a small problem: I went to start a script on a windows client after a backup was done. The script is located at C:\Program Files\Bacula\ShurdownScript.bat I know I can mask the \ with a second \, but can I do that with the space in program files, too? Regards, Florian S. -- ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Inconsistent backups of windows clients
Hello. It could be that I did not translate the error message 100% correctly. I translated both freely from german as I thought an english version will be more helpful. The actual german message is: Fatal error: FD hat keinen Jobstatus zurückgegeben. I usually get this message when there are problems with reaching a client. Current status: No problems for 2 days in a row. Regards, Florian S. ubuntu-dir JobId XXX: Fatal error: bsock.c:118 Unable to connect to Client: Client on XXX.XXX.XXX.XXX:9102. ERR=No route to target machine ubuntu-dir JobId XXX: Fatal error: FD did not reaturn a Job status. This is very bizarre, because the second line of the message above does not exist in any Bacula that I am aware of. From the above error messages, I would say that your wakeup on WAN is not really working or you are not giving the machine enough time to come up and Bacula is timing it out. Trying to backup sleeping Clients is probably an unreliable way of running backups -- or you must find some way to fully wake up the machine before having Bacula try to contact it. Perhaps simply upping the FD Connect Timeout would solve your problem. Best regards, Kern -- ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Inconsistent backups of windows clients
Am 21.10.2014 um 01:31 schrieb Jean Sébastien HEDERER ASPerience: Hi, And if you make backups at 4 differents hours, do you have the problem? The thing is that there could be multiple additional clients in the future and I'd like to keep additional configuration per client at a minimum. Am 20.10.2014 um 13:25 schrieb hei...@bacula.com.br: Florian, Can you put a sleep between the Powerwake script and the backup start, just for test purposes? Mabe a ClientRunBeforeJob only with sleep. I suspect maybe the lag to the machine (and bacula-fd) start is failing the jobs. Regards, Heitor Medrado de Faria Precisa de treinamento Bacula? 15% de desconto no curso on-line pelo site: bacula.com.br http://www.bacula.com.br/?p=2394 61 2021-8260 tel:%2B55%2061%202021-8260 | 8268-4220 tel:%2B55%2061%208268-4220 Site: www.bacula.com.br http://www.bacula.com.br/ | Facebook: heitor.faria http://www.facebook.com/heitor.faria | Gtalk: heitorfa...@gmail.com mailto:heitorfa...@gmail.com = The backups ran with a 30 seconds sleep command after powerwake today. All jobs finished successfully. That's a start, but I will have to observe this a bit more. Like I said: It doesn't always happen that a job fails. *De: *Florian florian.spl...@web.de *Para: *bacula-users@lists.sourceforge.net *Enviadas: *Segunda-feira, 20 de outubro de 2014 3:57:34 *Assunto: *[Bacula-users] Inconsistent backups of windows clients Hello everyone. So, I am backing up 4 windows clients at the moment, using the 5.2.10 windows FD. over the last two weeks I noticed that jobs relatively often end with an error, meaning up to 2 clients per day. It's not even the same clients. Some days, everything works, then client 1 ends with an error, the next day maybe client 4 does, while client 1 runs completely fine. I cannot see any pattern in the occurence of these errors. I just know it is always the same problem: ubuntu-dir JobId XXX: Fatal error: bsock.c:118 Unable to connect to Client: Client on XXX.XXX.XXX.XXX:9102. ERR=No route to target machine ubuntu-dir JobId XXX: Fatal error: FD did not reaturn a Job status. Some more information that might help: The 4 backup jobs for the clients are started at the same time. Each job starts by activating the machine using powerwake. Each client has its personal backup device in the storage daemon's config. I hope anybody can help me out here, because the backup-system is just too unreliable like this... Regards, Florian S. -- Comprehensive Server Monitoring with Site24x7. Monitor 10 servers for $9/Month. Get alerted through email, SMS, voice calls or mobile push notifications. Take corrective actions from your mobile device. http://p.sf.net/sfu/Zoho___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Inconsistent backups of windows clients
Hello everyone. So, I am backing up 4 windows clients at the moment, using the 5.2.10 windows FD. over the last two weeks I noticed that jobs relatively often end with an error, meaning up to 2 clients per day. It's not even the same clients. Some days, everything works, then client 1 ends with an error, the next day maybe client 4 does, while client 1 runs completely fine. I cannot see any pattern in the occurence of these errors. I just know it is always the same problem: ubuntu-dir JobId XXX: Fatal error: bsock.c:118 Unable to connect to Client: Client on XXX.XXX.XXX.XXX:9102. ERR=No route to target machine ubuntu-dir JobId XXX: Fatal error: FD did not reaturn a Job status. Some more information that might help: The 4 backup jobs for the clients are started at the same time. Each job starts by activating the machine using powerwake. Each client has its personal backup device in the storage daemon's config. I hope anybody can help me out here, because the backup-system is just too unreliable like this... Regards, Florian S. -- Comprehensive Server Monitoring with Site24x7. Monitor 10 servers for $9/Month. Get alerted through email, SMS, voice calls or mobile push notifications. Take corrective actions from your mobile device. http://p.sf.net/sfu/Zoho___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] start a job from windows batch file
Hello. Sorry for the late answer. Your suggestion worked perfectly. Thanks. Regards, Florian S. Am 13.10.2014 um 15:27 schrieb hei...@bacula.com.br: Correcting: echo run job=BackupJobName yes |bconsole Heitor Medrado de Faria Precisa de treinamento Bacula? 15% de desconto no curso on-line pelo site: bacula.com.br 61 2021-8260 | 8268-4220 Site: www.bacula.com.br | Facebook: heitor.faria | Gtalk: heitorfa...@gmail.com = - Mensagem original - De: hei...@bacula.com.br Para: Florian florian.spl...@web.de Cc: bacula-users@lists.sourceforge.net Enviadas: Segunda-feira, 13 de outubro de 2014 10:20:12 Assunto: Re: [Bacula-users] start a job from windows batch file Florian, I never worked with plink, but is this command a shell one? Maybe you could try something like that echo run job=BackupJobName yes |bconsole Alternativaly you could schedule Bacula to start this backup when the time you think notebook would be pluged in the network, and just put the Retry On Error, so Bacula will try to backup it x defined Retry times x Retry Interval until it gets connected and backuped. Regards, Heitor Medrado de Faria Precisa de treinamento Bacula? 15% de desconto no curso on-line pelo site: bacula.com.br 61 2021-8260 | 8268-4220 Site: www.bacula.com.br | Facebook: heitor.faria | Gtalk: heitorfa...@gmail.com = - Mensagem original - De: Florian florian.spl...@web.de Para: bacula-users@lists.sourceforge.net Enviadas: Segunda-feira, 13 de outubro de 2014 9:55:03 Assunto: [Bacula-users] start a job from windows batch file Hello. I am currently adding two laptops to the backup network I am taking care of. After discussing how to work with them as they aren't always available, we decided to let a batch file run on startup, asking the user, if a backup should be started in the background. I couln't figure out how to start a job remotely yet. I am using plink to connect to the server on which bacula runs. Here is the line of my batch file that I tried to use: plink.exe -pw Password root@Server bconsole \run job=\BackupJob\\ This results in the following output though: bash: run BackupJob: File or Folder not found. Could someone help me a bit with the syntax? Regards, Florian -- Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer http://p.sf.net/sfu/Zoho ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users -- Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer http://p.sf.net/sfu/Zoho ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users -- Comprehensive Server Monitoring with Site24x7. Monitor 10 servers for $9/Month. Get alerted through email, SMS, voice calls or mobile push notifications. Take corrective actions from your mobile device. http://p.sf.net/sfu/Zoho ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] start a job from windows batch file
Hello. I am currently adding two laptops to the backup network I am taking care of. After discussing how to work with them as they aren't always available, we decided to let a batch file run on startup, asking the user, if a backup should be started in the background. I couln't figure out how to start a job remotely yet. I am using plink to connect to the server on which bacula runs. Here is the line of my batch file that I tried to use: plink.exe -pw Password root@Server bconsole \run job=\BackupJob\\ This results in the following output though: bash: run BackupJob: File or Folder not found. Could someone help me a bit with the syntax? Regards, Florian -- Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer http://p.sf.net/sfu/Zoho ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Windows process doesn't start
Hello everyone. I have just installed the Bacula File Daemon on a windows 7 machine. I did this on 3 other machines before and they are all being backed up. For some reason i cannot start the file daemon service on this new (new to the backup system) computer. I keep receiving error 1067 when attempting to start. Also for some reason the file daemon is looking for its config file in the folder ProgramData instead of its installation path. The config-file itself should be fine. I can start the bacula-fd.exe, if I move the config, but then I only start it as a process, not a service. Any ideas, what might cause this behavior? Regards, Florian S. -- Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer http://pubads.g.doubleclick.net/gampad/clk?id=154622311iu=/4140/ostg.clktrk ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Dummy Client for Admin Jobs?
Hello, everyone. So I just thought that it is kinda bothering me that I have to add information to an admin job that I am not even using... For instance I have a job thats only purpose is to do a wake on lan. I'd prefer not to choose one of the real clients for such jobs. It was simple to make a dummy fileset of no data at all, but can I do something like that for a client, too? Regards, Florian S. -- Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer http://pubads.g.doubleclick.net/gampad/clk?id=154622311iu=/4140/ostg.clktrk ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Changing Fileset compression
Hello. Just wanted to ask, if it has any negative effects, if i do a few backups and then change the compression mode of the used Fileset. For example from LZO to GZIP. Regards, Florian S. -- Slashdot TV. Video for Nerds. Stuff that Matters. http://pubads.g.doubleclick.net/gampad/clk?id=160591471iu=/4140/ostg.clktrk ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] How to handle many storage devices?
Am 17.09.2014 um 21:02 schrieb J. Echter: Am 17.09.2014 14:24, schrieb Florian: Hello, everyone. Now that I am finally done with testing bacula, I am setting it up for 5 clients. For each client I have a folder in which I want to store its Volumes. During the tests, I used an Autochanger in the storage daemon. Considering the different storage locations, do I need two devices for each client? (backup and restore) Also, is there is a reason to use more than one Autochanger? Regards, Florian S. Hi, i personally would backup to one volume (depends on the size of all clients) Also no autochanger is needed. If you specify the volumes / sd's you would be fine. imho. cheers. Hello. I have a few reasons to go with seperate Volumes for each client, but that's not too important. I use an autochanger for the possibility of switching volumes automatically and processing multiple jobs at once. Well, I doubt I need more than one Autochanger, but what I am still unsure about is the devices for restore jobs. I was told that with a second device I can make sure that restore is possible at any time, but does it also mean I need one such device for each archive path? Regards, Florian -- Want excitement? Manually upgrade your production database. When you want reliability, choose Perforce Perforce version control. Predictably reliable. http://pubads.g.doubleclick.net/gampad/clk?id=157508191iu=/4140/ostg.clktrk ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Autochanger: yes or no?
Hello again. Now I actually had to wonder: Is there no way to have bacula do both labeling AND switching Volumes automatically? Or do I just misunderstand? Regards, Florian S. Am 11.09.2014 um 09:33 schrieb Roberts, Ben: Hi Florian, Is using one Device Resource in the Storage daemon enough or is there any use for an autochanger in this case? We do the same thing as this and have a single device resource with no autochanger. Both options have their merits and drawbacks, so you should assess which would be more appropriate for the workload you want to use. Using an autochanger means: - you have have multiple storage devices, and therefore run multiple jobs concurrently using different volumes (either in the same, or in different pools) - you can start using new pools in future without having to create new storage devices or restart the SD - you need to pre-create and pre-label your storage volumes (I would advocate using the scratch pool, and letting Bacula move volumes around as needed) - if you have at least 2 storage devices, you can reserve one and always be able to run a restore job at any time, regardless of whether backups are in progress Using a single storage device: - you can only ever read/write to a single volume at a time - you will have to add a new storage device and restart the SD if you ever want to add a new pool (which can be tricky to find a time if your schedule gets pretty full) - you don't need to pre-create/pre-label volumes and Bacula can do it on demand - you will need to set Max Pool Volumes or similar to prevent Bacula from completely filling the disk - you might have to interrupt running jobs if you're called upon to do an emergency restore Hope this helps. Regards, Ben Roberts -- Want excitement? Manually upgrade your production database. When you want reliability, choose Perforce Perforce version control. Predictably reliable. http://pubads.g.doubleclick.net/gampad/clk?id=157508191iu=/4140/ostg.clktrk ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Autochanger: yes or no?
I considered a similar approach at first, but after asking other users in this network, how long they want to keep backups, we decided on a rather long time period of multiple years. Considering that and the fact that we want to use one Volume per month, it would be a lot of work to pre-label everything. So for now I switched back to simple devices without autochanger, so that the Volumes just get created when needed. I still have to test if it works though. Regards, Florian S. Am 18.09.2014 um 11:42 schrieb Roberts, Ben: Now I actually had to wonder: Is there no way to have bacula do both labeling AND switching Volumes automatically? Or do I just misunderstand? Personally I pre-label all my volumes into the Scratch pool, and let Bacula handle moving volumes from there to a backup pool as needed. They're then recycled back into the Scratch pool when the volume retention period is reached. That way I can label up volumes just once in a batch when purchasing new storage, and Bacula handles the rest. Bacula doesn't need to re-label volumes during day-to-day operation. Regards, Ben Roberts -- Want excitement? Manually upgrade your production database. When you want reliability, choose Perforce Perforce version control. Predictably reliable. http://pubads.g.doubleclick.net/gampad/clk?id=157508191iu=/4140/ostg.clktrk ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Send Messages through external mail service
Hello. The problem is that I need to authenticate, when using gmx or gmail for instance and I have found no way of doing this with bsmtp only. Regards, Florian S. Am 16.09.2014 um 15:52 schrieb Luc Van der Veken: I'm using bsmtp and it works fine, just configure the correct host in the command line (-h hostname) to send the mails through your external smtp server. -Original Message- From: Florian [mailto:florian.spl...@web.de] Sent: 16 September 2014 15:00 To: bacula-users@lists.sourceforge.net Subject: [Bacula-users] Send Messages through external mail service Hello. I am currently trying to get the bacula email notifications to work. I would like to use an existing, external mail account to send these notifications instead of setting up an smtp server. Can I use bsmtp to do this or do I require additional packages? If so, which packages would you suggest? Thanks in advance! Regards, Florian S. -- Want excitement? Manually upgrade your production database. When you want reliability, choose Perforce. Perforce version control. Predictably reliable. http://pubads.g.doubleclick.net/gampad/clk?id=157508191iu=/4140/ostg.clktrk ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users -- Want excitement? Manually upgrade your production database. When you want reliability, choose Perforce Perforce version control. Predictably reliable. http://pubads.g.doubleclick.net/gampad/clk?id=157508191iu=/4140/ostg.clktrk ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] How to handle many storage devices?
Hello, everyone. Now that I am finally done with testing bacula, I am setting it up for 5 clients. For each client I have a folder in which I want to store its Volumes. During the tests, I used an Autochanger in the storage daemon. Considering the different storage locations, do I need two devices for each client? (backup and restore) Also, is there is a reason to use more than one Autochanger? Regards, Florian S. -- Want excitement? Manually upgrade your production database. When you want reliability, choose Perforce Perforce version control. Predictably reliable. http://pubads.g.doubleclick.net/gampad/clk?id=157508191iu=/4140/ostg.clktrk ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Send Messages through external mail service
Hello. I am currently trying to get the bacula email notifications to work. I would like to use an existing, external mail account to send these notifications instead of setting up an smtp server. Can I use bsmtp to do this or do I require additional packages? If so, which packages would you suggest? Thanks in advance! Regards, Florian S. -- Want excitement? Manually upgrade your production database. When you want reliability, choose Perforce. Perforce version control. Predictably reliable. http://pubads.g.doubleclick.net/gampad/clk?id=157508191iu=/4140/ostg.clktrk ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Wakeonlan in bacula
Hello. I have checked a few tutorials in order to do wake on lan with bacula. I have the following problem now: I can wake the target machine with the wakeonlan command and I can also execute it as bacula user, however when I use the command in a job, it does not seem to work at all. This is the job in the job in the bacula-dir.conf I want to run before the actual backup jobs: Job { Name = WakeOnLan Type = Admin client = ubuntu-fd Fileset = None RunScript { RunsWhen = Always Command = wakeonlan -f /etc/bacula/adresses.wol } Pool = File Storage = ubuntu-sd messages = Standard Priority = 5 } It simply gives me an OK-Message after running, so i am not sure what the problem could be. Does anybody have any siggestions? Regards, Florian S. -- Want excitement? Manually upgrade your production database. When you want reliability, choose Perforce Perforce version control. Predictably reliable. http://pubads.g.doubleclick.net/gampad/clk?id=157508191iu=/4140/ostg.clktrk___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Switch Volume at end of month
Hello. I would like to use a Volume for the duration of one month and after the last backup of a month, I want to change the status of the Volume to Used or Full. I use the Volumes this long to have all Backup-Data from one monthly cycle in one file. I figured out how to check, if it is the last day of the month, but I am not sure how to automatically change the status of the specific Volume that has been used till then. Any suggestions are appreciated. Regards, Florian S. -- Want excitement? Manually upgrade your production database. When you want reliability, choose Perforce Perforce version control. Predictably reliable. http://pubads.g.doubleclick.net/gampad/clk?id=157508191iu=/4140/ostg.clktrk ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Wakeonlan in bacula
Hello. I figured out the problem myself. I merely forgot to restart the director. Regards, Florian S. Am 15.09.2014 um 07:58 schrieb Florian: Hello. I have checked a few tutorials in order to do wake on lan with bacula. I have the following problem now: I can wake the target machine with the wakeonlan command and I can also execute it as bacula user, however when I use the command in a job, it does not seem to work at all. This is the job in the job in the bacula-dir.conf I want to run before the actual backup jobs: Job { Name = WakeOnLan Type = Admin client = ubuntu-fd Fileset = None RunScript { RunsWhen = Always Command = wakeonlan -f /etc/bacula/adresses.wol } Pool = File Storage = ubuntu-sd messages = Standard Priority = 5 } It simply gives me an OK-Message after running, so i am not sure what the problem could be. Does anybody have any siggestions? Regards, Florian S. -- Want excitement? Manually upgrade your production database. When you want reliability, choose Perforce Perforce version control. Predictably reliable. http://pubads.g.doubleclick.net/gampad/clk?id=157508191iu=/4140/ostg.clktrk ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users -- Want excitement? Manually upgrade your production database. When you want reliability, choose Perforce Perforce version control. Predictably reliable. http://pubads.g.doubleclick.net/gampad/clk?id=157508191iu=/4140/ostg.clktrk___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] No files restored but disk space used?
Hello, everyone. I am doing final tests with my bacula setup and ran into some weird behavior. I set up an autochanger storage and am currently using the same device for backup and restore. I did a backup of the entire partition E:/ and browsed the files. Everything was there. Then I tried to restore the files to test-folder (avoiding overwrite). Bacula created the new Folder E:/Restore/ and the BAT told me the restore was compelted successfully after about 10 minutes. I opened the folder and it was empty though. Strangely enough, the emount of disk space in use on the harddrive increased. So far I don't have the slightest idea, what the problem may be... When I first tested bacula on a virtual machine, only backing up 2 small files, it worked perfectly fine. Regards, Florian S. -- Want excitement? Manually upgrade your production database. When you want reliability, choose Perforce Perforce version control. Predictably reliable. http://pubads.g.doubleclick.net/gampad/clk?id=157508191iu=/4140/ostg.clktrk ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] No files restored but disk space used?
Hello. This was just the tip I needed. You saved my day. Thanks. Regards, Florian S. Am 15.09.2014 um 10:51 schrieb Fahrer, Julian: Hi Floarian, 2014-09-15 10:38 GMT+02:00 Florian florian.spl...@web.de mailto:florian.spl...@web.de: Hello, everyone. I am doing final tests with my bacula setup and ran into some weird behavior. I set up an autochanger storage and am currently using the same device for backup and restore. I did a backup of the entire partition E:/ and browsed the files. Everything was there. Then I tried to restore the files to test-folder (avoiding overwrite). Bacula created the new Folder E:/Restore/ and the BAT told me the restore was compelted successfully after about 10 minutes. I opened the folder and it was empty though. Strangely enough, the emount of disk space in use on the harddrive increased. So far I don't have the slightest idea, what the problem may be... When I first tested bacula on a virtual machine, only backing up 2 small files, it worked perfectly fine. Regards, Florian S. When restoring an entire drive under windows, the created top folder will be hidden and marked as system file - so you need to enable Show hidden files and folders and deactive Hide system files in your explorer. Kind regards Julian -- Want excitement? Manually upgrade your production database. When you want reliability, choose Perforce Perforce version control. Predictably reliable. http://pubads.g.doubleclick.net/gampad/clk?id=157508191iu=/4140/ostg.clktrk___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Switch Volume at end of month
Hello. Yes, I thought I will have to use the update command and using it manually is no problem, but I would like to automatically update the Volumes that are currently used for writing Backups at the end of the month. I will probably do this using an Admin Job, but I am unsure how to write a command for the update to happen. I don't have much experience with Unix scripting. Regards, Florian S. Am 15.09.2014 um 14:00 schrieb Ana Emília M. Arruda: Hi Florian, Maybe you could run an Admin Job for update volume status from append to used when the last day of the month is reached? Regards, Ana On Mon, Sep 15, 2014 at 3:40 AM, Florian florian.spl...@web.de mailto:florian.spl...@web.de wrote: Hello. I would like to use a Volume for the duration of one month and after the last backup of a month, I want to change the status of the Volume to Used or Full. I use the Volumes this long to have all Backup-Data from one monthly cycle in one file. I figured out how to check, if it is the last day of the month, but I am not sure how to automatically change the status of the specific Volume that has been used till then. Any suggestions are appreciated. Regards, Florian S. -- Want excitement? Manually upgrade your production database. When you want reliability, choose Perforce Perforce version control. Predictably reliable. http://pubads.g.doubleclick.net/gampad/clk?id=157508191iu=/4140/ostg.clktrk___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Switch Volume at end of month [Solved]
Hello. This is absolutely perfect. Thank you very much! Regards, Florian Am 15.09.2014 um 18:37 schrieb Andrea Conti: Hello, I will probably do this using an Admin Job, but I am unsure how to write a command for the update to happen. I don't have much experience with Unix scripting. In order to update the status of a volume you can either pipe an update command through bconsole or access the database directly. Personally I find that going through bconsole, while technically cleaner, is extremely cumbersome (mainly because it is not that easy to find out exactly which volumes you need to update without doing a lot of output parsing and possibily even some queries), so I went the database way. Just to give you an idea, this is what I use in my setup in order to manually rotate the active volume in my pools at the beginning of every month: Job { Name = MarkDiskVolumeUsed JobDefs = DefaultJob Type = Admin FileSet = Catalog Schedule = sched.MF.00 RunBeforeJob = /usr/libexec/bacula/mark_disk_volumes_used db_name db_user db_passwd Priority = 1 } The sched.MF.00 schedule is such that this job is run at the *beginning* of the month, immediately before any backup jobs that will write to one of the affected pools. I find it easier this way than to run at the end of the month, as it is easier to predict the start time than the end time of backup jobs; however either can be done by choosing the right schedule and priority relative to your backup jobs. This is the mark_disk_volumes_used script: #!/bin/sh if [ $# -lt 3 ]; then echo Usage: $0 dbname dbuser dbpassword exit fi for pool in list_of_pools; do STATEMENT=update media set volstatus='Full' where poolid=(select poolid from pool where name='${pool}') and volstatus='Append' and voljobs 0 and volbytes 50; echo ${STATEMENT} | PGPASSWORD=$3 psql -U $2 $1 -f - done It will take the database connection parameters on the command line and will set every volume in 'Append' status within one of the pools listed in list_of_pools and with at least 5GB of written data to 'Full'. The filter on the volume size is there so that you can have more than one appendable volume within each pool (either because of preallocation or auto-recycling), but only the one which has actually been used for backups will be marked full; you may need to adjust the amount based upon your installation and backup schedule. The script above is for a postgreSQL database; if you are using something else you will have to update the next-to-last line with the appropriate command to execute a given query with the right user credentials. HTH, andrea -- Want excitement? Manually upgrade your production database. When you want reliability, choose Perforce. Perforce version control. Predictably reliable. http://pubads.g.doubleclick.net/gampad/clk?id=157508191iu=/4140/ostg.clktrk ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Autochanger: yes or no?
Hello. I have a possibly simple question: I am planning to save backups on a not removable hard drive and want bacula to automatically label new Volumes when required. Is using one Device Resource in the Storage daemon enough or is there any use for an autochanger in this case? Thanks. -- Want excitement? Manually upgrade your production database. When you want reliability, choose Perforce Perforce version control. Predictably reliable. http://pubads.g.doubleclick.net/gampad/clk?id=157508191iu=/4140/ostg.clktrk ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Permission issues with mounted folder mounting and unmounting with bacula
Hello. I figured out the first problem myself: I forgot to give username and password for the script, so the mounting didn't work. About the second thing: ls -la only gives me Cannot access //IP/Data/Bacula: File or folder not found. I can only do ls with the mountpoint sudo -u bacula ls -ls /mnt/Samba, which gives me drwxrwxr-x 2 root root0 Aug 14 08:29 . drwxr-xr-x 3 root root 4096 Aug 13 07:38 .. -rwxtwxr-x 0 root root 11 Aug 14 08:29 Test.txt Regards, Florian Am 13.08.2014 um 16:32 schrieb Martin Simmons: What does ls -la //IP/Data/Bacula show (after mounting it while running as the use that runs the director)? __Martin -- ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users -- ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Permission issues with mounted folder mounting and unmounting with bacula
Hello. I have two problems, still trying to setup my first bacula system. The scenario: I have an ubuntu server 12.0.4 with bacula running on it and a windows server, on which I want to save the backup files / volumes. Best case would be to mount and unmount the windows server folder (via samba) during a bacula job. I added the windows server's folder to fstab. I can mount and unmount it via terminal. I modified the sudoers file so that bacula is allowed to use those commands without requiring a password. In the director file, I added thesescripts to my backup job, where IP is the windows server: Run Before Job = sudo mount //IP/Data/Bacula Run After Job = sudo umount //IP/Data/Bacula Now here are the problems: 1. the scripts in bacula-dir.conf don't seem t have any effect. I tried mounting via terminal and commenting out the Run Before Job-part. After running the job, the folder was still mounted though. Tried it the other way around, too. 2. (This is not so much related to bacula) When attempting a backup, it cancels with a timeout: Fatal error: max run time exceeded, job cancelled.. Prior to this I already get an error from the storage daemon Permission denied, while it tries to write to / create a volume. I tried making bacula the owner of the mounted folder, but that didn't help either. Thanks in advance for any advise. -- ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] director can't connect to windows client
Hello. First let me say that i am new to bacula and have little experience with Linux in general. I managed to compile and install Bacula 7.0.4 on a virtual machine with ubuntu server 12.0.4. I wanted to do some tests by using my actual machine (Windows 7 x64) as client, running bacula-fd 5.2.10 on it. All the bacula components are running and server and client are connected (at least i can ping one machine from the other). I did the setup so that the client has the local IP 10.1.1.3 and the server uses the IP 10.1.1.2. (only for test purposes) Whenever I try to run a job or check the status of the windows file daemon though, the director is unable to connect. The firewall is not causing the problem. I even deactivated it for one test. I checked the config multiple times and, how I understood it, it looked perfectly fine. Here is part of the client config: -- FileDaemon { Name = Windows-fd FDport = 9102 WorkingDirectory = C:\\Program Files\\Bacula\\working Pid Directory = C:\\Program Files\\Bacula\\working Maximum Concurrent Jobs = 10 } Director { Name = ubuntu-dir Password = baculaWindows } -- And this is the corresponding part from the director config: -- Director { Name = ubuntu-dir DIRport = 9101 QueryFile = /etc/bacula/query.sql WorkingDirectory = /var/lib/bacula PidDirectory = /var/run Maximum Concurrent Jobs = 10 Password = baculaconsole Messages = Daemon } Client { Name = Windows-fd Address = 10.1.1.3 FDPort = 9102 Catalog = MyCatalog Password = baculaWindows File Retention = 60 days Job Retention = 6 months AutoPrune = yes } -- I looked up various tutorials and am rather stuck here. Any help is highly appreciated. -- ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] director can't connect to windows client
Hello, Marius. Thank you for your quick reply. I tried telnet (Firewalls inactive), but was not able to connect to the client. Adding the FDAddress to the config file did not work either. When testing it, I always get the error Keyword not permitted in this resource. I typed it like this: FileDaemon { Name = Windows-fd FDport = 9102 FDAddress = 10.1.1.2 WorkingDirectory = C:\\Program Files\\Bacula\\working Pid Directory = C:\\Program Files\\Bacula\\working Maximum Concurrent Jobs = 10 } I don't know, if this helps, but I also tried netstat -an | findstr 910[123] on the windows machine to check the ports and got this result: TCP0.0.0.0:91020.0.0.0:0 LISTEN TCP10.1.1.3:6413510.1.1.2:9101CREATED Regards, Florian Am 12.08.2014 um 10:44 schrieb Marius Masalas: Hi, Can you telnet to client's 9102 port from director's machine? If firewall is not active, I'd suggest you also specify FDAddress in FileDaemon configuration to make sure daemon listens on correct network interface. Regards, Marius On Tue, Aug 12, 2014 at 9:04 AM, Florian florian.spl...@web.de mailto:florian.spl...@web.de wrote: Hello. First let me say that i am new to bacula and have little experience with Linux in general. I managed to compile and install Bacula 7.0.4 on a virtual machine with ubuntu server 12.0.4. I wanted to do some tests by using my actual machine (Windows 7 x64) as client, running bacula-fd 5.2.10 on it. All the bacula components are running and server and client are connected (at least i can ping one machine from the other). I did the setup so that the client has the local IP 10.1.1.3 and the server uses the IP 10.1.1.2. (only for test purposes) Whenever I try to run a job or check the status of the windows file daemon though, the director is unable to connect. The firewall is not causing the problem. I even deactivated it for one test. I checked the config multiple times and, how I understood it, it looked perfectly fine. Here is part of the client config: -- FileDaemon { Name = Windows-fd FDport = 9102 WorkingDirectory = C:\\Program Files\\Bacula\\working Pid Directory = C:\\Program Files\\Bacula\\working Maximum Concurrent Jobs = 10 } Director { Name = ubuntu-dir Password = baculaWindows } -- And this is the corresponding part from the director config: -- Director { Name = ubuntu-dir DIRport = 9101 QueryFile = /etc/bacula/query.sql WorkingDirectory = /var/lib/bacula PidDirectory = /var/run Maximum Concurrent Jobs = 10 Password = baculaconsole Messages = Daemon } Client { Name = Windows-fd Address = 10.1.1.3 FDPort = 9102 Catalog = MyCatalog Password = baculaWindows File Retention = 60 days Job Retention = 6 months AutoPrune = yes } -- I looked up various tutorials and am rather stuck here. Any help is highly appreciated. -- ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net mailto:Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users -- ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] director can't connect to windows client
I did a double check and deactivated anything I could find. ...and yes, it works now. I didn't expect the connection between my client and the virtual machine to be treated as a public network, so I had the firewall inactive for private networks only. My mistake. Thanks for getting me on the right track! I'm assuming I won't need FDAdress for now then. Regards, Florian Am 12.08.2014 um 13:24 schrieb Marius Masalas: Well, port is open, you can ping remote machine, but you cannot telnet to that port. It still sounds very much like some kind of firewall issue. You said firewall was inactive, but it never hurts to double check. Can you check windows firewall *.log files in C:\Windows\System32\LogFiles\Firewall and see if there are any entries about denied requests to port 9102? Not sure what's wrong with FDAddress keyword. I have it some of my config (FD) files and bacula doesn't complain. Regards, Marius On Tue, Aug 12, 2014 at 1:32 PM, Florian florian.spl...@web.de mailto:florian.spl...@web.de wrote: Hello, Marius. Thank you for your quick reply. I tried telnet (Firewalls inactive), but was not able to connect to the client. Adding the FDAddress to the config file did not work either. When testing it, I always get the error Keyword not permitted in this resource. I typed it like this: FileDaemon { Name = Windows-fd FDport = 9102 FDAddress = 10.1.1.2 WorkingDirectory = C:\\Program Files\\Bacula\\working Pid Directory = C:\\Program Files\\Bacula\\working Maximum Concurrent Jobs = 10 } I don't know, if this helps, but I also tried netstat -an | findstr 910[123] on the windows machine to check the ports and got this result: TCP 0.0.0.0:9102 http://0.0.0.0:9102 0.0.0.0:0 http://0.0.0.0:0 LISTEN TCP 10.1.1.3:64135 http://10.1.1.3:64135 10.1.1.2:9101 http://10.1.1.2:9101CREATED Regards, Florian Am 12.08.2014 um 10:44 schrieb Marius Masalas: Hi, Can you telnet to client's 9102 port from director's machine? If firewall is not active, I'd suggest you also specify FDAddress in FileDaemon configuration to make sure daemon listens on correct network interface. Regards, Marius On Tue, Aug 12, 2014 at 9:04 AM, Florian florian.spl...@web.de mailto:florian.spl...@web.de wrote: Hello. First let me say that i am new to bacula and have little experience with Linux in general. I managed to compile and install Bacula 7.0.4 on a virtual machine with ubuntu server 12.0.4. I wanted to do some tests by using my actual machine (Windows 7 x64) as client, running bacula-fd 5.2.10 on it. All the bacula components are running and server and client are connected (at least i can ping one machine from the other). I did the setup so that the client has the local IP 10.1.1.3 and the server uses the IP 10.1.1.2. (only for test purposes) Whenever I try to run a job or check the status of the windows file daemon though, the director is unable to connect. The firewall is not causing the problem. I even deactivated it for one test. I checked the config multiple times and, how I understood it, it looked perfectly fine. Here is part of the client config: -- FileDaemon { Name = Windows-fd FDport = 9102 WorkingDirectory = C:\\Program Files\\Bacula\\working Pid Directory = C:\\Program Files\\Bacula\\working Maximum Concurrent Jobs = 10 } Director { Name = ubuntu-dir Password = baculaWindows } -- And this is the corresponding part from the director config: -- Director { Name = ubuntu-dir DIRport = 9101 QueryFile = /etc/bacula/query.sql WorkingDirectory = /var/lib/bacula PidDirectory = /var/run Maximum Concurrent Jobs = 10 Password = baculaconsole Messages = Daemon } Client { Name = Windows-fd Address = 10.1.1.3 FDPort = 9102 Catalog = MyCatalog Password = baculaWindows File Retention = 60 days Job Retention = 6 months AutoPrune = yes } -- I looked up various tutorials and am rather stuck here. Any help is highly appreciated. -- ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net mailto:Bacula-users@lists.sourceforge.net
[Bacula-users] Restore Error
While doing a restore of a Windows backup I'm receiving *** Restore Error *** as termination status. There are many files being restored but it is not obvious to me what is failing. Looking at the logs of the fd I'm restoring with I'm seeing many lines resembling the one below which I assume is what ultimately fails the restore. Can you confirm this is the problem or provide me pointers of another way to delve into this problem? Also, are those Errors related to permission issues/hidden files or such and is this something that I need to be worried about? From the fd log: 13-Jun 16:40 megalith-fd JobId 219: Error: file_create.c:378 Unknown file type 26; not restored: c:/ProgramData/Application Data/ From the director: 13-Jun 13:10 bacula-dir JobId 218: Error: Bacula bacula-dir 7.0.4 (04Jun14): Build OS: x86_64-redhat-linux-gnu redhat Cat) JobId: 218 Job:Megalith_Restore.2014-06-13_12.44.37_04 Restore Client: Megalith-fd Start time: 13-Jun-2014 12:44:39 End time: 13-Jun-2014 13:10:37 Files Expected: 496 Files Restored: 496 Bytes Restored: 417,733,039,355 Rate: 268121.3 KB/s FD Errors: 187 FD termination status: Error SD termination status: OK Termination:*** Restore Error *** 13-Jun 13:10 bacula-dir JobId 218: Begin pruning Jobs older than 3 months . 13-Jun 13:10 bacula-dir JobId 218: No Jobs found to prune. 13-Jun 13:10 bacula-dir JobId 218: Begin pruning Files. 13-Jun 13:10 bacula-dir JobId 218: No Files found to prune. 13-Jun 13:10 bacula-dir JobId 218: End auto prune. -- HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions Find What Matters Most in Your Big Data with HPCC Systems Open Source. Fast. Scalable. Simple. Ideal for Dirty Data. Leverages Graph Analysis for Fast Processing Easy Data Exploration http://p.sf.net/sfu/hpccsystems___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Help with retention periods
Hey guys, I'm currently looking into implementing a backup-cycle that takes daily incrementals, weekly differentials and monthly fulls (actually VirtualFulls in my case). The goal is to be able to restore a file in its daily state for a 'sliding window' of roughly one month. My other goal is to recycle volumes as quickly as possible after they expire (to save diskspace and to have a somewhat constant count of volumes). My main question is if the retention periods I set are sane for the goals I have in mind or if there are other catches I'm not aware of. My schedule looks like: Schedule { Name = WeeklyCycle Run = VirtualFull 1st sun at 20:00 Run = Differential 2nd-5th sun at 20:00 Run = Incremental daily at 23:05 } Pool { Name = {{ hostname }}-Full Pool Type = Backup Recycle = yes AutoPrune = yes *Volume Retention = 34 days* Maximum Volume Bytes = 50G LabelFormat = {{ hostname }}-Full- Maximum Volume Jobs = 1 Action On Purge = Truncate Storage = {{ storage_node }} Next Pool = {{ hostname }}-Virt } Pool { Name = {{ hostname }}-Incr Pool Type = Backup Recycle = yes AutoPrune = yes *Volume Retention = 8 days* Maximum Volume Bytes = 50G LabelFormat = {{ hostname }}-Incr- Maximum Volume Jobs = 1 Action On Purge = Truncate } Pool { Name = {{ hostname }}-Diff Pool Type = Backup Recycle = yes AutoPrune = yes *Volume Retention = 9 days* Maximum Volume Bytes = 50G LabelFormat = {{ hostname }}-Diff- Maximum Volume Jobs = 1 Action On Purge = Truncate } Thanks for your help! -- Learn Graph Databases - Download FREE O'Reilly Book Graph Databases is the definitive new guide to graph databases and their applications. Written by three acclaimed leaders in the field, this first edition is now available. Download your free book today! http://p.sf.net/sfu/NeoTech___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Bootstrap file - director move
Hi all, I was wondering if it is essential to move bootstrap files that have been created by bacula when moving the director? I have done some initial testing of moving my director to another host (and then restoring the sql catalog), which seemed to work just fine. It's not clear to me what the role of the bootstrap file is now and whether it will break my restores not to have moved them along? I'm running bacula 7.0.3 Cheers, -- Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE Instantly run your Selenium tests across 300+ browser/OS combos. Get unparalleled scalability from the best Selenium testing platform available Simple to use. Nothing to install. Get started now for free. http://p.sf.net/sfu/SauceLabs___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Automated Disk Backup - VirtualFull and the Default Pool
Hey guys, I was playing around with the VirtualFull feature in Bacula (running 7.0.3) in a configuration that has a Full, Differential and Incremental Pools as well as a Default pool. I was following the example given in the documentation but have the intention to extending it with VirtualFull to accommodate my use-case. http://www.bacula.org/5.2.x-manuals/en/main/main/Automated_Disk_Backup.html Now first of all the example from the documentation doesn't define a Default pool and the director won't even start. I've therefore created a default pool with as little configuration as possible. The issues when I try to run a VirtualFull for my Backup Job from the console is that it responds with: No Next Pool specification found in Pool Default. If I specify the NextPool to be the FullPool it complains about: Fatal error: No Storage specification found in Next Pool For the different backup levels I have defined which pool to use in the Job definition. Full Backup Pool = Xylou-Full Incremental Backup Pool = Xylou-Incr Differential Backup Pool = Xylou-Diff It seems there is no VirtualFullBackupPool key (yet?), but I also don't see why the VirtualFull could not happen in the Full Backup Pool. I was under the impression that the VirtualFull would not need a separate pool anymore in Bacula 7.0.x and am really hoping to work around implementing a virtual tape library or migration jobs after a VirtualFull run so any advice how I can make VirtualFulls working without those would be greatly appreciated. Thanks! -- Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE Instantly run your Selenium tests across 300+ browser/OS combos. Get unparalleled scalability from the best Selenium testing platform available Simple to use. Nothing to install. Get started now for free. http://p.sf.net/sfu/SauceLabs___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] two usage questions
Hi, do you know when you have some itching question that just won’t go away? First one: I know various people (including me) that store to disk, and tried Action on Purge = Truncate but they all reported that the actual filesystem files did not get truncated to zero bytes. Especially when using a Volume just once, this is rather unfortunate. So, question: does action on purge = truncate actually work for someone here? Second one: Is there a best practice to make sure that Bacula requests a new tape during daytime? (We’re using maximum use duration of 15 days or so, and the problem is that it usually decides to ask for a new tape some time in the night. Then, that backup is stalled, until someone switches the tapes, Bacula writes a few meg on the new tape and then it’s happy. Sadly that means we’d need to offsite both tapes. Backup to that tape is done Weekly on Sundays. Maybe it’s just some bad timing offset we started with? What I’d want is that it just asks for a new tape on time :) Should I simply make a mail cron job that asks for a new tape on Friday, and add a little wiggle room on the max duration? Thanks for any advice, Florian -- Rapidly troubleshoot problems before they affect your business. Most IT organizations don't have a clear picture of how application performance affects their revenue. With AppDynamics, you get 100% visibility into your Java,.NET, PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro! http://pubads.g.doubleclick.net/gampad/clk?id=84349831iu=/4140/ostg.clktrk ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Dynamic Filesets / excludes
Hi there, I've been taking my first steps with a client side script in my filesets. The script should detect all local filesystems. It seems this works (cool), but it seems my excludes stopped working (bad). This is the most of my fileset definition: FileSet { Name = Full Set Include { Options { #compression = GZIP1 compression = LZO signature = SHA1 Accurate= mcs Verify = pin5 sparse = yes One FS = yes } # Only works on Linux. File =\\|bash -c \df -PTlk -x smbfs -x tmpfs -x cifs -x iso9660 -x udf -x nfsv4 -x nfs -x mvfs | tail -n +2 | awk '{print \$7}'\ } Exclude { File = /mnt File = /mnt/backup File = /xen/osimages File = /usr/ports [...] With that I'm running estimate on a client that has the following filesystems: Filesystem 1K-blocks Used Available Use% Mounted on /dev/sdc3 5464880 482632 4681604 10% / mdev 10240 1024 0% /dev shm 4066880406688 0% /dev/shm tmpfs 406688 120406568 1% /run cgroup_root 102400 10240 0% /sys/fs/cgroup /dev/sdc19505015142 72742 18% /boot /dev/vgxen_raid10/lvosimages 30832636 15634680 13608964 54% /xen/osimages I'd expect it to not save /xen/osimages due to the Exclude list above. But when I run a backup of this client it'll store data from an excluded filesystem: JobId 11052 Job Backup-x.2013-10-03_19.43.39_22 is running. Full Backup Job started: 03-Oct-13 17:48 Files=14,452 Bytes=5,405,889,753 Bytes/sec=20,633,166 Errors=0 Files Examined=14,452 Processing file: /xen/osimages/servegate_sg-300-20gb-ide.gz SDReadSeqNo=5 fd=5 Director connected at: 03-Oct-13 17:53 This problem gives me a slight increase in backup volume over all clients, so any help would be very appreciated Thanks a lot! Florian -- October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register http://pubads.g.doubleclick.net/gampad/clk?id=60134791iu=/4140/ostg.clktrk___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Adhoc Job and waiting it out ;)
Hi, 2013/1/19 Adrian Reyer bacula-li...@lihas.de On Fri, Jan 18, 2013 at 04:00:47PM +0200, Florian Heigl wrote: ssh client-to-backup -n bconsole run a backup for this box and keep sitting until the backup is completed Something like this should do the trick: echo run job=XY yes wait job=XY | ssh client-to-backup bconsole How do you automate your off-schedule backups? this was what I was looking for! Below for the curious or google's hunger. I've tested it and it works as it should. I've added a level=Incremental to it. + echo 'run job=Backup-vmid.xenvms.de level=Incremental yes wait job=Backup-vmid.xenvms.de' + bconsole Connecting to Director xx:9101 1000 OK: xx-dir Version: 5.0.3 (30 August 2010) Enter a period to cancel a command. run job=Backup-vmid.xenvms.de level=Incremental yes Using Catalog MyCatalog Job queued. JobId=7206 You have messages. wait job=Backup-vmid.xenvms.de JobId=7206 JobStatus=OK (T) Now i'm thinking about how to safely wrap around it - I need to respect the jobs status. - if it didn't back up successful then my batch should abort, so I need to squeeze some return code from it. I think I'll go the really easy way now by screenscraping the JobStatus=OK from here. Nothing wrong about it since I'd rather abort on any unexpected situation. So the question ends with: echo 'run job=Backup-vmid.xenvms.de level=Incremental yes wait job=Backup-vmid.xenvms.de' | bconsole | grep 'JobStatus=OK' Anything goes wrong, I get an according error from the grep. I thought about skipping the backup if it's not needed, i.e. because the last ran 2 hours ago. That part i'll not bother with for now :) (If you're really picky you'll see I've not yet split out the OS level backups, thats the really hard part still ;) Many thanks Greetings to Stuttgart, Florian -- the purpose of libvirt is to provide an abstraction layer hiding all xen features added since 2006 until they were finally understood and copied by the kvm devs. -- Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122912___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] save DB's online
For Postgres the Bacula wiki has a nice description that uses the archive log mode bpipe. I think that gets along online well. For MySQL I've also read that some people use dedicated slaves for the backups. Imho that's a nice method if you have more than a little of data to safe and no downtime. Greets, Florian 2013/1/18 K. M. Peterson kmp.lists+bacula-us...@gmail.com What do you mean by online? In some environments, this is a synonym for hot, so I interpret your question as whether Bacula has any particular specialized interface into any of these db engines that allows it to copy data in a consistent state. The answer is no. What I think most of are doing is using the db copy or dump functionality or LVM (and similar technology) snapshots. _KMP On Thursday, January 17, 2013, Sven Gehr wrote: Hi@all, is it possible to backu databases e.g. mysql, pgsql (on other hosts) with bacula online? -- Viele Grüsse Sven Gehr -- Viele Grüsse Sven Gehr -- Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnmore_122712 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users -- Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and much more. Get web development skills now with LearnDevNow - 350+ hours of step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122812 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users -- the purpose of libvirt is to provide an abstraction layer hiding all xen features added since 2006 until they were finally understood and copied by the kvm devs. -- Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122912___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Adhoc Job and waiting it out ;)
Hi, I'm currently building some poor man's batch jobs, for example for updating a clients' operating system I would to automate - the update - the backup prior to the update Now, the question is: Can I do the following: ssh client-to-backup -n bconsole run a backup for this box and keep sitting until the backup is completed For this task I'd like to avoid something like a flag file (I actually generate a /etc/bacula/last-backup from the nightly backup jobs) and really just have the console sitting until completion. Is it possible? How do you automate your off-schedule backups? Florian -- the purpose of libvirt is to provide an abstraction layer hiding all xen features added since 2006 until they were finally understood and copied by the kvm devs. -- Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and much more. Get web development skills now with LearnDevNow - 350+ hours of step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122812___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Client side FS detection
Hi all, I'm aware this must be sort of an FAQ. I just failed to find good examples in my searches. What I'm looking for is how others solved listing the filesystems on a client using a client-side command that is configured on the dir. My goal is to backup everything local on a system, but the standard example of looking for i.e. mounts from hda and hdb is not good. For the sake of an example, lets say the individual servers could be running FreeBSD or Linux and could be using udev to rename their disks, or could be attaching more using iSCSI. One idea I can think of is using a list of filesystem types that matter. That way you can handle most things and also exclude cluster filesystems like ocfs2 that should best be backed up with a different job and separate fd. On the other hand this idea might break if someone uses an esoteric zbcdfs which i'm not expecting in my list of good filesystems. How have you gone about solving this? Florian -- the purpose of libvirt is to provide an abstraction layer hiding all xen features added since 2006 until they were finally understood and copied by the kvm devs. -- Master Java SE, Java EE, Eclipse, Spring, Hibernate, JavaScript, jQuery and much more. Keep your Java skills current with LearnJavaNow - 200+ hours of step-by-step video tutorials by Java experts. SALE $49.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122612 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] GZIP not supported on this Client
2013/1/15 Novosielski, Ryan novos...@umdnj.edu: Sounds to me like the client was built without the GZIP library or something like that. That's unfortunate, but my guess is the solution is to create/restore a backup that isn't GZIP compressed or to build a new client that includes support. Generally, that sounds like the solution is fixing the documentation :) SCNR, Florian -- Master Java SE, Java EE, Eclipse, Spring, Hibernate, JavaScript, jQuery and much more. Keep your Java skills current with LearnJavaNow - 200+ hours of step-by-step video tutorials by Java experts. SALE $49.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122612 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] LTO5 speed
Hey Frank, 2013/1/3 f.staed...@dafuer.de: thank you all for your replies. I did some testing and set Maximum File Size to 30GB now instead of the 1GB default. Now the drive sounds much healthier. from what i remember the manual recommends something like 2GB Maximum File Size for LTO2-3, so i guess LTO5 would be served well with 4GB. I use a 6 disk SAS RAID0 array for spooling - and with testing raw reading is about 350-400MB/s, think that should even fit for compressable data. Right now the limiting factor of the overall backup is the gigabit LAN :-) Thanks for every input! one more thing to try is raising the readahead setting for your raid0 device, if you haven't done that yet. If this happens to be a linux server you could do this by echo 8192 /sys/block/md0/queue/readahead_kb for a software raid. If it's a hardware raid, use the device name of that instead of md0. (please check the exact file names and path since I can't look at one right now) My experience was that throughput generally went up a lot, and also I think it should stabilize concurrent read/write. 8192 equals 8MBytes; in my tests I've seen the best value to be either 4 or 8MB, depending on the number of and type of the disks in use. Too high values and my throughput values would drop. Florian -- Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122912 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Configuring Bacula-SNMP subagent
Hi, 2012/4/27 Martin Simmons mar...@lispworks.com: On Thu, 26 Apr 2012 23:10:41 +0200, Florian Heigl said: I'm getting an error that says the following (which I translate to Hey user, I didn't read my config) Thanks Martin! Get rid of all of the comments, quotes and whitespace from the config file. See http://rout-tpl.no-ip.biz/wiki/index.php?title=Bacula_snmpredirect=no My perl-speaking friend came up with the same advice. I also found bacula-snmp chocked on some extra fields of the media status. We might make a patch for that. By the way - Do you have any idea why so few people use this? Because, in theory this is the best way reporting could be and I would feel a little less out of place with the rest of humanity if I understood why not everything is using this to automate their reporting :) I've also used bweb and bacula-web in earlier days, but SNMP feels more natural to me than human looking at things Greetings, Florian -- the purpose of libvirt is to provide an abstraction layer hiding all xen features added since 2006 until they were finally understood and copied by the kvm devs. -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Configuring Bacula-SNMP subagent
Hi, I'm trying to make the snmp subagent from http://www.bayour.com/Softwares/bacula-snmp/ work. If I get it to work I could write a small tiny Nagios Check for it like the already included Cacti template. This works by connecting to the bacula database using Perl DBD:MySQL which I installed. I'm getting an error that says the following (which I translate to Hey user, I didn't read my config) [root@waxu0604 bacula-snmp-1.4]# ./bacula-snmp-stats.pl Use of uninitialized value in concatenation (.) or string at ./bacula-snmp-stats.pl line 352. Use of uninitialized value in concatenation (.) or string at ./bacula-snmp-stats.pl line 352. Use of uninitialized value in concatenation (.) or string at ./bacula-snmp-stats.pl line 352. Can't connect to data source database=:host=, no database driver specified and DBI_DSN env var not set at ./bacula-snmp-stats.pl line 358 This is the config file in /etc/bacula [root@waxu0604 bacula]# cat .conn_details # Optional arguments # DEBUG=4 # DEBUG_FILE=/var/log/bacula-snmp-stats.log # IGNORE_INDEX=1 # # Required options # Create different user for this reporter! USERNAME=baculadir PASSWORD=changed DB=bacula HOST=127.0.0.1 CATALOG=MyCatalog The connect string just must be wrong, on the other hand it really seems to just not read anything at all. Does any of you have it working? Can you let me know if that config looks right? Greetings, Florian -- the purpose of libvirt is to provide an abstraction layer hiding all xen features added since 2006 until they were finally understood and copied by the kvm devs. -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Performance options for single large (100TB) server backup?
Hi, Breaking the server into multiple file daemons sounds as broken as breaking the stuff amanda users had to do (break your filesystem into something that fits a tape). Saving multiple streams is something that has been proven as a solution for many years, and where that is still too slow NDMP comes into place. (in case of ZFS NDMP is still at a unusable stage) 100TB is a lot, but I wonder if everyone agrees the right solution would be saving multiple streams instead of splitting up the source system (will be fun to do a restore of such a split client)... Hopefully some of the larger Bacula customers will fund these features some day, as both have the mix of being very important, complex and elemental changes :)) *hint hint* -- 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] Console ACL help needed
Hi all, I'm going to use Bacula for a hosting-like scenario where I need to go really really sure that every user can only access his own data. They might have multiple backuped clients and it would be OK for them to restore from one to another, but no other client should be visible or accessible. I have tinkered around with the ACLs already and haven't gotten it to work nicely yet, like, I kind of miss a bitmap which rights exist and which one depends on which other one etc. The current examples are very very limited and I even found one posting on the list where the poster found that he just had to remove his access key and got the access back (maybe misconfigured, I hope it). To make it short it's very tedious and with the current doc you can't feel you got everything right. Does one of you have working experience with ACLs and is willing to write a short better manual for it? I definitely don't mean people that can (just like me) look at the archives and point to postings or have only used ACLs for 10 servers, because this would be too limited to improve the current manual. This would be paid for by me (think around = $100, for 1-2 hours of writing down the important stuff with some examples) and could then be added to the bacula manual or to the wiki or whereever people seem fit. I'm not interested to call it secret sauce and keep to myself. I trust someone is around who knows this stuff well and I hope he's interested :) Greetings from sunny-rainy-sunny Germany, Florian -- the purpose of libvirt is to provide an abstraction layer hiding all xen features added since 2006 until they were finally understood and copied by the kvm devs. -- 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] postgres tuning?
Hi all, Within psql/mysql: 1) select count(*) from File; 1sec 30min Disclaimer: I don't know a dime's worth of databases per se. But I spend a lot of time hunting other peoples performance issues. :) I think you should start identifying the cause for this bit at the very first, as it shows the absolutely worst perfomance and probably what slows this also slows the rest. My nose says this is really smelly and should'nt even take as long without any indexes. Can you verify whether the system swaps during your test commands or doesn't? sar -dp 100 1 | grep -v nodev will do nicely with the external storage. also can you please let us know the iowait times (also from sar) and promise it's not a Raid5 array you have in use? (but, admittedly it doesn't explain for a big difference between mysql and postgresql) Also, I don't know if I would value RedHat supporting postgre 8.1 higher than running 8.4.1 :) Florian -- 'Sie brauchen sich um Ihre Zukunft keine Gedanken zu machen' -- ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] postgres tuning?
Also, I don't know if I would value RedHat supporting postgre 8.1 higher than running 8.4.1 :) after all, you had to ask here, not at RedHat. -- 'Sie brauchen sich um Ihre Zukunft keine Gedanken zu machen' -- ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] No longer working with nunet
Dear Sender, i am no longer working with nunet. Your mail will not be forworded. Please direct all mail to nunet Operations Team (operati...@nunet.de) -- 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] No longer working with nunet
Dear Sender, i am no longer working with nunet. Your mail will not be forworded. Please direct all mail to nunet Operations Team (operati...@nunet.de) -- 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] No longer working with nunet
Dear Sender, i am no longer working with nunet. Your mail will not be forworded. Please direct all mail to nunet Operations Team (operati...@nunet.de) -- 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
Re: [Bacula-users] What new feature are you waiting for?
2008/11/5, Hemant Shah [EMAIL PROTECTED]: --- On Thu, 11/6/08, Jose Ildefonso Camargo Tolosa [EMAIL PROTECTED] wrote: From: Jose Ildefonso Camargo Tolosa [EMAIL PROTECTED] Subject: Re: [Bacula-users] What new feature are you waiting for? To: [EMAIL PROTECTED] Cc: John Drescher [EMAIL PROTECTED], bacula-users@lists.sourceforge.net bacula-users@lists.sourceforge.net Date: Thursday, November 6, 2008, 5:35 AM On Thu, Nov 6, 2008 at 10:06 AM, Hemant Shah [EMAIL PROTECTED] wrote: --- On Tue, 11/4/08, John Drescher [EMAIL PROTECTED] wrote: From: John Drescher [EMAIL PROTECTED] Subject: Re: [Bacula-users] What new feature are you waiting for? To: [EMAIL PROTECTED] Cc: junior.listas [EMAIL PROTECTED], Frank Sweetser [EMAIL PROTECTED], bacula-users@lists.sourceforge.net bacula-users@lists.sourceforge.net Date: Tuesday, November 4, 2008, 10:05 AM Converting it to an XML file would not pose the problems specified in the above wiki, there are lots of tools to create/parse XML files tha could be useful. I would vote against this if I could. I mean this will make it harder for me to edit the configuration files through ssh and to me any gui tools to edit the files will just get in the way being that I have 40+ clients and about 75 different jobs. John How would it be difficult to edit file through ssh? If you can edit the current config file you can edit any text (XML) file. Nah, I don't like to edit XML files by hand. It is prone to errors. Just keep the config file format simple, it is easy to create a program that can parse the configuration format and let you edit it using a web or desktop interface, and it is even easier to edit/generate them using a perl script. I use/edit XML just about everyday and I do not find it difficult. Converting current config to XML should be pretty easy. Nowadays lots of web applications (e.g. SOA) exclusively use XML, so, if someone wants to create a web module to support XML there are lots of tools available. the bacula config is well defined, so it should be easy enough to access it the way it is. as long as the web frontend users won't stand next to the admins in the datacenter at midnight to hand edit a config that doesnt work in a d/r scenario we'll do really a lot better by some import/export layer that handles xml conversion, but like Dan said, the basis for baculas config should stay text based. Any frontend that can't deal with parsing the raw files shouldn't be considered trustworthy to edit them IMO. a prime example for this would be hand-fixing the heartbeat2 cluster resource database - 30KB+ of XML and sometimes the tools fail, leaving you to fix whatever config they left you with. Thanks no. There's so many ways to automatically generate the bacula configs (just look in contrib/) and I rather wait another 4 years for an enterprise-grade webfrontend that doesn't need XML to read predefined data and doesnt achieve more than for example a webmin module. If Kern's Bacula Inc. would release a real, professional guy that doesn't bloat my configs I'd pay for that any day. But bloating the configs just in case a good gui comes around? hell no! sorry to be that harsh, but in this case I rather speak up on time... florian -- 'Sie brauchen sich um Ihre Zukunft keine Gedanken zu machen' - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] What new feature are you waiting for?
hi, 2008/11/6, Dan Langille [EMAIL PROTECTED]: On Nov 5, 2008, at 6:23 PM, Florian Heigl wrote: If Kern's Bacula Inc. would release a real, professional guy that doesn't bloat my configs I'd pay for that any day. But bloating the configs just in case a good gui comes around? hell no! sorry to be that harsh, but in this case I rather speak up on time... florian I think you meant GUI, not GUY. Easy typo. But AFAIK, Bacula Inc is there to provide services, not code. It's been stately quite clearly that there will not be two code bases. yes! s/guy/gui/ - that was quite some typo, sorry about it. I'm quite sure the consulting will at some point include writing some code for higher demanding customers than us who have vi. but, anyway, it was just a random example to pick out kern here. hmmm, I was thinking of NetWorker where you have a standard admin gui and a costly addon operations gui. although I very rarely used that, it only excelled for restarting hundreds of jobs FAST after a crash. like someone else just posted - if the frontend can't read the bacula config, then i rather don't want to see the frontend. ;) bye -- 'Sie brauchen sich um Ihre Zukunft keine Gedanken zu machen' - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Speed with gigabit from Windows 2003 to Linux
Alan Brown schrieb: On Tue, 13 Nov 2007, Florian Engelmann wrote: hi, how fast does your windows bacula-fd daemon backup to a linux server? Our backup to disk is (300GB of files) running at 4 MB/s over a gigabit connection (GZIP compressed at default compression level and also tested a crossover connection). Seems to be slow dosn't it? Is there any way to tune it up? Turn off GZIP I turned off GZIP and got this result: 13-Nov 22:05 bacula-dir JobId 2: Bacula bacula-dir 2.2.5 (09Oct07): 13-Nov-2007 22:05:04 Build OS: i686-pc-linux-gnu suse 10.2 JobId: 2 Job:zeus_disk.2007-11-13_22.00.07 Backup Level: Incremental, since=2007-11-12 22:00:03 Client: zeus-fd 2.2.5 (09Oct07) Linux,Cross-compile,Win32 FileSet:zeus_disk 2007-11-12 22:00:00 Pool: sdb1_inc (From Run IncPool override) Storage:sdb1 (From Pool resource) Scheduled time: 13-Nov-2007 22:00:00 Start time: 13-Nov-2007 22:00:02 End time: 13-Nov-2007 22:05:04 Elapsed time: 5 mins 2 secs Priority: 9 FD Files Written: 2,042 SD Files Written: 2,042 FD Bytes Written: 1,249,048,045 (1.249 GB) SD Bytes Written: 1,249,392,305 (1.249 GB) Rate: 4135.9 KB/s Software Compression: None VSS:no Encryption: no Volume name(s): inc-0001 Volume Session Id: 2 Volume Session Time:1194865716 Last Volume Bytes: 1,250,380,268 (1.250 GB) Non-fatal FD errors:1 SD Errors: 0 FD termination status: OK SD termination status: OK Termination:Backup OK -- with warnings Seems we have an Networkproblem. Windows XP clients also have very slow SMB download connections to the Windows 2003 Server. Any Ideas? -- Mit freundlichen Grüssen / Best regards Florian Engelmann EDV Service / IT Services Manntech Fassadenbefahrsysteme GmbH Mannesmannstr. 5 - Industriegebiet Kugelbichl - 82291 Mammendorf Tel.: +49 (0) 8145 / 999 - 271 Email: [EMAIL PROTECTED] http://www.manntech.de - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Bacula backup to disk
hi, we are using bacula to backup our fileserver to disk. Our bacula server has got 500GB disk space and we want the backup to work like this: every 1st saturday of a month at 20:00 start a full backup and overwrite the last one (not enough diskspace to hold 2 full backups) every monday - friday start a incremental backup at 22:00 our schedule looks like this: Schedule { Name = monthly_disk_inc Run = Level=Full IncrementalPool=sdb1_inc FullPool=sdb1_full 1st sat at 20:00 Run = Level=Incremental IncrementalPool=sdb1_inc FullPool=sdb1_full mon-fri at 22:00 } our job like this: Job { Name = zeus_disk Type = Backup Level = Incremental Client = zeus-fd FileSet = zeus_disk Schedule = monthly_disk_inc Storage = sdb1 Messages = Standard Pool = sdb1_inc Full Backup Pool = sdb1_full Incremental Backup Pool = sdb1_inc Differential Backup Pool = sdb1_diff Priority = 9 Write Bootstrap = /var/bacula/zeus_disk.bsr } and our pool like this: Pool { Name = sdb1 Storage = sdb1 Pool Type = Backup Recycle = yes # Bacula can automatically recycle Volumes AutoPrune = yes # Prune expired volumes Volume Retention = 14 days Label Format = file- Maximum Volume Jobs = 1 Maximum Volumes = 3 } ## sdb1 full backup pool Pool { Name = sdb1_full Storage = sdb1 Pool Type = Backup Recycle = yes # Bacula can automatically recycle Volumes AutoPrune = yes # Prune expired volumes Volume Retention = 1 month Label Format = full- Maximum Volume Jobs = 1 Maximum Volumes = 1 } ## sdb1 differential backup pool Pool { Name = sdb1_diff Storage = sdb1 Pool Type = Backup Recycle = yes # Bacula can automatically recycle Volumes AutoPrune = yes # Prune expired volumes Volume Retention = 1 month Label Format = diff- Maximum Volume Jobs = 1 Maximum Volumes = 12 } ## sdb1 incremental backup pool Pool { Name = sdb1_inc Storage = sdb1 Pool Type = Backup Recycle = yes # Bacula can automatically recycle Volumes AutoPrune = yes # Prune expired volumes Volume Retention = 1 month Label Format = inc- Maximum Volume Jobs = 1 Maximum Volumes = 31 } Differential is not used at the moment. Will this setup work? What happens if I start at 13.November.2007? Will Bacula start with a full backup an overwrite the fullbackup tape at 1st saturday on december? Will it also overwrite the incremental tapes that are no more working because of the deleted full backup? Are the Retention times ok? Thanks for you help. -- Mit freundlichen Grüssen / Best regards Florian Engelmann EDV Service / IT Services Manntech Fassadenbefahrsysteme GmbH Mannesmannstr. 5 - Industriegebiet Kugelbichl - 82291 Mammendorf Tel.: +49 (0) 8145 / 999 - 271 Email: [EMAIL PROTECTED] http://www.manntech.de - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Speed with gigabit from Windows 2003 to Linux
hi, how fast does your windows bacula-fd daemon backup to a linux server? Our backup to disk is (300GB of files) running at 4 MB/s over a gigabit connection (GZIP compressed at default compression level and also tested a crossover connection). Seems to be slow dosn't it? Is there any way to tune it up? greetings Florian - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Problems building BAT
Hi there, i got some problems while building BAT from source. During make i encounter the following errors: [...] Makefile:1340: Warnung: Die Befehle für das Ziel »moc/moc_help.cpp« werden überschrieben Makefile:1268: Warnung: Alte Befehle für das Ziel »moc/moc_help.cpp« werden ignoriert /usr/share/qt3/bin/uic run/estimate.ui -o ui/estimate.h uic: File generated with too recent version of Qt Designer (4.0 vs. 3.3.7) make[1]: *** [ui/estimate.h] Fehler 1 make[1]: Leaving directory `/usr/src/bacula-2.2.0/src/qt-console' I use a Debian Etch i386 and tried both with the Debian qt4/qwt Packages and the depkgs-qt-30Jul07.tar.gz from sourceforge. -- Florian Schürfeld [EMAIL PROTECTED] nunet AG - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] [Bacula-devel] feature request : clustered server
Hi, it's also quite close to overkill, but maybe the editiorial queue of scoop (think kuro5hin.org) could be abused. I don't see much of a difference between voting up a good story or a good feature :) Downloads and information are here: http://scoop.kuro5hin.org/ Florian - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] clustered bacula servers
Hi, 2007/5/17, Rich [EMAIL PROTECTED]: is there a functionality (or planned functionality) in bacula to allow two or more server instances work in a way similar to a cluster ? no, and maybe that would probably include two separate instances of director, storage daemon and database that would be able to share/sync information about jobs and job data. that's likewise an active-active cluster then, or at least if one gets that far there's not much reason to stop short of it. but, this is a feature not even most of the highend backup utilities i know easily provide. file daemons would probably have two director access configured, with a way to set a preferred one, which would always contact particular client, except in cases when the preferred one is down. with an older version of bacula i have now, failed first server would require manual reconfiguring of all clients, and it also requires syncing data separately from bacula. in case of geographically distributed servers there also is no way to tell backup jobs to go to a particular server first, so there's increased network traffic as well. i've searched documentation and mailing list archives, but best i could find was about clustered services backup. if you search the archives you might be able to find an old mail inquiring about this; as far as i remember kern stated that at the moment this would require addition of a lot of table locking which isn't there. the database syncing itself is less of an issue, but the state information can't be shared at the moment. I'm taking a stake on using a cluster-aware filesystem beneath the bacula daemons for easy failover, but this is not able to deal with 'Geocluster'-Like scenarios either. Florian - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] rpm for fc6 in a production environment
Hi. 2007/5/5, [EMAIL PROTECTED] [EMAIL PROTECTED]: i have to compile the last bacula release on a server with a strict security policy (production environment) so on the server there isn't gcc. is there an rpm for fedora core 6 pre build and ready to install? There are prebuilt rpms, so i would suggest you try them out. See http://sourceforge.net/project/showfiles.php?group_id=50727 FC6 binary rpms are in the rpms-contrib-fschwarz subdirectory. I use them myself on a couple of FC6/RHEL5 boxes and they work flawless. Good luck, Florian -- 'Sie brauchen sich um Ihre Zukunft keine Gedanken zu machen' - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] make_catalog_backup and passwords
Hi, according to the script, make_catalog_backup expects a database password, if used, to be supplied as Argument $3, which will make catalog backups work in case one is using a password. But, this means one will have the database password showing up in backup logs, which might be available to a wider audience than the BackupCatalog part of the director configuration. I've thought about multiple ways to change this, but so far all consisted of hacking the make_catalog_backup script, which would of course be lost on upgrades. I also thought about adding a readonly database user for doing the backups, but I'm afraid in the long term this would risk having things missing in the backup, due to potential sql permission issues. has one of You found a nice way of handling the password here? -- 'Sie brauchen sich um Ihre Zukunft keine Gedanken zu machen' - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] confused about multiple filestorages and one sd :)
FileStorage01 (/mnt/new/bacula/storage/01) is not open. Device FileStorage02 (/mnt/new/bacula/storage/02) is not open. As the sd spills out status for all devices i assume i probably only need one reference in bacula-dir.conf, or does it just not restrict it's reply to the queried device? (i wish i knew that!) Can I achieve a state where bacula will pick an available device, as long as it's in the right pool? (I guess yes *g*) Well, now any hints? :) Florian p.s.: these are the last stitches for the bacula-related part of the bacula cluster howto; there's a few gaps that will be filled once i build the full setup once, tear it down and rebuilt it successfully. i plan to complete it by end of this month - if you want to check it out, have a look at http://linuxlab.wordpress.com/2007/02/22/bacula-cluster-howto/ -- 'Sie brauchen sich um Ihre Zukunft keine Gedanken zu machen' - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Bacula-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] confused about multiple filestorages and one sd :)
2007/4/13, MasterBrian [EMAIL PROTECTED]: Hi, Device { Name = FileStorage00 Media Type = File Archive Device = /mnt/new/bacula/storage/00 LabelMedia = yes; # lets Bacula label unlabeled media Random Access = Yes; AutomaticMount = yes; # when device opened, read it RemovableMedia = no; AlwaysOpen = no; } I'm had the same problem. In the manual, this situation is covered here at paragraph 23.4 page 337 Section Backing up multiple disks You should change media type from file to file1, file2 etc... Thank you SO much florian -- 'Sie brauchen sich um Ihre Zukunft keine Gedanken zu machen' - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Bacula-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] HP-UX clients
Hi, List Florian Heigl had a repository of binaries for HP-UX (11i) here: http://deranfangvomen.de/~floh/bacula/ but at least now the site is not accessible. The wonders of cheap virtual hosting. The hoster 'migrated servers' and rumor has it there is a backup of my old box available with them somewhere. I'm still trying to find out if I care. On 3/5/07, Xeos Laenor [EMAIL PROTECTED] wrote: I use bacula with success on a RhEL4 Server and i need integrate a HP-UX client in order to backup it. Does a binary client exist for HP-UX (v11 for itanium)? if not, have you some advises for compiling bacula-client on HP-UX (from your own experience)? Itanium works in general, I used a non-root HP testdrive account, but I haven't rebuild it for a long time as I keep forgetting the password. I'll set out to search for my testdrive account so I can build a current ia64 binary, but this might take long time. If the doesn't work out, I'll make you a static 11.11 pa-risc binary, You could use just that as well, as the emulation performance impact is said to be low. What I remember as requirements - current linker patches (hard to tell) - LDFLAGS=-lcl -lpthread - either complete ipv6 headers or ipv6 disabled in configure.in - --enable-static-fd --enable-clientonly so You get a fd that still works if /usr got wiped. :) Florian p.s.: if the marketing drones at HP let 11.23/11.31 be supported on workstations I could of course make a binary for you - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Installing Bacula on Hostsystem or XEN
Hi, 2007/3/5, Dominik Jonas [EMAIL PROTECTED]: we got a new server in our company. It run several services on several XEN virtual machines (e.g. mail, webserver, yp). I want to know if it is better to run bacula in its own XEN or directly on the hostsystem? This server has enough hardware ressource for both. The Xen documentation is quite clear about running services in dom0: do NOT do it. There are reasons for that statement, mostly reasons based on bad experiences following bad choices or as we say dicke finger und keine backups. Xen allows you to export the fc- or scsi hba the tape is connected to to the domU that will use it. From a disaster recovery point of view it is not desirable to have the backups in a domU, unless you're able to provision that domU to a ready state without relying on backups, i.e. bring up the domU on a 2nd dom0 if the dom0 #1 is broken. If You can ensure that and have some xen experience, you could also just run a bacula-sd in dom0, that's not so much pain and/or risk. I've done this for some time after settling my toyground into one larger box - but that was at home, not for a company people rely on. my main advice would be a different, non-virtualized host for the backups. Good luck, Florian - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Info on setting up a second catalog?
2007/2/27, Alan Davis [EMAIL PROTECTED]: Questions for anyone who's currently using secondary catalogs: I may be making this harder than it needs to be, but I need some guidance on just how the second catalog gets used. Either you're making it harder than it needs be, or I missed something: I had a lab environment that got recorded to an extra catalog, let's say 'lab' - after setting Catalog = lab in the client definition and adding a catalog named lab - the backups automatically ended up in lab instead of MyCatalog - the recovers automatically chose 'lab' to browse / restore from. I also hadn't expected this to be the only steps but was hinted there and I can't recall any other issues. - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] minimum privileges for bweb
Hi list, firstofall, I'm just asking here for I'm not aware of a list dealing with bweb yet, and secondly most/all of it's users are going to read it here anyway. i'm currently setting up mysql permissions for bacula and bweb - does anyone know if bweb only needs readonly permissions and does the rest of its features via bconsole? I think so, but maybe I'm completely wrong. Did anyone look into this so far? My reasoning is that the webserver should access using a different account than the director itself. regards, florian -- 'Sie brauchen sich um Ihre Zukunft keine Gedanken zu machen' - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users