Re: [Bacula-users] Vchanger attempts to mount 5 volumes before stopping and requesting magazine change
Hi Josh, thanks for taking the time once again to respond to support my bacula/vchanger project! I was able to read, set up and configure the scripts you supplied, the variables are quite clear and anybody who set up their own bacula system should be able to fill them in. Note that it may be necessary to change the #!/bin/sh at the beginning of the files to #!/bin/bash depending on your system (mine is Ubuntu Server 12.10). I plan to use this script to ensure that all volumes are set to disabled before and after they are used to prevent bacula from trying to use unmounted volumes. Is there any way to trigger this script to run silently as soon as the update slots command is triggered, or is there some other point we could trigger it during the process of swapping drives in the eSATA changer? Perhaps automount could do it and then subsequently use the bcommand script to call update slots in bconsole as well, making the process of changing drives effectively fully automatic and independent from the shell. I won't be operating this system forever, and I want to keep the process as simple as possible for anybody else who has to use it. Thanks mate, Leon On Tue, Mar 26, 2013 at 12:13 AM, Josh Fisher jfis...@pvct.com wrote: On 3/22/2013 5:59 AM, Leon White wrote: Hi list! I am using Bacula 5.2.6 with vchanger 0.8.6 to backup a multi-terabyte fileset to a bunch of 1 and 2TB drives in an eSATA virtual autochanger. I have formatted each drive with one or two 2TB partitions with 186x 5GB volume slots, and vchanger switches between 2 magazine bays when necessary for the 2TB drives. My problem is that when bacula hits the last writable volume in the virtual magazine, it attempts to load the next appendable volume from the next available magazine. Obviously, I haven't changed the drive yet, and bacula attempts this in vain 4 more times before pausing the job and requesting that I mount the next magazine. I then switch the drives in the changer, issue 'update slots', and bacula updates all the slot data. I thought it would then continue from the next volume it initially tried to mount, but instead it skips the first five volumes and starts writing the sixth. These volumes are marked as 'error' and not used. It looks like this: http://i.troll.ws/e60e9955.png This is what hitting the end of the magazine looks like (screenshot shows jump to next appendable volume, which happens not to be 0001): http://i.troll.ws/250d9942.png Is there a way to tell bacula to stop and ask for a mount when it uses the last volume identified by update slots, and immediately request the magazine change? Or to step back to the first volume in a magazine after mounting and issuing update slots? The trick is to disable a drive's volumes when it is not attached and enable them when attached. This can be done with the update volume=??? enabled=? command. Bacula will not consider a disabled volume available for use. I use the attached scripts for vchanger autochangers. They allow enabling/disabling all volumes on a magazine drive or only volumes on a magazine that are in a specified pool. -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_mar ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users -- 陆智诚 | Leon White 绿色和平 | Greenpeace East Asia +86 186 0692 9781 | Skype: strophy 行动,带来改变。 Positive change through action. -- Own the Future-Intelreg; Level Up Game Demo Contest 2013 Rise to greatness in Intel's independent game demo contest. Compete for recognition, cash, and the chance to get your game on Steam. $5K grand prize plus 10 genre and skill prizes. Submit your demo by 6/6/13. http://p.sf.net/sfu/intel_levelupd2d___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Bacula-Web 5.2.13 is out
Dear all, I'm happy to announce that Bacula-Web 5.2.13 is available from now. This version is a minor bug fix release, I'd suggest to all users using a previous version of Bacula-Web to upgrade to the latest version. More information are available in the release note. http://www.bacula-web.org/news.html Best regards Davide Project web site: http://www.bacula-web.org -- Own the Future-Intelreg; Level Up Game Demo Contest 2013 Rise to greatness in Intel's independent game demo contest. Compete for recognition, cash, and the chance to get your game on Steam. $5K grand prize plus 10 genre and skill prizes. Submit your demo by 6/6/13. http://p.sf.net/sfu/intel_levelupd2d___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Vchanger attempts to mount 5 volumes before stopping and requesting magazine change
On 4/1/2013 5:38 AM, Leon White wrote: Hi Josh, thanks for taking the time once again to respond to support my bacula/vchanger project! I was able to read, set up and configure the scripts you supplied, the variables are quite clear and anybody who set up their own bacula system should be able to fill them in. Note that it may be necessary to change the #!/bin/sh at the beginning of the files to #!/bin/bash depending on your system (mine is Ubuntu Server 12.10). I plan to use this script to ensure that all volumes are set to disabled before and after they are used to prevent bacula from trying to use unmounted volumes. Is there any way to trigger this script to run silently as soon as the update slots command is triggered, or is there some other point we could trigger it during the process of swapping drives in the eSATA changer? Perhaps automount could do it and then subsequently use the bcommand script to call update slots in bconsole as well, making the process of changing drives effectively fully automatic and independent from the shell. I won't be operating this system forever, and I want to keep the process as simple as possible for anybody else who has to use it. It is possible to construct a udev rule that runs a script when a device is attached/detached. I don't think there is any way to do this with autofs/automount. -- Own the Future-Intelreg; Level Up Game Demo Contest 2013 Rise to greatness in Intel's independent game demo contest. Compete for recognition, cash, and the chance to get your game on Steam. $5K grand prize plus 10 genre and skill prizes. Submit your demo by 6/6/13. http://p.sf.net/sfu/intel_levelupd2d ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Backing up Windiows 7 64-bit
So, after a mostly-unsuccessful[1] experiment with Acronis TrueImage, I've decided to revisit backing up the four Windows 7/64 machines on my network using Bacula. However, I understand there is significant complexity in correctly handling mount points in the Windows Vista/7 family. Also, since the OS files on the four should be more similar than anything else on ,my network, I think they'd probably be a good test case for base jobs. So: Does anyone who has Bacula working on 64-bit Windows 7 (three Win7 Home, one Win7 Pro, if that makes a difference) have a working-example fileset and configuration for Windows 7 clients? Anything else I need to know about Windows 7 64-bit and Bacula? All tips appreciated. [1] Image backup mode worked well, but file-level was so slow as to be unusable (two hours into file-level backup of a machine with 320GB of mirrored SATA2 disk, on which an image backup completes in maybe 30 minutes, it was estimating five and a half days to complete). Two of the four test clients immediately configured to use the desired NAS backup share on the first try; the remaining two, I had to fight with for an hour on that point alone. -- Phil Stracchino, CDK#2 DoD#299792458 ICBM: 43.5607, -71.355 ala...@caerllewys.net ala...@metrocast.net p...@co.ordinate.org Renaissance Man, Unix ronin, Perl hacker, SQL wrangler, Free Stater It's not the years, it's the mileage. -- Own the Future-Intelreg; Level Up Game Demo Contest 2013 Rise to greatness in Intel's independent game demo contest. Compete for recognition, cash, and the chance to get your game on Steam. $5K grand prize plus 10 genre and skill prizes. Submit your demo by 6/6/13. http://p.sf.net/sfu/intel_levelupd2d ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Backing up Windiows 7 64-bit
On 04/01/2013 9:53 am, Phil Stracchino wrote: So, after a mostly-unsuccessful[1] experiment with Acronis TrueImage, I've decided to revisit backing up the four Windows 7/64 machines on my network using Bacula. However, I understand there is significant complexity in correctly handling mount points in the Windows Vista/7 family. Also, since the OS files on the four should be more similar than anything else on ,my network, I think they'd probably be a good test case for base jobs. So: Does anyone who has Bacula working on 64-bit Windows 7 (three Win7 Home, one Win7 Pro, if that makes a difference) have a working-example fileset and configuration for Windows 7 clients? Anything else I need to know about Windows 7 64-bit and Bacula? All tips appreciated. [1] Image backup mode worked well, but file-level was so slow as to be unusable (two hours into file-level backup of a machine with 320GB of mirrored SATA2 disk, on which an image backup completes in maybe 30 minutes, it was estimating five and a half days to complete). Two of the four test clients immediately configured to use the desired NAS backup share on the first try; the remaining two, I had to fight with for an hour on that point alone. -- Phil Stracchino, CDK#2 DoD#299792458 ICBM: 43.5607, -71.355 ala...@caerllewys.net ala...@metrocast.net p...@co.ordinate.org Renaissance Man, Unix ronin, Perl hacker, SQL wrangler, Free Stater It's not the years, it's the mileage. -- Own the Future-Intelreg; Level Up Game Demo Contest 2013 Rise to greatness in Intel's independent game demo contest. Compete for recognition, cash, and the chance to get your game on Steam. $5K grand prize plus 10 genre and skill prizes. Submit your demo by 6/6/13. http://p.sf.net/sfu/intel_levelupd2d ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users I am using this configuration with windows 8, didn't change it any when I updated from windows 7. Both Pro x64, I haven't ran one on home version. Note below, I have two Disk drives setup, C: and J:, J: is a software iSCSI drive in this setup, it does run a little slow, about 5MB/s but I am using gzip, and drive J: contains VMware virtual machines, which compress around 62% which accounts for the sluggishness. Make sure you install the 64bit version of the software or VSS will not work, also the installer will likely fail to properly generate the configuration files, in my case the director configuration on the monitor part had blank values, which caused the service to fail to start. Obviously below my passwords have been removed, so make sure you put some real data in those if you copy and modify my configuration. Runs fairly well, but VSS seems to fail causing the backup to fail every three to four days. Server Client Configuration: Client { Name = workstation-fd Password = ... Address = workstation.dweimer.local FDPort = 9102 Catalog = MyCatalog AutoPrune = yes File Retention = 20 days Job Retention = 20 days Maximum Concurrent Jobs = 4 } FileSet { Name = Workstation Enable VSS = Yes Ignore FileSet Changes = Yes Include { File = C:/ File = J:/ Options { signature = MD5 Compression = GZIP5 OneFS = yes Accurate = yes } } Exclude { File = *$RECYCLE.BIN File = *$Recycle.Bin File = *:/Temp File = *:/Windows/Temp File = *:/hiberfil.sys File = *:/pagefile.sys File = *:/System Volume Information File = *:/*.vmem } } Job { Name = Workstation JobDefs = DefaultJob Client = workstation-fd FileSet = Workstation Schedule = WeeklyCycle Maximum Concurrent Jobs = 4 } PC File Daemon Configuration: FileDaemon { Name = workstation-fd FDport = 9102 WorkingDirectory = C:\\Program Files\\Bacula\\working Pid Directory = C:\\Program Files\\Bacula\\working Plugin Directory = C:\\Program Files\\Bacula\\plugins Maximum Concurrent Jobs = 10 } Director { Name = bacula-dir Password = ... } Director { Name = bacula-mon Password = ... Monitor = yes } Messages { Name = Standard director = bacula-dir = all, !skipped, !restored } -- Thanks, Dean E. Weimer http://www.dweimer.net/ -- Own the Future-Intelreg; Level Up Game Demo Contest 2013 Rise to greatness in Intel's independent game demo contest. Compete for recognition, cash, and the chance to get your game on Steam. $5K grand prize plus 10 genre and skill prizes. Submit your demo by 6/6/13. http://p.sf.net/sfu/intel_levelupd2d ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net
Re: [Bacula-users] Backing up Windiows 7 64-bit
On 04/01/13 11:25, dweimer wrote: Runs fairly well, but VSS seems to fail causing the backup to fail every three to four days. Ah, so that really hasn't improved since I was using Bacula on Windows 2000 then. The same thing happed there; VSS would occasionally just Not Work. (And to make it worse, neither VSS nor NTBackup would reliably, consistently read open registry hives, meaning if anyone was logged in when the backup ran, the registry would be incomplete.) -- Phil Stracchino, CDK#2 DoD#299792458 ICBM: 43.5607, -71.355 ala...@caerllewys.net ala...@metrocast.net p...@co.ordinate.org Renaissance Man, Unix ronin, Perl hacker, SQL wrangler, Free Stater It's not the years, it's the mileage. -- Own the Future-Intelreg; Level Up Game Demo Contest 2013 Rise to greatness in Intel's independent game demo contest. Compete for recognition, cash, and the chance to get your game on Steam. $5K grand prize plus 10 genre and skill prizes. Submit your demo by 6/6/13. http://p.sf.net/sfu/intel_levelupd2d ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Bacula tapes marked FULL too early - VolBytes too low
The funny thing is the problem went away by itself. Tapes were again filling up at approx 420GB per tape. It was doing that for a few months of regular backup cycles. But now unfortunately tapes are once again coming up as Full at only 320GB. We do regular rewind and WEOF on these tapes prior to any backup. This is quite strange. We are sure it is not the drive itself or the tapes. Must be something else. At this point nothing left to do but try to locate something in the logs. cheers +-- |This was sent by goran@momento.com.au via Backup Central. |Forward SPAM to ab...@backupcentral.com. +-- -- Own the Future-Intel(R) Level Up Game Demo Contest 2013 Rise to greatness in Intel's independent game demo contest. Compete for recognition, cash, and the chance to get your game on Steam. $5K grand prize plus 10 genre and skill prizes. Submit your demo by 6/6/13. http://altfarm.mediaplex.com/ad/ck/12124-176961-30367-2 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users