Re: [Bacula-users] No entries in log table
Peter Reilly wrote: > I'm using mysql 5.0.45, and bacula 2.4.2 (installed from RPM). Most things > seem to be working well, but I'm getting nothing written to the log table in > mysql. > > What configuration setting controls logging events to the mysql database? I find this interesting because I've never looked at the log table before. Inspecting, I think of the Message resource. Have a read of this: http://www.bacula.org/en/rel-manual/Messages_Resource.html Look at the catalog option. FYI, this is my messages resource: Messages { Name = Standard mailcommand = "/usr/local/sbin/bsmtp -h localhost -f \"\(Bacula\) %r\" -s \"Bacula: %t %e of %c %l\" %r" operatorcommand = "/usr/local/sbin/bsmtp -h localhost -f \"\(Bacula\) %r\" -s \"Bacula: Intervention needed for %j\" %r" operator = r...@localhost = mount mail = r...@localhost = all console = all append = "/home/bacula/working/log" = all, !skipped, !restored catalog = all, !skipped, !saved } I suspect you are missing the catalog entry from this item. -- Dan Langille BSDCan - The Technical BSD Conference : http://www.bsdcan.org/ PGCon - The PostgreSQL Conference: http://www.pgcon.org/ -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Backing up Microsoft Exchange?!
> > > > Well, what matters to me is the amount of data transferred in each > > > backup session: would this plugin do some sort of > > "incremental backups" > > > or just backup the *whole* Exchange database? > > > > No, it can do incrementals. > > Ah, so it could be ok for me to use, as you say that it *can* do > incrementals, right? > Someone posted some problems doing incremental restores. I have had it working before but may have updated the code a bit since then. If you do test it, please post to the -devel list with how you went, or to the -users list with Exchange in the subject so I'll see it :) Thanks James -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] No entries in log table
I'm using mysql 5.0.45, and bacula 2.4.2 (installed from RPM). Most things seem to be working well, but I'm getting nothing written to the log table in mysql. What configuration setting controls logging events to the mysql database? Thanks in advance. -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Automatically Disposing of Volumes
> Ok, I've got everything scripted up except the deletion. What all needs > to be done to delete a volume? Right now I am looking at doing a: > > $ bconsole <> delete media volume=volume_name >> quit >> EOF > $ rm -f /backup/volume_name > > Is that all that needs to be done to delete a volume? > Looks fine to me. John -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Automatically Disposing of Volumes
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 John Drescher wrote: >> If you really want to do this you will have to roll your own solution. >> Most likely this will involve a cron job scripting commands to >> bconsole. >> > > I know I was a little unclear here. The rm of the volume file happens > outside of bacula. The script would use bconsole to figure out what > volume to rm. It would then delete the volume from bacula and finally > do the rm in the shell to remove the volume from disk. > > John > > -- > Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA > -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise > -Strategies to boost innovation and cut costs with open source participation > -Receive a $600 discount off the registration fee with the source code: SFAD > http://p.sf.net/sfu/XcvMzF8H Ok, I've got everything scripted up except the deletion. What all needs to be done to delete a volume? Right now I am looking at doing a: $ bconsole < delete media volume=volume_name > quit > EOF $ rm -f /backup/volume_name Is that all that needs to be done to delete a volume? Thanks, Chris Lieb -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iQEcBAEBAgAGBQJJle3RAAoJEJWxx7fgsD+CwG8IAJLCv5VhdM5aGIiztjlLEuCa 6Yz0rIPJAnwDVna27fbf62x2ReMMDPeQOsHnyLAjUhN6/jSDwEsjSwRJO65J89zl SujEjmA6RsbQydZTy4qPIDA1RSzmgOLHCD3V+KDLagntW0fy9rSRdoJtTobAzRKf YpqowPxQ0nuAZekNdN92sOqACl1zzEi1hwY9R/1tYNDxryQjbI497yDg4jTgncD9 u3sRA81lz+Txnks4t9P/N23VY4FyYVym0pMdMcui4cdAh5Nj14Y52uj+TA2Jw/UA TSy8pEbBEDYzOXASbzi8wOote3zkkwt2zD9+qhT2TlS0JJfycNyle2ZbPcj91wc= =hiBr -END PGP SIGNATURE- -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Finding performance issues
On Thu, Feb 12, 2009 at 6:03 PM, (private) HKS wrote: > On Tue, Feb 10, 2009 at 3:56 PM, (private) HKS wrote: >> On Tue, Feb 10, 2009 at 1:04 PM, Steve Polyack wrote: >>> (private) HKS wrote: My server's network performance seems all right. Testing basic TCP throughput with iperf, I'm showing an average of 880Mbps or so. FTP downloads to this server hum along at about 85MB/s. >>> >>> You may want to expirement with the "Maximum Network Buffer Size" parameter >>> which is available in both the file-daemon and storage-daemon configuration >>> files. As far as the documentation explains, the SD's default is 32768 bytes >>> while the FD default is 65536 bytes. I'm not sure what the reason is for >>> the difference, but I would try setting them both to either 32768 or 65536. >>> Perhaps try larger values, but stay under the limits of your OS's TCP >>> send/recv buffers (256k s/r on FreeBSD 7). >>> >> >> Thanks for the recommendation. I've changed this around a bit, but >> haven't seen any change. I also haven't been able to replicate this >> poor performance through any other method of writing to disk, >> transferring across the network, or some combination of the two. I'm >> certainly open to doing tests on this if only I knew what to do. >> >> -HKS >> > > > I have discovered (what appears to be) a bug in OpenBSD's bnx(4) > driver that limits tx performance. > > I don't *think* it's related to this problem: rx traffic performs > beautifully and the threshold (109Mb/s) is far above what I'm getting > with Bacula. I mention it in the interest of full disclosure. > > -HKS > I rebuilt one of my servers on FreeBSD 7.1 which is unaffected by this bug and the performance issue persists. This pretty much eliminates the OS as a problem here, so I guess we're looking at a hardware oddity, some tuning knobs that need adjustment, or some combination of the two. -HKS -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Strange Problem backing up Macs
Hi, 13.02.2009 20:59, mavrick77 wrote: > Hi im a newbie to Bacula and im having a strange problem. I am able to make > a full backup and everthing is good. > 1) When I "drag and drop" a file/dir in the directory that is being saved > and then run a incremental backup the new file doesn't show up. This indicates that the file inode's ctime and mtime are not modified, i.e. the file is moved using the rename() system call. > 2) If I go to the terminal and vi the file, then run a incremental backup > the file shows up Because the file inode's mtime is modified. > 3) If I copy and paste a file in the directory, then run a incremental > backup the file shows up Which shows us that your GUI probably reads and writes the whole file in this case. > Is there something that im missing...is "drag and drop" doing something to > the file? You just found out how Bacula decides which files to back up (on incremental and differential jobs): Look at the file's timestamps. That's what most backup programs do. When Bacula 3.0 is released, there will be the option to run "accurate" backups, where moved and deleted files are recognized and handled more correctly. There's not much you can do, actually, except to run a full backup from time to time. If you're doing lots of file move operations, you might want to run full backups more often, I guess... Arno > Here is my FileSet: > > FileSet { > Name = "Full Set" > Ignore FileSet Changes = yes > Include { > Options { >hfsplussupport = yes >aclsupport=yes >signature = SHA1 > } > File = /Users/{user}/Documents/test > #File = /etc/mail > } > } > -- Arno Lehmann IT-Service Lehmann Sandstr. 6, 49080 Osnabrück www.its-lehmann.de -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Strange Problem backing up Macs
Hi im a newbie to Bacula and im having a strange problem. I am able to make a full backup and everthing is good. 1) When I "drag and drop" a file/dir in the directory that is being saved and then run a incremental backup the new file doesn't show up. 2) If I go to the terminal and vi the file, then run a incremental backup the file shows up 3) If I copy and paste a file in the directory, then run a incremental backup the file shows up Is there something that im missing...is "drag and drop" doing something to the file? Here is my FileSet: FileSet { Name = "Full Set" Ignore FileSet Changes = yes Include { Options { hfsplussupport = yes aclsupport=yes signature = SHA1 } File = /Users/{user}/Documents/test #File = /etc/mail } } -- View this message in context: http://www.nabble.com/Strange-Problem-backing-up-Macs-tp22001278p22001278.html Sent from the Bacula - Users mailing list archive at Nabble.com. -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] [Fwd: Here you go!!!!!!]
Original Message Subject:Here you go!! Date: Fri, 13 Feb 2009 13:09:24 -0600 From: Steve Handy To: 'Brian Debelius' References: <21976504.p...@talk.nabble.com> <387ee2020902121325o7115f40fqf7665925ebe11...@mail.gmail.com> <32ad37b1f4606a47a1c19d381637388119eafe5...@exchange7.corp.callglobalcom.com> <49949d55.6060...@intelesyscorp.com> <32ad37b1f4606a47a1c19d381637388119eafe5...@exchange7.corp.callglobalcom.com> <4994a00a.3050...@intelesyscorp.com> Good Afternoon, Here is my setup: Ubuntu Server - director running. Solaris - storage server running and Windows Server 2003 file server - File client running. We are using a L180 Sun Tape Library which the storage server is attached. The only other changes made were to the mx-changer file. This line was changed were the parenthesis were removed from VolumeTag on this line: cat ${TMPFILE} | grep " Storage Element [0-9]*:.*Full" | awk "{print \$3 \$4}" | sed 's/Full.*:VolumeTag=//g' Thanks Steve # # Default Bacula Director Configuration file # # The only thing that MUST be changed is to add one or more # file or directory names in the Include directive of the # FileSet resource. # # For Bacula release 2.4.2 (26 July 2008) -- debian lenny/sid # # You might also want to change the default email address # from root to your address. See the "mail" and "operator" # directives in the Messages resource. # Director {# define myself Name = baculavm-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 = "fcomm" # Console password Messages = Daemon } JobDefs { Name = "DefaultJob" Type = Backup Level = Incremental Client = vcenter1-fd FileSet = "Full Set" Storage = L180-0 Messages = Standard Pool = Default Priority = 10 } JobDefs { Name = "Windows File Server Job" Type = Backup Level = Incremental Client = vcenter1-fd FileSet = "Full Set" Storage = L180-0 Messages = Standard Pool = Windows File Server Backup Priority = 10 } # # Define the main nightly save backup job # By default, this job will back up to disk in /nonexistant/path/to/file/archive/dir Job { Name = "Client1" JobDefs = "DefaultJob" Write Bootstrap = "/var/lib/bacula/Client1.bsr" } Job { Name = "File Server Backup" Client = vcenter1-fd JobDefs = "Windows File Server Job" Write Bootstrap = "/var/lib/bacula/Client2.bsr" } # Backup the catalog database (after the nightly save) Job { Name = "BackupCatalog" JobDefs = "DefaultJob" Level = Full FileSet="Catalog" #Schedule = "WeeklyCycleAfterBackup" # This creates an ASCII copy of the catalog # WARNING! # Ubuntu uses make_catalog_backup_awk script for # security reasons # Replace with the real Catalog name RunBeforeJob = "/usr/bin/awk -f /etc/bacula/scripts/make_catalog_backup_awk -v cat1= /etc/bacula/bacula-dir.conf" # This deletes the copy of the catalog RunAfterJob = "/etc/bacula/scripts/delete_catalog_backup" Write Bootstrap = "/var/lib/bacula/BackupCatalog.bsr" Priority = 11 # run after main backup } # # Standard Restore template, to be changed by Console program # Only one such job is needed for all Jobs/Clients/Storage ... # Job { Name = "RestoreFiles" Type = Restore Client=vcenter1-fd FileSet="Full Set" Storage = L180-0 Pool = Default Messages = Standard Where = /tmp/bacula-restores/e } # List of files to be backed up FileSet { Name = "Full Set" Include { Options { signature = MD5 compression = GZIP } # # Put your list of files here, preceded by 'File =', one per line #or include an external list with: # #File = \" -s \"Bacula: %t %e of %c %l\" %r" operatorcommand = "/usr/lib/bacula/bsmtp -h 172.16.6.106 -f \"\(Bacula\) \<%r\>\" -s \"Bacula: Intervention needed for %j\" %r" mail = sha...@firstcomm.com = all, !skipped operator = sha...@firstcomm.com = mount console = all, !skipped, !saved # # WARNING! the following will create a file that you must cycle from # time to time as it will grow indefinitely. However, it will # also keep all your messages if they scroll off the console. # append = "/var/lib/bacula/log" = all, !skipped } # # Message delivery for daemon messages (no job). Messages { Name = Daemon mailcommand = "/usr/lib/bacula/bsmtp -h 172.16.6.106 -f \"\(Bacula\) \<%r\>\" -s \"Bacula daemon message\" %r" mail = sha...@firstcomm.com = all, !skipped console = all, !skipped, !saved append = "/var/lib/bacula/log" = all, !skipped } # Default pool definition Pool { Name = Default Pool Type = Backup Recycle = yes # Bacula can automatically re
Re: [Bacula-users] Adding volumes to a certain Pool
FYI The whole situation started when the power went out during the day, the backup generator didn't kick in (as usual) and when the power came back the nightly backups put both volumes, one from full, one from incremental into error and the tape library had a "media error" light on. Thankfully, I had the luxury of blowing everything away since it is a test environment. One thing to note is when the power went out, the tape library was not in use but the volume from Full pool was in the tape drive. On Fri, Feb 13, 2009 at 1:59 PM, John Drescher wrote: >> This is what I did. >> 1. Stopped all Bacula processes. >> 2. Moved each tape around through the web-interface, (slot to >> tapedrive and back to slot) >> 3. Deleted each tape with "mt -f /dev/st0 weof" command >> 4. Restarted Bacula processes >> 5. Through bconsole issued the command: >>label barcodes Storage=TS3100_1 Pool=Scratch Slots=3-5 >> > Thank you. That is what I thought. I just wanted to confirm that this > was a working solution for others with this problem. This is the third > instance of this this week.. > > John > -- email : win.h...@gmail.com "The unexamined life is not worth living" -- Socrates -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Adding volumes to a certain Pool
> This is what I did. > 1. Stopped all Bacula processes. > 2. Moved each tape around through the web-interface, (slot to > tapedrive and back to slot) > 3. Deleted each tape with "mt -f /dev/st0 weof" command > 4. Restarted Bacula processes > 5. Through bconsole issued the command: >label barcodes Storage=TS3100_1 Pool=Scratch Slots=3-5 > Thank you. That is what I thought. I just wanted to confirm that this was a working solution for others with this problem. This is the third instance of this this week.. John -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Adding volumes to a certain Pool
This is what I did. 1. Stopped all Bacula processes. 2. Moved each tape around through the web-interface, (slot to tapedrive and back to slot) 3. Deleted each tape with "mt -f /dev/st0 weof" command 4. Restarted Bacula processes 5. Through bconsole issued the command: label barcodes Storage=TS3100_1 Pool=Scratch Slots=3-5 On Fri, Feb 13, 2009 at 11:50 AM, John Drescher wrote: > On Fri, Feb 13, 2009 at 11:31 AM, Win Htin wrote: >> Thanks Brian. Problem fixed. >> > BTW, Which option did you choose? > > John > -- email : win.h...@gmail.com "The unexamined life is not worth living" -- Socrates -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Automatically Disposing of Volumes
On Fri, Feb 13, 2009 at 1:24 PM, Chris Lieb wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > John Drescher wrote: >>> If you really want to do this you will have to roll your own solution. >>> Most likely this will involve a cron job scripting commands to >>> bconsole. >>> >> >> I know I was a little unclear here. The rm of the volume file happens >> outside of bacula. The script would use bconsole to figure out what >> volume to rm. It would then delete the volume from bacula and finally >> do the rm in the shell to remove the volume from disk. >> >> John >> >> -- >> Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA >> -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise >> -Strategies to boost innovation and cut costs with open source participation >> -Receive a $600 discount off the registration fee with the source code: SFAD >> http://p.sf.net/sfu/XcvMzF8H > > Is there somewhere that a flag is set to mark a volume as recyclable? There is a recycle flag in this command: #list media pool=BackupCatalogs +-+---+---+-+---+--+--+-+--+---+---+-+ | mediaid | volumename| volstatus | enabled | volbytes | volfiles | volretention | recycle | slot | inchanger | mediatype | lastwritten | +-+---+---+-+---+--+--+-+--+---+---+-+ | 149 | Catalogs-0007 | Full | 1 | 2,147,437,341 | 0 |1,296,000 | 1 |0 | 0 | File | 2009-02-11 01:21:19 | | 150 | Catalogs-0012 | Full | 1 | 2,147,429,566 | 0 |1,296,000 | 1 |0 | 0 | File | 2009-02-13 01:24:26 | | 159 | Catalogs-0005 | Full | 1 | 2,147,429,910 | 0 |1,296,000 | 1 |0 | 0 | File | 2009-02-12 BTW, what I meant by scripting is along the lines of fileserv ~ # echo "list media pool=BackupCatalogs" | bconsole | grep Full | 149 | Catalogs-0007 | Full | 1 | 2,147,437,341 | 0 |1,296,000 | 1 |0 | 0 | File | 2009-02-11 01:21:19 | | 150 | Catalogs-0012 | Full | 1 | 2,147,429,566 | 0 |1,296,000 | 1 |0 | 0 | File | 2009-02-13 01:24:26 | | 159 | Catalogs-0005 | Full | 1 | 2,147,429,910 | 0 |1,296,000 | 1 |0 | 0 | File | 2009-02-12 01:23:00 | | 166 | Catalogs-0008 | Full | 1 | 2,147,459,242 | 0 |1,296,000 | 1 |0 | 0 | File | 2009-01-01 01:19:33 | John For the rest of your questions I will try to check back later John -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Automatically Disposing of Volumes
John Drescher wrote: >> I'm looking for the same solution. I'm working on a script to do that >> since bacula cannot do by itself as John stated above. >> I think that what we need to do is delete the volumes from the catalog >> and after that delete the volume from the harddisk. >> >> > sounds correct to me > > >> No idea how to get the volume that we really need to delete. >> But if you have more luck than me please share your ideas. >> >> > > list media pool=yourpool > > grab volstatus > and lastwritten > and volretention > > and compute if the volume should be purged. volretention is in seconds > > John > humm. good to know.. I going to the right way at least.. thanks Thiago Simões -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Someone could help me?
> I haven't tested that yet, but what I really need is a deb package with a > newer version of bacula, I am not sure about deb packages someone else will have to help with that. >so I could really see if that's the problem. I > created the database with a script I found on the web. It could be what > John said before. I'm I wrong? > If there is no valuable data backed up. I would delete the catalog and recreate it with the script from your version. Your distribution should have installed these scripts somewhere on your system. John -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Automatically Disposing of Volumes
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 John Drescher wrote: >> If you really want to do this you will have to roll your own solution. >> Most likely this will involve a cron job scripting commands to >> bconsole. >> > > I know I was a little unclear here. The rm of the volume file happens > outside of bacula. The script would use bconsole to figure out what > volume to rm. It would then delete the volume from bacula and finally > do the rm in the shell to remove the volume from disk. > > John > > -- > Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA > -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise > -Strategies to boost innovation and cut costs with open source participation > -Receive a $600 discount off the registration fee with the source code: SFAD > http://p.sf.net/sfu/XcvMzF8H Is there somewhere that a flag is set to mark a volume as recyclable? The Media table looks promising, but I don't have any volumes ready to be recycled and don't want to mark any as such. Perhaps I can somehow combine the VolRetention with the FirstWritten time? Also, when I decide that I need to get rid of a volume, what all do I need to do to make sure that I don't confuse Bacula? Will a simple `delete [VolumeName]` be all that I need, or do I need to delete the associated job also? Do I need to prune or purge as part of this? Thanks, Chris Lieb -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iQEcBAEBAgAGBQJJlbrbAAoJEJWxx7fgsD+CNpEIALXkZf92cs1cok4O5RQGLAoX gZMAdA9BmtSNSOLsv1z/0ZV60jo701Hh5jTUwOBDiay37o/Oz403UsDO7qL3dttJ xm/NSy9kmpkLdMhuOOzhzfOlUOw6TI0+52ryzYgbDRG2IAV3Cow9Si+rOkjzNrj/ nkIjSR3P0NJRbExFFpEtB6V0wqQ3gjUHkgoRhhkdBayQcHyk15lACz8331aYtK5K LqFucc65u4+lGzix2KIqCWNX4ZirhCfAtDTYghAJ6C3D5eipJFATFLDfhtCF9PXC T76mMpbwyXRViNf+S2xuPfs4aDocOA+k03+uIr1KmLdduz8GkwqX41p3PPQy7m4= =deh1 -END PGP SIGNATURE- -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Automatically Disposing of Volumes
> I'm looking for the same solution. I'm working on a script to do that > since bacula cannot do by itself as John stated above. > I think that what we need to do is delete the volumes from the catalog > and after that delete the volume from the harddisk. > sounds correct to me > No idea how to get the volume that we really need to delete. > But if you have more luck than me please share your ideas. > list media pool=yourpool grab volstatus and lastwritten and volretention and compute if the volume should be purged. volretention is in seconds John -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Issue with recycling after moving from 2.0 to 2.4
> On Fri, 13 Feb 2009 15:28:09 +0100, Yann Cezard said: > > So basically it looks more like a Job pruning problem ? The pruning algorithm changed a little in the Bacula 2.2. Bacula 2.0 prunes all volumes in the current pool, but 2.2 stops pruning as soon as it finds one that can be purged. I'm not sure if that will break your setup. __Martin -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Someone could help me?
> Hi, > > Did anyone every respond and help you with this? > > Miguel E. Chang Peña wrote: >> I just installed bacula, so I am a beginner. But the thing is, I have >> not >> seen this system working yet, because of this: >> >> computer:~# /etc/init.d/bacula-director start >> Starting Bacula Director: 11-feb 14:36 bacula-dir: Fatal error: Version >> error >> for database "bacula". Wanted 9, got 10 >> 11-feb 14:36 bacula-dir: Fatal error: Could not open Catalog >> "MyCatalog", >> database "bacula". >> 11-feb 14:36 bacula-dir: Fatal error: Version error for database >> "bacula". >> Wanted 9, got 10 >> 11-feb 14:36 bacula-dir: ERROR TERMINATION >> Please correct configuration file: /etc/init.d/bacula-dir.conf >> >> I have searched the web for this kind of error, but still have no good >> answers. Anyone could tell me something about it? >> >> P.S: I have Debian Linux 4.0 with mysql ver 14.12 distrib 5.0.51a and >> bacula version 1.38.11-8 (stable). I have not found any other deb >> package >> to install. I dont know anything about versions between that and the >> latest. >> I am a student. This is a response I got: How did you install the software? The reason I ask is that what this means is the catalog was created with a script from a newer version of bacula than the version of bacula that you are running. I believe 2.0.X installed a catalog version 10. You can not downgrade a catalog so this will not work on a system with 1.38.X installed. John I haven't tested that yet, but what I really need is a deb package with a newer version of bacula, so I could really see if that's the problem. I created the database with a script I found on the web. It could be what John said before. I'm I wrong? Regards. -- Universidad de Holguín Oscar Lucero Moya 35 años formando profesionales -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Automatically Disposing of Volumes
John Drescher wrote: > On Fri, Feb 13, 2009 at 12:24 PM, Chris Lieb > wrote: > >> -BEGIN PGP SIGNED MESSAGE- >> Hash: SHA1 >> >> I am setting up Bacula right now for the first time and have pretty much >> everything working, but have one nagging concern. Since Bacula was >> designed around tape backup systems, it supports recycling of volumes so >> that they can be used again after a certain period of time. However, I >> do not think that this is very useful for a hard drive-based backup setup. >> >> My setup currently is using the three pool system (Full-Diff-Incr) that >> is mentioned in the Bacula documentation. My labeling scheme produces a >> unique label for every volume (1 job per volume). When a volume reaches >> a certain age, based on the pool that it is in, I want the volume to be >> deleted from disk instead of recycled. You can purge files from the >> database as part of the configuration, but I don't see any way to have >> Bacula delete volumes over a certain age. >> >> > Bacula does not delete volumes from the disk. > > >> How can this be achieved? I am using Bacula 2.4.4 for my director, >> storage, and all file daemons, with the director and storage daemons >> running on a current Linux install and the backups being stored onto >> their own hard drive. >> >> > If you really want to do this you will have to roll your own solution. > Most likely this will involve a cron job scripting commands to > bconsole. > > John > > -- > Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA > -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise > -Strategies to boost innovation and cut costs with open source participation > -Receive a $600 discount off the registration fee with the source code: SFAD > http://p.sf.net/sfu/XcvMzF8H > ___ > Bacula-users mailing list > Bacula-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/bacula-users > Chris, I'm looking for the same solution. I'm working on a script to do that since bacula cannot do by itself as John stated above. I think that what we need to do is delete the volumes from the catalog and after that delete the volume from the harddisk. No idea how to get the volume that we really need to delete. But if you have more luck than me please share your ideas. Thiago Simões -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Automatically Disposing of Volumes
> If you really want to do this you will have to roll your own solution. > Most likely this will involve a cron job scripting commands to > bconsole. > I know I was a little unclear here. The rm of the volume file happens outside of bacula. The script would use bconsole to figure out what volume to rm. It would then delete the volume from bacula and finally do the rm in the shell to remove the volume from disk. John -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] pre-checking tape for next backup
Hi Arno, hi James, I have got nearly the same "problem" If one of you could give me a good hint where to start for the script, it would be great :-) Thanks, Stefan -Ursprüngliche Nachricht- Von: Arno Lehmann [mailto:a...@its-lehmann.de] Gesendet: Donnerstag, 11. Dezember 2008 09:38 An: bacula-users@lists.sourceforge.net Betreff: Re: [Bacula-users] pre-checking tape for next backup Hi, 11.12.2008 03:19, James Harper wrote: > I asked this question a while back, but I'd like to now figure out a > solution to it. > > Basically, one of our clients used to run Amanda and now runs Bacula. > Obviously Bacula is superior :) but one feature they miss from Amanda is > the ability to be notified if the tape (external disk in this case) has > not been changed. > > At 11am, Amanda would check and send an email to the backup operator if > the current tape was not suitable for tonights backup. At 3pm it checks > again and if the current tape is still not suitable, it emails the > operator and a few others, on the assumption that the operator is out of > the office. > > At some sites where we use tapes, the tape is ejected at the end of the > backup so it's easy to just check if there is a tape inserted or not (it > is reasonable to assume that if a tape has been put in that it's > probably the right one) but for usb attached external disks it's not so > simple, so I would like a more general solution... > > My rules would be: > 1. Check mounted volume - if no volume then send email > 2. If status is 'Recycle' (or other immediately usable state) then no > action > 3. If status is 'Append' then send email (only room for one backup on a > tape, maybe this would be configurable) > 4. If status is 'Used' and it will still be 'protected from overwrite' > at the time of the next scheduled backup then send email > 5. If status is 'used' and the tape will be eligible for recycle at the > time of the next backup then no action > 6. Otherwise, the situation is something I haven't thought of so send an > email to me so I can put a rule in for it. > > #1 should just be a mount operation, but then how can I get the name of > the volume that is currently mounted? Parse the output of 'echo "sta sd="|bconsole -c ...' or use btape. > #2-6 should just be a bit of creative Sql and some scripting (Python?) Or Perl, (ba)sh, or any other script language... but yes, I agree. I'd actually try to create an easily configurable script and publish it, if I were you ;-) > Any comments or suggestions? I've got a script I use to unload volumes that are full and eligible for safe storge and semi-automatically load and scan newly added volumes which might be a good starting-point for you. It's Perl, it's ugly, but you can have it if you like... just drop me a note. Arno > James > > > -- > SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. > The future of the web can't happen without you. Join us at MIX09 to help > pave the way to the Next Web now. Learn more and register at > http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ > ___ > Bacula-users mailing list > Bacula-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/bacula-users > -- Arno Lehmann IT-Service Lehmann Sandstr. 6, 49080 Osnabrück www.its-lehmann.de -- SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Automatically Disposing of Volumes
On Fri, Feb 13, 2009 at 12:24 PM, Chris Lieb wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > I am setting up Bacula right now for the first time and have pretty much > everything working, but have one nagging concern. Since Bacula was > designed around tape backup systems, it supports recycling of volumes so > that they can be used again after a certain period of time. However, I > do not think that this is very useful for a hard drive-based backup setup. > > My setup currently is using the three pool system (Full-Diff-Incr) that > is mentioned in the Bacula documentation. My labeling scheme produces a > unique label for every volume (1 job per volume). When a volume reaches > a certain age, based on the pool that it is in, I want the volume to be > deleted from disk instead of recycled. You can purge files from the > database as part of the configuration, but I don't see any way to have > Bacula delete volumes over a certain age. > Bacula does not delete volumes from the disk. > How can this be achieved? I am using Bacula 2.4.4 for my director, > storage, and all file daemons, with the director and storage daemons > running on a current Linux install and the backups being stored onto > their own hard drive. > If you really want to do this you will have to roll your own solution. Most likely this will involve a cron job scripting commands to bconsole. John -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Automatically Disposing of Volumes
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I am setting up Bacula right now for the first time and have pretty much everything working, but have one nagging concern. Since Bacula was designed around tape backup systems, it supports recycling of volumes so that they can be used again after a certain period of time. However, I do not think that this is very useful for a hard drive-based backup setup. My setup currently is using the three pool system (Full-Diff-Incr) that is mentioned in the Bacula documentation. My labeling scheme produces a unique label for every volume (1 job per volume). When a volume reaches a certain age, based on the pool that it is in, I want the volume to be deleted from disk instead of recycled. You can purge files from the database as part of the configuration, but I don't see any way to have Bacula delete volumes over a certain age. How can this be achieved? I am using Bacula 2.4.4 for my director, storage, and all file daemons, with the director and storage daemons running on a current Linux install and the backups being stored onto their own hard drive. I can post config files if needed. Thanks, Chris Lieb -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iQEcBAEBAgAGBQJJlazkAAoJEJWxx7fgsD+CR/YIALIko8qKSOVZgoFsPHzQheqg b3RUqHCbpsqYFZSZ3W+JBrJYjDHeGb4aE5uaZyrhWzChjankMmAs6vctXJAbFoJt U/9jsenb6VvK60748IpGNrZLtdaIZ/7dCgjibMs/UZnDLHJMc9VXTkCBcx56lv8K FprbMgr3AZHxlfAMLlAW2TZhNJCtxSrS2z4f4dSUI/mYxVBdfESl4SWaYOd4RvDg 2bd/4FpxoF2sLTiPkpHEg1mH4BdgDq5Dm6H+INyyJhubeGD7x1ZRWo0dtAjbIchK rB8mwsQ1VZLy+8ZiqsUVv3tQ8l/9bQn7a53sy1eA44gK5MF4KZ0FT52Y2R12S1E= =d+yw -END PGP SIGNATURE- -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Adding volumes to a certain Pool
On Fri, Feb 13, 2009 at 11:31 AM, Win Htin wrote: > Thanks Brian. Problem fixed. > BTW, Which option did you choose? John -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] LabelFormat question
As you say this is very confusing... I think the easiest for me is simply then to create one pool per server and have the name of the server in the label without any other variables so that it will automatically add an incremented number after it. For example I may just use this: LabelFormat = "server1-" or how did you solve this problem on your side ? I guess you are then also using files instead of tapes... Regards --- On Fri, 2/13/09, Kevin Keane wrote: > From: Kevin Keane > Subject: Re: [Bacula-users] LabelFormat question > To: > Cc: bacula-users@lists.sourceforge.net > Date: Friday, February 13, 2009, 5:40 AM > Actually, you have two problems in that label format. The > first one is > that, indeed, the NumVols is global per pool. The second > problem is that > once bacula starts recycling tapes, it may well use this > tape for a > different job than what the label suggests. I fell into > that trap myself > when I started using bacula. In fact, I actually don't > quite understand > why bacula would ever let you even put the job name into > the label in > the first place. It seems to me that unless you never > recycle volumes, > there really is no scenario where it makes sense, and is > actually very > confusing. > > As for your second question: bacula only appends the volume > ID (not a > self-incrementing number as the documentation suggests) if > you don't use > any variable expansion. That behavior is documented here > http://www.bacula.org/en/dev-manual/Configuring_Director.html#Label > > ML mail wrote: > > Hello, > > > > I am using Bacula to backup 3 servers and store the > backup files on the hard disk, each in different directories > by setting up 3 different Devices and using one single Pool. > > > > Now I have noticed that the filename is not exactly as > I wish it to be: I am using the following LabelFormat in my > Pool: > > > > LabelFormat = "backup-${Job}-${NumVols}" > > > > with the idea in mind to have a filename with the job > name (this would be the server name) and then the volume > number for that server, but unfortunately the volume number > is global (for all 3 servers). So should I actually define > one Pool per server, or is there an easier way to do it ? > > > > Also if I used: > > > > LabelFormat = "backup-${Job}-" > > > > would the volume number be added automatically as > epxlained in > http://www.bacula.org/fr/dev-manual/Basic_Volume_Management.html#SECTION006131200 > ? > > > > Thank you very much for the help > > > > Regards > > > > -- > Kevin Keane > Owner > The NetTech > Find the Uncommon: Expert Solutions for a Network You Never > Have to Think About > > Office: 866-642-7116 > http://www.4nettech.com > > This e-mail and attachments, if any, may contain > confidential and/or proprietary information. Please be > advised that the unauthorized use or disclosure of the > information is strictly prohibited. The information herein > is intended only for use by the intended recipient(s) named > above. If you have received this transmission in error, > please notify the sender immediately and permanently delete > the e-mail and any copies, printouts or attachments thereof. > > > -- > Open Source Business Conference (OSBC), March 24-25, 2009, > San Francisco, CA > -OSBC tackles the biggest issue in open source: Open > Sourcing the Enterprise > -Strategies to boost innovation and cut costs with open > source participation > -Receive a $600 discount off the registration fee with the > source code: SFAD > http://p.sf.net/sfu/XcvMzF8H > ___ > Bacula-users mailing list > Bacula-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/bacula-users -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Adding volumes to a certain Pool
Thanks Brian. Problem fixed. On Fri, Feb 13, 2009 at 10:36 AM, Brian Debelius wrote: > Hi, > > This was just discussed here: > http://article.gmane.org/gmane.comp.sysutils.backup.bacula.general/51284 > > > Win Htin wrote: >> >> Hi folks, >> >> How do I put Volumes into a particular Pool? I'm running version 2.4.4 on >> RHEL5. >> >> Currently, from "bconsole" when I run "update slots" I see: >> >> *update slots >> The defined Storage resources are: >> 1: File >> 2: TS3100_1 >> Select Storage resource (1-2): 2 >> Connecting to Storage daemon TS3100_1 at baculatest:9103 ... >> 3306 Issuing autochanger "slots" command. >> Device "LTO4_1" has 23 slots. >> Connecting to Storage daemon TS3100_1 at baculatest:9103 ... >> 3306 Issuing autochanger "list" command. >> Catalog record for Volume "100ADU" updated to reference slot 1. >> Catalog record for Volume "101ADU" updated to reference slot 2. >> Volume "103ADU" not found in catalog. Slot=4 InChanger set to zero. >> Volume "104ADU" not found in catalog. Slot=5 InChanger set to zero. >> Volume "102ADU" not found in catalog. Slot=3 InChanger set to zero. >> >> I would like to add the Volumes 102ADU ~ 104ADU to the Scratch pool. >> When I ran the following, I got an error message saying the Volume is >> already labeled. >> >> *label barcodes Storage=TS3100_1 Pool=Scratch Slots=3 >> Connecting to Storage daemon TS3100_1 at baculatest:9103 ... >> 3306 Issuing autochanger "slots" command. >> Device "LTO4_1" has 23 slots. >> Connecting to Storage daemon TS3100_1 at baculatest:9103 ... >> 3306 Issuing autochanger "list" command. >> The following Volumes will be labeled: >> Slot Volume >> == >> 3 102ADU >> Do you want to label these Volumes? (yes|no): yes >> Connecting to Storage daemon TS3100_1 at baculatest:9103 ... >> Sending label command for Volume "102ADU" Slot 3 ... >> 3307 Issuing autochanger "unload slot 5, drive 0" command. >> 3304 Issuing autochanger "load slot 3, drive 0" command. >> 3305 Autochanger "load slot 3, drive 0", status is OK. >> 3920 Cannot label Volume because it is already labeled: "102ADU" >> Label command failed for Volume 102ADU. >> >> Thanks in advance. >> >> Win >> >> >> -- >> Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, >> CA >> -OSBC tackles the biggest issue in open source: Open Sourcing the >> Enterprise >> -Strategies to boost innovation and cut costs with open source >> participation >> -Receive a $600 discount off the registration fee with the source code: >> SFAD >> http://p.sf.net/sfu/XcvMzF8H >> ___ >> Bacula-users mailing list >> Bacula-users@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/bacula-users >> > > -- email : win.h...@gmail.com "The unexamined life is not worth living" -- Socrates -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Issue with recycling after moving from 2.0 to 2.4
Kevin Keane a écrit : > Yann Cézard wrote: > >> Kevin Keane a écrit : >> >>> If my math is right, the 12th is the 13th day of the retention >>> period. Since the previous job finished at 22:43, and your new job >>> started at 22:38, the rentention period hadn't elapsed yet, by about >>> five minutes. The reason it sometimes works and sometimes doesn't is >>> simply the timing between the jobs. >>> >> Actually, I don't agree with your maths, sorry :) >> The 12th was the 14th day of the retention period. >> 29th 22:43:13 => start of retention, day/hour 0 >> 30th 22:43:13 => 1st day >> 31th 22:43:13 => 2nd day >> 1st 22:43:13 => 3rd day >> 2nd 22:43:13 => 4th day >> ... >> 11th 22:43:13 => 13th day : job could be pruned, and then the volume >> 12th 22:38 => job is still there, volume is still not recycled ??? >> >> So basically it looks more like a Job pruning problem ? >> > Oops. I think you are right. What are the volume, job and file retention > times? I didn't see those two values in the tables you sent earlier; > maybe I missed it. The only retention time I saw was the one for the > pool - which really has no direct effect at all here. Maybe one of the > files still had an unexpired retention time? In that case, the job won't > get purged even if the job itself has passed its retention time. > Actually, File Retention is configured 13 days for every clients. But you know what ? that's a very good point ! I explain myself : At the start of my migration, I had 2 director crashes, caused by old configuration files for Messages which were mentioning /var/bacula/log instead of /var/lib/bacula/log I noticed the volumes that were used at the time of the crash had a LastWritten field value of "-00-00 00:00:00" which was causing trouble recycling, I already fixed that days ago, but I didn't thought to look at the File table ! I'll have a look at that, and keep you informed, thanks for pointing it up to me ! > Wow. That's pretty big. I didn't check in your original post, but is it > possible that some of the full backups take more than 24 hours? That > might throw off the schedule, too Sure it is big ! In fact, all data is backupped from about 60 differents clients. The biggest job, which could not be done in 24 hours, is splitted in 7 jobs backing up a part of the total file system, each Full running on a different day. And with data volume keeps growing on it, I will probably have to move on a greater basis schedule, but that is another story :) Thanks again, Yann -- Yann Cézard - Administrateur Systèmes Serveurs Centre de Ressources Informatiques-http://cri.univ-pau.fr Université de Pau et des Pays de l'Adour - http://www.univ-pau.fr -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Backup errors, No Job Found
DAve wrote: > Good morning. I have begun getting an error I cannot seem to track down. > It seems that the job runs fine, the volumes fill, but when the job > finishes Bacula is unable to write the completion because the job no > longer exists. It looks to me like Bacula is purging the jobs too soon. > > The error I get in the backup report is as follows, > > 05-Jan 05:57 storage2-sd: Job write elapsed time = 04:56:31, Transfer > rate = 3.761 M bytes/second > 05-Jan 05:57 director-dir: Allied-ex3.2009-01-05_01.00.01 Warning: Error > updating job record. sql_update.c:194 Update problem: affected_rows=0 > 05-Jan 05:57 director-dir: Allied-ex3.2009-01-05_01.00.01 Warning: Error > getting job record for stats: sql_get.c:293 No Job found for JobId 15303 > > This client gets a full backup once a night for DR. Retention is set for > 12 hours. Oddly I have two jobs running for this client and one job > completes fine, the other fails. > > Looking through the archives I found a few bits of information > concerning MySQL and a few bits concerning retention times and auto > pruning. I suspect I have an issues with how I setup auto pruning but > the solution eludes me. That might have something to do with 2000mg of > antibiotics a day and screaming sinuses 8^0 > > As to MySQL, I checked the table status and all looks well. > mysql> SHOW TABLE STATUS FROM bacula like 'File' \G > *** 1. row *** >Name: File > Engine: MyISAM > Version: 10 > Row_format: Dynamic >Rows: 2749308 > Avg_row_length: 84 > Data_length: 316518320 > Max_data_length: 281474976710655 >Index_length: 160896000 > Data_free: 82983144 > Auto_increment: 108368578 > Create_time: 2008-03-04 16:01:52 > Update_time: 2009-01-05 11:41:24 > Check_time: 2009-01-01 13:35:43 > Collation: latin1_swedish_ci >Checksum: NULL > Create_options: > Comment: > 1 row in set (0.00 sec) > > Checking my director config looks good also, both client's have their > backups configured identically, but only the smaller backup fails. > ### SCHEDULES > Schedule { > Name = "Allied-vm1" > Run = Level=Full FullPool=vm1-allied-Pool mon-sun at 01:00 > } > > Schedule { > Name = "Allied-ex3" > Run = Level=Full FullPool=ex3-allied-Pool mon-sun at 01:00 > } > > > ### CLIENTS > Client { > Name = allied-vm1-fd > Address = REDACTED > FDPort = 49201 > Catalog = DataVault > Password = "REDACTED" # password for FileDaemon > File Retention = 1 week # 30 days > Job Retention = 1 week# six months > AutoPrune = yes # Prune expired Jobs/Files > } > > Client { > Name = allied-ex3-fd > Address = REDACTED > FDPort = 49202 > Catalog = DataVault > Password = "REDACTED" # password for FileDaemon > File Retention = 1 week # 30 days > Job Retention = 1 week# six months > AutoPrune = yes # Prune expired Jobs/Files > } > > ### POOLS > Pool { > Name = vm1-allied-Pool > Pool Type = Backup > LabelFormat = "vm1-allied-" > Recycle = yes > Recycle Oldest Volume = yes > Purge Oldest Volume = yes > AutoPrune = yes > Volume Retention = 12 hours > Maximum Volumes = 240 > Maximum Volume Jobs = 0 > Maximum Volume Bytes = 1G > } > > Pool { > Name = ex3-allied-Pool > Pool Type = Backup > LabelFormat = "ex3-allied-" > Recycle = yes > Recycle Oldest Volume = yes > Purge Oldest Volume = yes > AutoPrune = yes > Volume Retention = 12 hours > Maximum Volumes = 60 > Maximum Volume Jobs = 0 > Maximum Volume Bytes = 1G > } > > Any ideas what I may have done wrong? The backup for ex3 ran fine until > a few days ago. Any assistance is appreciated. > > DAve Well, as an update I reset my File/Job Retention from 1 week to 1 day, updated my pool, and everything has run a full month without error. I am happy to report all seems well now. DAve -- The whole internet thing is sucking the life out of me, there ain't no pony in there. -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Adding volumes to a certain Pool
>> How do I put Volumes into a particular Pool? > > Hello, > Maybe try this, from bconsole: > > update > > Then choose 'Volume parameters' - number '1' on my list. > > Then choose 'Pool' - number '11' on my list. > > Then choose the pool that the volume is currently in, then choose the volume, > then type in the pool that you want to move itto. > That would work (and is the proper method) if the volumes were already in the catalog. In this case at least one of the volumes were labeled but is not in the catalog. See this: Volume "103ADU" not found in catalog. Slot=4 InChanger set to zero. Volume "104ADU" not found in catalog. Slot=5 InChanger set to zero. Volume "102ADU" not found in catalog. Slot=3 InChanger set to zero. I would like to add the Volumes 102ADU ~ 104ADU to the Scratch pool. When I ran the following, I got an error message saying the Volume is already labeled. *label barcodes Storage=TS3100_1 Pool=Scratch Slots=3 Connecting to Storage daemon TS3100_1 at baculatest:9103 ... 3306 Issuing autochanger "slots" command. Device "LTO4_1" has 23 slots. Connecting to Storage daemon TS3100_1 at baculatest:9103 ... 3306 Issuing autochanger "list" command. The following Volumes will be labeled: Slot Volume == 3 102ADU Do you want to label these Volumes? (yes|no): yes Connecting to Storage daemon TS3100_1 at baculatest:9103 ... Sending label command for Volume "102ADU" Slot 3 ... 3307 Issuing autochanger "unload slot 5, drive 0" command. 3304 Issuing autochanger "load slot 3, drive 0" command. 3305 Autochanger "load slot 3, drive 0", status is OK. 3920 Cannot label Volume because it is already labeled: "102ADU" Label command failed for Volume 102ADU. John -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Adding volumes to a certain Pool
On Fri, Feb 13, 2009 at 10:24:30AM -0500, Win Htin wrote: > How do I put Volumes into a particular Pool? Hello, Maybe try this, from bconsole: update Then choose 'Volume parameters' - number '1' on my list. Then choose 'Pool' - number '11' on my list. Then choose the pool that the volume is currently in, then choose the volume, then type in the pool that you want to move itto. -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] [Bulk] Re: How to send Bacula messages to different addresses based on backup job, not type
On Fri, 13 Feb 2009 13:59:02 +0100, Mike Eggleston wrote: > On Fri, 13 Feb 2009, Foo might have said: > >> Is it possible to send mail to different recipients depending on the >> backup job? > > On unix you could sent the mail to a sendmail alias, use the > "bacula-main-alias:|/opt/local/bin/parse-bacula-mail.sh" syntax. The > shell script would decide where the message should be redirected when > the alias receives it. Just to clarify the whole chain, output (from jobs etc.) is piped to the mail/operatorcommand, which is normally bsmtp with arguments, so bsmtp listens to stdin, adds formatted headers and sends output to the defined mail gateway. I presume bsmtp doesn't look at aliases, so for the above to work you need to replace the mail/operatorcommand with sendmail. Wouldn't it be more useful to simply point the mail/operatorcommand directly to the shell script and put bsmtp in there with some grep + if/then constructions to decide what goes where? Or possibly procmail? -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Adding volumes to a certain Pool
Hi, This was just discussed here: http://article.gmane.org/gmane.comp.sysutils.backup.bacula.general/51284 Win Htin wrote: > Hi folks, > > How do I put Volumes into a particular Pool? I'm running version 2.4.4 on > RHEL5. > > Currently, from "bconsole" when I run "update slots" I see: > > *update slots > The defined Storage resources are: > 1: File > 2: TS3100_1 > Select Storage resource (1-2): 2 > Connecting to Storage daemon TS3100_1 at baculatest:9103 ... > 3306 Issuing autochanger "slots" command. > Device "LTO4_1" has 23 slots. > Connecting to Storage daemon TS3100_1 at baculatest:9103 ... > 3306 Issuing autochanger "list" command. > Catalog record for Volume "100ADU" updated to reference slot 1. > Catalog record for Volume "101ADU" updated to reference slot 2. > Volume "103ADU" not found in catalog. Slot=4 InChanger set to zero. > Volume "104ADU" not found in catalog. Slot=5 InChanger set to zero. > Volume "102ADU" not found in catalog. Slot=3 InChanger set to zero. > > I would like to add the Volumes 102ADU ~ 104ADU to the Scratch pool. > When I ran the following, I got an error message saying the Volume is > already labeled. > > *label barcodes Storage=TS3100_1 Pool=Scratch Slots=3 > Connecting to Storage daemon TS3100_1 at baculatest:9103 ... > 3306 Issuing autochanger "slots" command. > Device "LTO4_1" has 23 slots. > Connecting to Storage daemon TS3100_1 at baculatest:9103 ... > 3306 Issuing autochanger "list" command. > The following Volumes will be labeled: > Slot Volume > == >3 102ADU > Do you want to label these Volumes? (yes|no): yes > Connecting to Storage daemon TS3100_1 at baculatest:9103 ... > Sending label command for Volume "102ADU" Slot 3 ... > 3307 Issuing autochanger "unload slot 5, drive 0" command. > 3304 Issuing autochanger "load slot 3, drive 0" command. > 3305 Autochanger "load slot 3, drive 0", status is OK. > 3920 Cannot label Volume because it is already labeled: "102ADU" > Label command failed for Volume 102ADU. > > Thanks in advance. > > Win > > -- > Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA > -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise > -Strategies to boost innovation and cut costs with open source participation > -Receive a $600 discount off the registration fee with the source code: SFAD > http://p.sf.net/sfu/XcvMzF8H > ___ > Bacula-users mailing list > Bacula-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/bacula-users > -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Adding volumes to a certain Pool
Hi folks, How do I put Volumes into a particular Pool? I'm running version 2.4.4 on RHEL5. Currently, from "bconsole" when I run "update slots" I see: *update slots The defined Storage resources are: 1: File 2: TS3100_1 Select Storage resource (1-2): 2 Connecting to Storage daemon TS3100_1 at baculatest:9103 ... 3306 Issuing autochanger "slots" command. Device "LTO4_1" has 23 slots. Connecting to Storage daemon TS3100_1 at baculatest:9103 ... 3306 Issuing autochanger "list" command. Catalog record for Volume "100ADU" updated to reference slot 1. Catalog record for Volume "101ADU" updated to reference slot 2. Volume "103ADU" not found in catalog. Slot=4 InChanger set to zero. Volume "104ADU" not found in catalog. Slot=5 InChanger set to zero. Volume "102ADU" not found in catalog. Slot=3 InChanger set to zero. I would like to add the Volumes 102ADU ~ 104ADU to the Scratch pool. When I ran the following, I got an error message saying the Volume is already labeled. *label barcodes Storage=TS3100_1 Pool=Scratch Slots=3 Connecting to Storage daemon TS3100_1 at baculatest:9103 ... 3306 Issuing autochanger "slots" command. Device "LTO4_1" has 23 slots. Connecting to Storage daemon TS3100_1 at baculatest:9103 ... 3306 Issuing autochanger "list" command. The following Volumes will be labeled: Slot Volume == 3 102ADU Do you want to label these Volumes? (yes|no): yes Connecting to Storage daemon TS3100_1 at baculatest:9103 ... Sending label command for Volume "102ADU" Slot 3 ... 3307 Issuing autochanger "unload slot 5, drive 0" command. 3304 Issuing autochanger "load slot 3, drive 0" command. 3305 Autochanger "load slot 3, drive 0", status is OK. 3920 Cannot label Volume because it is already labeled: "102ADU" Label command failed for Volume 102ADU. Thanks in advance. Win -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Issue with recycling after moving from 2.0 to 2.4
Yann Cézard wrote: > Kevin Keane a écrit : >> If my math is right, the 12th is the 13th day of the retention >> period. Since the previous job finished at 22:43, and your new job >> started at 22:38, the rentention period hadn't elapsed yet, by about >> five minutes. The reason it sometimes works and sometimes doesn't is >> simply the timing between the jobs. > Actually, I don't agree with your maths, sorry :) > The 12th was the 14th day of the retention period. > 29th 22:43:13 => start of retention, day/hour 0 > 30th 22:43:13 => 1st day > 31th 22:43:13 => 2nd day > 1st 22:43:13 => 3rd day > 2nd 22:43:13 => 4th day > ... > 11th 22:43:13 => 13th day : job could be pruned, and then the volume > 12th 22:38 => job is still there, volume is still not recycled ??? > > So basically it looks more like a Job pruning problem ? Oops. I think you are right. What are the volume, job and file retention times? I didn't see those two values in the tables you sent earlier; maybe I missed it. The only retention time I saw was the one for the pool - which really has no direct effect at all here. Maybe one of the files still had an unexpired retention time? In that case, the job won't get purged even if the job itself has passed its retention time. Similarly, if the job retention time is longer, the volume won't get purged even if its retention time has passed. >> As you back up larger jobs, this problem is going to get worse. You >> really need more than 12 volumes for a 13 day retention period. > I have 14 volumes : 2 full (1 day per week) + 12 incremental > (6 days per week). > So even if the job stopped one day after schedule (I limit > the job to 20 hours by the way), when the "two week after" > job should takes place (should it be Full or Incr), the volume > should already have been recycled. > That's why I choosed this 13 days Retention time, and not 14. > > Or perhaps I am wrong and don't understand some basic thing here ? I think you have to look at the incremental and full pools separately. You have 13 days, and you have effectively 13 incremental volumes to work with (one of them is virtual because you are not using up an incremental volume on the day you did the full backup). That means that on some days, you will run into this timing problem. >> Personally, I would suggest you consider letting Bacula automatically >> label volumes as needed. Also, with bi-weekly backups, you may want >> to consider 15 days instead of 13 days as your retention period. >> Otherwise, bacula has to delete an older backup just before doing the >> next one, and you'd be left with just one backup on your disk. If >> that is somehow corrupted, you'd have a problem. >> > I know that, but that's a choice that I have made, I should restrict > the size of backups that I have (more than 6To actually, keeping one > more Full Jobs would mean about 9To...). Wow. That's pretty big. I didn't check in your original post, but is it possible that some of the full backups take more than 24 hours? That might throw off the schedule, too. -- Kevin Keane Owner The NetTech Find the Uncommon: Expert Solutions for a Network You Never Have to Think About Office: 866-642-7116 http://www.4nettech.com This e-mail and attachments, if any, may contain confidential and/or proprietary information. Please be advised that the unauthorized use or disclosure of the information is strictly prohibited. The information herein is intended only for use by the intended recipient(s) named above. If you have received this transmission in error, please notify the sender immediately and permanently delete the e-mail and any copies, printouts or attachments thereof. -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Never Mind - Given up on Bacula
John Kloss wrote: > Can we please stop feeding the troll? > > This list has a lot of really good, useful information from a lot of > informed and insightful people; but, this is junk. > > Can we please move on to doing what this list does very well, helping > out bacula users? > > Thank you. +1 Feeding trolls achieves the goals of the troll, not our goals. -- Dan Langille BSDCan - The Technical BSD Conference : http://www.bsdcan.org/ PGCon - The PostgreSQL Conference: http://www.pgcon.org/ -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Issue with recycling after moving from 2.0 to 2.4
> Hi John, > > I don't understand what you mean, PoolType can only be one of this : > (http://www.bacula.org/en/rel-manual/Configuring_Director.html#SECTION001415) > Pool Type = > This directive defines the pool type, which corresponds to the type of Job > being run. It is required and may be one of the following: > > Backup > *Archive > *Cloned > *Migration > *Copy > *Save > > Note, only Backup is current implemented. > > So the note says that I don't really have the choice, the only type of pool > that > I can use is Backup ?! > Forget that. Mental lapse. My mind does not work well this early in the morning. Sorry. John -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Never Mind - Given up on Bacula
Can we please stop feeding the troll? This list has a lot of really good, useful information from a lot of informed and insightful people; but, this is junk. Can we please move on to doing what this list does very well, helping out bacula users? Thank you. John Kloss. On Feb 13, 2009, at 8:37 AM, Mike Holden wrote: > Steve Handy wrote: >> I needed a car. I decided to get a used car for nothing. My mom >> warned >> me, "okay but you get what you pay for son." I bought a used car >> anyway, >> essentially free. I had for it for a year. Put well over 5000 >> dollars >> into it, as problems surmounted, new radiator, fuel pump, and >> finally the >> engine died. I wised up and BOUGHT A NEW CAR. (Nissan Sentra). >> >> >> Steve >> >> -Original Message- >> From: Jason Dixon [mailto:jdi...@omniti.com] >> Sent: Thursday, February 12, 2009 4:55 PM >> To: Frank Sweetser >> Cc: Steve Handy; 'John Drescher'; bacula-users >> Subject: Re: [Bacula-users] Never Mind - Given up on Bacula >> >> On Thu, Feb 12, 2009 at 05:12:58PM -0500, Frank Sweetser wrote: >>> >>> Seriously, though, if you think that a paycheck suddenly turns >>> someone >>> into a >>> brilliant software engineer, then you've obviously never had to >>> painstakingly >>> read and explain RFCs to the developers who supposedly implemented >>> them >>> in the >>> product you bought, had a trouble ticket filled with with carefully >>> documented >>> details and transcripts of reliably reproducible problems come >>> back with >>> a >>> response that basically says "Oh, our software doesn't do that, so >>> you're not >>> having that problem!", or, when you finally convince them that it >>> really >>> is a >>> real bug, have the vendor respond by simply retracting any claim to >>> having >>> that feature rather than fix it. And yes, those are all >>> experiences I >>> have >>> personally had when dealing with "highly paid engineers." >> >> I used to work for a highly respected security/VPN company. The lead >> engineer in charge of their IPSec management application walked >> into the >> test lab one day and saw the "ACK" on the back of my black t-shirt. >> >> him: "LOL, that's great. Bill the cat." >> >> I turned around, showing him the "SYN" on the front of the shirt. >> >> him: "I don't get it." >> me:"You know, the 3-way handshake. TCP." >> him: "Nope. What is it?" >> >> And there you go. You too can be a lead engineer of an IPSec >> company by >> knowing Java. >> >> -- >> Jason Dixon >> OmniTI Computer Consulting, Inc. >> jdi...@omniti.com >> 443.325.1357 x.241 >> >> -- >> Open Source Business Conference (OSBC), March 24-25, 2009, San >> Francisco, >> CA >> -OSBC tackles the biggest issue in open source: Open Sourcing the >> Enterprise >> -Strategies to boost innovation and cut costs with open source >> participation >> -Receive a $600 discount off the registration fee with the source >> code: >> SFAD >> http://p.sf.net/sfu/XcvMzF8H >> ___ >> Bacula-users mailing list >> Bacula-users@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/bacula-users >> >> > > You can't even use an email client to quote past messages prioperly. > What > chance do you have with a piece of software more complex than a simple > text editor? > > Feel free to throw good money down the drain on an expensive backup > program that will be less feature rich and more buggy, and with a > company > less responsive to bug reports than bacula if you like, but everyone > else > here knows you are an idiot already! > > Still, you've kept me amused on a Friday where I have been deprived > of my > usual dose of BOFH, so I have to commend you for that at least. > -- > Mike Holden > > > > > -- > Open Source Business Conference (OSBC), March 24-25, 2009, San > Francisco, CA > -OSBC tackles the biggest issue in open source: Open Sourcing the > Enterprise > -Strategies to boost innovation and cut costs with open source > participation > -Receive a $600 discount off the registration fee with the source > code: SFAD > http://p.sf.net/sfu/XcvMzF8H > ___ > Bacula-users mailing list > Bacula-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/bacula-users -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H ___ Bacula-users mailing list B
Re: [Bacula-users] Issue with recycling after moving from 2.0 to 2.4
Kevin Keane a écrit : > If my math is right, the 12th is the 13th day of the retention period. > Since the previous job finished at 22:43, and your new job started at > 22:38, the rentention period hadn't elapsed yet, by about five minutes. > The reason it sometimes works and sometimes doesn't is simply the timing > between the jobs. > Actually, I don't agree with your maths, sorry :) The 12th was the 14th day of the retention period. 29th 22:43:13 => start of retention, day/hour 0 30th 22:43:13 => 1st day 31th 22:43:13 => 2nd day 1st 22:43:13 => 3rd day 2nd 22:43:13 => 4th day ... 11th 22:43:13 => 13th day : job could be pruned, and then the volume 12th 22:38 => job is still there, volume is still not recycled ??? So basically it looks more like a Job pruning problem ? > As you back up larger jobs, this problem is going to > get worse. You really need more than 12 volumes for a 13 day retention > period. I have 14 volumes : 2 full (1 day per week) + 12 incremental (6 days per week). So even if the job stopped one day after schedule (I limit the job to 20 hours by the way), when the "two week after" job should takes place (should it be Full or Incr), the volume should already have been recycled. That's why I choosed this 13 days Retention time, and not 14. Or perhaps I am wrong and don't understand some basic thing here ? > Personally, I would suggest you consider letting Bacula automatically > label volumes as needed. Also, with bi-weekly backups, you may want to > consider 15 days instead of 13 days as your retention period. Otherwise, > bacula has to delete an older backup just before doing the next one, and > you'd be left with just one backup on your disk. If that is somehow > corrupted, you'd have a problem. > I know that, but that's a choice that I have made, I should restrict the size of backups that I have (more than 6To actually, keeping one more Full Jobs would mean about 9To...). Regards, -- Yann Cézard - Administrateur Systèmes Serveurs Centre de Ressources Informatiques-http://cri.univ-pau.fr Université de Pau et des Pays de l'Adour - http://www.univ-pau.fr -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] How to properly escape Linux shell commands for ClientRunBeforeJob?
Hi, I'm trying to run the following command before a backup: svnadmin --quiet dump /var/svnrepo >/tmp/svnrepo_backup.svn_dump; gzip -9 /tmp/svnrepo_backup.svn_dump and 'rm -f /tmp/svnrepo_backup.svn_dump.gz' after the job. When executing the above on the shell it works fine. So I added in the job definition of the machine: ClientRunBeforeJob = "svnadmin --quiet dump /var/svnrepo >/tmp/svnrepo_backup.svn_dump; gzip -9 /tmp/svnrepo_backup.svn_dump" ClientRunAfterJob = "rm -f /tmp/svnrepo_backup.svn_dump.gz" This fails with: ClientRunBeforeJob: svnadmin: invalid option character: 9 ClientRunBeforeJob: Type 'svnadmin help' for usage. Error: Runscript: ClientRunBeforeJob returned non-zero status=1. ERR=Child exited with code 1 Obviously the command needs some escapes lest svnadmin think all the line is arguments for it. So I peruse the manual and find the '>' needs escaping. But when I do that (or break up the svnadmin and gzip commands into two ClientRunBeforeJob lines), the whole svn dump will be done to standard out, which in short order fills up the bconsole log and since the job output is mailed, kills bsmtp and gets me blacklisted on the mail gateway for DoS-ing it :) Canceling the job doesn't stop the flood, only killing the bacula-fd on the SVN machine does after a while. Does anyone know how to properly escape the above? I could probably use a local shell script as a single command instead, but would like to know how to do proper escaping for future use. -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Never Mind - Given up on Bacula
Okay guys now its starting to get a little chippy here. I see that we are now starting to throw insults and that's certainty not gonna get anything accomplished. That's not my style. Steve - Original Message - From: Mike Holden To: Steve Handy Cc: 'Jason Dixon' ; Frank Sweetser ; 'John Drescher' ; bacula-users Sent: Fri Feb 13 07:37:44 2009 Subject: Re: [Bacula-users] Never Mind - Given up on Bacula Steve Handy wrote: > I needed a car. I decided to get a used car for nothing. My mom warned > me, "okay but you get what you pay for son." I bought a used car anyway, > essentially free. I had for it for a year. Put well over 5000 dollars > into it, as problems surmounted, new radiator, fuel pump, and finally the > engine died. I wised up and BOUGHT A NEW CAR. (Nissan Sentra). > > > Steve > > -Original Message- > From: Jason Dixon [mailto:jdi...@omniti.com] > Sent: Thursday, February 12, 2009 4:55 PM > To: Frank Sweetser > Cc: Steve Handy; 'John Drescher'; bacula-users > Subject: Re: [Bacula-users] Never Mind - Given up on Bacula > > On Thu, Feb 12, 2009 at 05:12:58PM -0500, Frank Sweetser wrote: >> >> Seriously, though, if you think that a paycheck suddenly turns someone >> into a >> brilliant software engineer, then you've obviously never had to >> painstakingly >> read and explain RFCs to the developers who supposedly implemented them >> in the >> product you bought, had a trouble ticket filled with with carefully >> documented >> details and transcripts of reliably reproducible problems come back with >> a >> response that basically says "Oh, our software doesn't do that, so >> you're not >> having that problem!", or, when you finally convince them that it really >> is a >> real bug, have the vendor respond by simply retracting any claim to >> having >> that feature rather than fix it. And yes, those are all experiences I >> have >> personally had when dealing with "highly paid engineers." > > I used to work for a highly respected security/VPN company. The lead > engineer in charge of their IPSec management application walked into the > test lab one day and saw the "ACK" on the back of my black t-shirt. > >him: "LOL, that's great. Bill the cat." > > I turned around, showing him the "SYN" on the front of the shirt. > >him: "I don't get it." >me:"You know, the 3-way handshake. TCP." >him: "Nope. What is it?" > > And there you go. You too can be a lead engineer of an IPSec company by > knowing Java. > > -- > Jason Dixon > OmniTI Computer Consulting, Inc. > jdi...@omniti.com > 443.325.1357 x.241 > > -- > Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, > CA > -OSBC tackles the biggest issue in open source: Open Sourcing the > Enterprise > -Strategies to boost innovation and cut costs with open source > participation > -Receive a $600 discount off the registration fee with the source code: > SFAD > http://p.sf.net/sfu/XcvMzF8H > ___ > Bacula-users mailing list > Bacula-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/bacula-users > > You can't even use an email client to quote past messages prioperly. What chance do you have with a piece of software more complex than a simple text editor? Feel free to throw good money down the drain on an expensive backup program that will be less feature rich and more buggy, and with a company less responsive to bug reports than bacula if you like, but everyone else here knows you are an idiot already! Still, you've kept me amused on a Friday where I have been deprived of my usual dose of BOFH, so I have to commend you for that at least. -- Mike Holden -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Autochanger
Hello everybody. i'm looking for people who have ever used this autochanger : IBM 3584-L32 with bacula. I've searched over mtx website without success. Does anybody got info ? Regards -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Issue with recycling after moving from 2.0 to 2.4
John Drescher a écrit : > On Fri, Feb 13, 2009 at 5:19 AM, Yann Cézard wrote: > >> Hi list, >> >> I have recently moved to bacula 2.4.4 (2.4.3 at the start, I upgraded >> to 2.4.4 last week), from 2.0.3 (totally new installation : new server, >> new databases, the only thing that I kept from the old install is my >> client/jobs/pools/... configuration files) and I am facing a strange >> issue in volume recycling. >> Operating system is Debian Lenny (bacula packages are the "official" >> Debian ones). >> >> My backups are configured that way : >> - 1 Full job per week, Incremental the other days >> - jobs are kept 13 days (full or incr) >> - volume are 13 days retention period, recycling is on, autoprune >> is on, each job has one Full Pool (2 volumes) and one Incremental >> Pool (12 volumes) >> - all backups are done on disk (no tape) >> - multiple databases (not really one for each client, but not far - one >> database by client profile) >> >> Everything was working fine with 2.0.3, but I noticed that with 2.4.4 >> recycling is sometime happenning more lately, or not when wanted... >> >> Exple : >> Pools looks like this in database (sorry for the formatting) : >> ++--+-+-+-++-+--+++-+-+---+-+--+---+-+-+---+---+++---+---+ >> | PoolId | Name | NumVols | MaxVols | UseOnce | UseCatalog | >> AcceptAnyVolume | VolRetention | VolUseDuration | MaxVolJobs | >> MaxVolFiles | MaxVolBytes | AutoPrune | Recycle | PoolType | LabelType | >> LabelFormat | Enabled | ScratchPoolId | RecyclePoolId | NextPoolId | >> MigrationHighBytes | MigrationLowBytes | MigrationTime | >> ++--+-+-+-++-+--+++-+-+---+-+--+---+-+-+---+---+++---+---+ >> | 60 | PoolSso-Full | 2 | 2 | 1 | 1 >> | 0 | 1123200 | 0 | 0 >> | 0 | 0 | 1 | 1 | Backup | 0 >> | sso-full- | 1 |0 | 0 | 0 >> | 0 | 0 | 0 | >> | 61 | PoolSso-Incr | 12 | 12 | 1 | 1 >> | 0 | 1123200 | 0 | 0 >> | 0 | 0 | 1 | 1 | Backup | 0 >> | sso-incr- | 1 |0 | 0 | 0 >> | 0 | 0 | 0 | >> ++--+-+-+-++-+--+++-+-+---+-+--+---+-+-+---+---+++---+---+ >> >> > > Do not use volume PoolType "Backup". Only Used, Full or Append. > > John > Hi John, I don't understand what you mean, PoolType can only be one of this : (http://www.bacula.org/en/rel-manual/Configuring_Director.html#SECTION001415) Pool Type = This directive defines the pool type, which corresponds to the type of Job being run. It is required and may be one of the following: Backup *Archive *Cloned *Migration *Copy *Save Note, only Backup is current implemented. So the note says that I don't really have the choice, the only type of pool that I can use is Backup ?! I you're talking about Volume status, you can look at the Media database that I've send, they're all marked as 'Used'. Or I misunderstand what you mean. Regards, -- Yann Cézard - Administrateur Systèmes Serveurs Centre de Ressources Informatiques-http://cri.univ-pau.fr Université de Pau et des Pays de l'Adour - http://www.univ-pau.fr -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] LabelFormat question
Actually, you have two problems in that label format. The first one is that, indeed, the NumVols is global per pool. The second problem is that once bacula starts recycling tapes, it may well use this tape for a different job than what the label suggests. I fell into that trap myself when I started using bacula. In fact, I actually don't quite understand why bacula would ever let you even put the job name into the label in the first place. It seems to me that unless you never recycle volumes, there really is no scenario where it makes sense, and is actually very confusing. As for your second question: bacula only appends the volume ID (not a self-incrementing number as the documentation suggests) if you don't use any variable expansion. That behavior is documented here http://www.bacula.org/en/dev-manual/Configuring_Director.html#Label ML mail wrote: > Hello, > > I am using Bacula to backup 3 servers and store the backup files on the hard > disk, each in different directories by setting up 3 different Devices and > using one single Pool. > > Now I have noticed that the filename is not exactly as I wish it to be: I am > using the following LabelFormat in my Pool: > > LabelFormat = "backup-${Job}-${NumVols}" > > with the idea in mind to have a filename with the job name (this would be the > server name) and then the volume number for that server, but unfortunately > the volume number is global (for all 3 servers). So should I actually define > one Pool per server, or is there an easier way to do it ? > > Also if I used: > > LabelFormat = "backup-${Job}-" > > would the volume number be added automatically as epxlained in > http://www.bacula.org/fr/dev-manual/Basic_Volume_Management.html#SECTION006131200 > ? > > Thank you very much for the help > > Regards > -- Kevin Keane Owner The NetTech Find the Uncommon: Expert Solutions for a Network You Never Have to Think About Office: 866-642-7116 http://www.4nettech.com This e-mail and attachments, if any, may contain confidential and/or proprietary information. Please be advised that the unauthorized use or disclosure of the information is strictly prohibited. The information herein is intended only for use by the intended recipient(s) named above. If you have received this transmission in error, please notify the sender immediately and permanently delete the e-mail and any copies, printouts or attachments thereof. -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Never Mind - Given up on Bacula
Steve Handy wrote: > I needed a car. I decided to get a used car for nothing. My mom warned > me, "okay but you get what you pay for son." I bought a used car anyway, > essentially free. I had for it for a year. Put well over 5000 dollars > into it, as problems surmounted, new radiator, fuel pump, and finally the > engine died. I wised up and BOUGHT A NEW CAR. (Nissan Sentra). > > > Steve > > -Original Message- > From: Jason Dixon [mailto:jdi...@omniti.com] > Sent: Thursday, February 12, 2009 4:55 PM > To: Frank Sweetser > Cc: Steve Handy; 'John Drescher'; bacula-users > Subject: Re: [Bacula-users] Never Mind - Given up on Bacula > > On Thu, Feb 12, 2009 at 05:12:58PM -0500, Frank Sweetser wrote: >> >> Seriously, though, if you think that a paycheck suddenly turns someone >> into a >> brilliant software engineer, then you've obviously never had to >> painstakingly >> read and explain RFCs to the developers who supposedly implemented them >> in the >> product you bought, had a trouble ticket filled with with carefully >> documented >> details and transcripts of reliably reproducible problems come back with >> a >> response that basically says "Oh, our software doesn't do that, so >> you're not >> having that problem!", or, when you finally convince them that it really >> is a >> real bug, have the vendor respond by simply retracting any claim to >> having >> that feature rather than fix it. And yes, those are all experiences I >> have >> personally had when dealing with "highly paid engineers." > > I used to work for a highly respected security/VPN company. The lead > engineer in charge of their IPSec management application walked into the > test lab one day and saw the "ACK" on the back of my black t-shirt. > >him: "LOL, that's great. Bill the cat." > > I turned around, showing him the "SYN" on the front of the shirt. > >him: "I don't get it." >me:"You know, the 3-way handshake. TCP." >him: "Nope. What is it?" > > And there you go. You too can be a lead engineer of an IPSec company by > knowing Java. > > -- > Jason Dixon > OmniTI Computer Consulting, Inc. > jdi...@omniti.com > 443.325.1357 x.241 > > -- > Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, > CA > -OSBC tackles the biggest issue in open source: Open Sourcing the > Enterprise > -Strategies to boost innovation and cut costs with open source > participation > -Receive a $600 discount off the registration fee with the source code: > SFAD > http://p.sf.net/sfu/XcvMzF8H > ___ > Bacula-users mailing list > Bacula-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/bacula-users > > You can't even use an email client to quote past messages prioperly. What chance do you have with a piece of software more complex than a simple text editor? Feel free to throw good money down the drain on an expensive backup program that will be less feature rich and more buggy, and with a company less responsive to bug reports than bacula if you like, but everyone else here knows you are an idiot already! Still, you've kept me amused on a Friday where I have been deprived of my usual dose of BOFH, so I have to commend you for that at least. -- Mike Holden -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Issue with recycling after moving from 2.0 to 2.4
If my math is right, the 12th is the 13th day of the retention period. Since the previous job finished at 22:43, and your new job started at 22:38, the rentention period hadn't elapsed yet, by about five minutes. The reason it sometimes works and sometimes doesn't is simply the timing between the jobs. As you back up larger jobs, this problem is going to get worse. You really need more than 12 volumes for a 13 day retention period. Personally, I would suggest you consider letting Bacula automatically label volumes as needed. Also, with bi-weekly backups, you may want to consider 15 days instead of 13 days as your retention period. Otherwise, bacula has to delete an older backup just before doing the next one, and you'd be left with just one backup on your disk. If that is somehow corrupted, you'd have a problem. Yann Cézard wrote: > Hi list, > > I have recently moved to bacula 2.4.4 (2.4.3 at the start, I upgraded > to 2.4.4 last week), from 2.0.3 (totally new installation : new server, > new databases, the only thing that I kept from the old install is my > client/jobs/pools/... configuration files) and I am facing a strange > issue in volume recycling. > Operating system is Debian Lenny (bacula packages are the "official" > Debian ones). > > My backups are configured that way : > - 1 Full job per week, Incremental the other days > - jobs are kept 13 days (full or incr) > - volume are 13 days retention period, recycling is on, autoprune > is on, each job has one Full Pool (2 volumes) and one Incremental > Pool (12 volumes) > - all backups are done on disk (no tape) > - multiple databases (not really one for each client, but not far - one > database by client profile) > > Everything was working fine with 2.0.3, but I noticed that with 2.4.4 > recycling is sometime happenning more lately, or not when wanted... > > Exple : > Pools looks like this in database (sorry for the formatting) : > ++--+-+-+-++-+--+++-+-+---+-+--+---+-+-+---+---+++---+---+ > | PoolId | Name | NumVols | MaxVols | UseOnce | UseCatalog | > AcceptAnyVolume | VolRetention | VolUseDuration | MaxVolJobs | > MaxVolFiles | MaxVolBytes | AutoPrune | Recycle | PoolType | LabelType | > LabelFormat | Enabled | ScratchPoolId | RecyclePoolId | NextPoolId | > MigrationHighBytes | MigrationLowBytes | MigrationTime | > ++--+-+-+-++-+--+++-+-+---+-+--+---+-+-+---+---+++---+---+ > | 60 | PoolSso-Full | 2 | 2 | 1 | 1 > | 0 | 1123200 | 0 | 0 > | 0 | 0 | 1 | 1 | Backup | 0 > | sso-full- | 1 |0 | 0 | 0 > | 0 | 0 | 0 | > | 61 | PoolSso-Incr | 12 | 12 | 1 | 1 > | 0 | 1123200 | 0 | 0 > | 0 | 0 | 1 | 1 | Backup | 0 > | sso-incr- | 1 |0 | 0 | 0 > | 0 | 0 | 0 | > ++--+-+-+-++-+--+++-+-+---+-+--+---+-+-+---+---+++---+---+ > > Media : > +-+---++---+-+---+-+-+-+-+--+---+---+---+ > > > | MediaId | VolumeName| PoolId | MediaType | MediaTypeId | LabelType > | FirstWritten| LastWritten | LabelDate | > VolJobs | VolFiles | VolBlocks | VolMounts | VolStatus | > +-+---++---+-+---+-+-+-+-+--+---+---+---+ > > > | 2 | sso-full-0002 | 60 | File-sso | 0 | 0 > | 2009-02-10 22:40:13 | 2009-02-10 22:46:00 | 2009-02-10 22:40:13 > | 1 |0 | 21810 | 2 | Used | > | 5 | sso-incr-0005 | 61 | File-sso | 0 | 0 > | 2009-02-11 22:37:30 | 2009-02-11 22:39:19 | 2009-02-11 22:37:30 > | 1 |0 |
Re: [Bacula-users] supported barcodes on Dell PowerVault TL2000 Tape Library
John Drescher schrieb: > I printed mine reasonably close to > specifications and it worked even with the label upside down. My theory: with fixing the Kyocera barcode labels upside down I moved the text string out of the scan area and with this now the barcode has the same orientation as that on the special labels you can order at Dell. -- Ralf Brinkmann -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Issue with recycling after moving from 2.0 to 2.4
On Fri, Feb 13, 2009 at 5:19 AM, Yann Cézard wrote: > Hi list, > > I have recently moved to bacula 2.4.4 (2.4.3 at the start, I upgraded > to 2.4.4 last week), from 2.0.3 (totally new installation : new server, > new databases, the only thing that I kept from the old install is my > client/jobs/pools/... configuration files) and I am facing a strange > issue in volume recycling. > Operating system is Debian Lenny (bacula packages are the "official" > Debian ones). > > My backups are configured that way : > - 1 Full job per week, Incremental the other days > - jobs are kept 13 days (full or incr) > - volume are 13 days retention period, recycling is on, autoprune > is on, each job has one Full Pool (2 volumes) and one Incremental > Pool (12 volumes) > - all backups are done on disk (no tape) > - multiple databases (not really one for each client, but not far - one > database by client profile) > > Everything was working fine with 2.0.3, but I noticed that with 2.4.4 > recycling is sometime happenning more lately, or not when wanted... > > Exple : > Pools looks like this in database (sorry for the formatting) : > ++--+-+-+-++-+--+++-+-+---+-+--+---+-+-+---+---+++---+---+ > | PoolId | Name | NumVols | MaxVols | UseOnce | UseCatalog | > AcceptAnyVolume | VolRetention | VolUseDuration | MaxVolJobs | > MaxVolFiles | MaxVolBytes | AutoPrune | Recycle | PoolType | LabelType | > LabelFormat | Enabled | ScratchPoolId | RecyclePoolId | NextPoolId | > MigrationHighBytes | MigrationLowBytes | MigrationTime | > ++--+-+-+-++-+--+++-+-+---+-+--+---+-+-+---+---+++---+---+ > | 60 | PoolSso-Full | 2 | 2 | 1 | 1 > | 0 | 1123200 | 0 | 0 > | 0 | 0 | 1 | 1 | Backup | 0 > | sso-full- | 1 |0 | 0 | 0 > | 0 | 0 | 0 | > | 61 | PoolSso-Incr | 12 | 12 | 1 | 1 > | 0 | 1123200 | 0 | 0 > | 0 | 0 | 1 | 1 | Backup | 0 > | sso-incr- | 1 |0 | 0 | 0 > | 0 | 0 | 0 | > ++--+-+-+-++-+--+++-+-+---+-+--+---+-+-+---+---+++---+---+ > Do not use volume PoolType "Backup". Only Used, Full or Append. John -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] supported barcodes on Dell PowerVault TL2000 Tape Library
> in the meantime I changed the size of the barcode labels a little bit to > make them better match to lable field of the cartridge and sticked them > with carpet tape upside down onto the cartridge with the human readable > text string pointing to the top side of the cartridge. > Now it works! > Good! I don't have a dell archive but my Exabyte 224 had a document devoted to the label size and format with measurements in mm that all the parts of the label had to be. I printed mine reasonably close to specifications and it worked even with the label upside down.. I used a sheet avery label paper that I had from the office. The size of the cut out labels on the avery paper was much larger than the tape labels so I was able cut out labels that were the correct size. John -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] moving from 2.0 to 2.4
On Fri, Feb 13, 2009 at 6:05 AM, François Mehault wrote: > Hi Yann Cézard, Hi All > > I read your email and I saw that you upgraded your Bacula from 2.0.3 to 2.4.4 > like I want to do. Could you confirm me that I don't need to execute some > script for the database ? You did just to do that to upgrade ? > > ./configure (your options) > make > make install > > Thanks, > I believe the schema did not change from 2.0.X to 2.4.X so no update_database is needed. John -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Backing up Microsoft Exchange?!
> > Well, what matters to me is the amount of data transferred in each > > backup session: would this plugin do some sort of > "incremental backups" > > or just backup the *whole* Exchange database? > > No, it can do incrementals. Ah, so it could be ok for me to use, as you say that it *can* do incrementals, right? -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] How to send Bacula messages to different addresses based on backup job, not type
Hi, Is it possible to send mail to different recipients depending on the backup job? I.e. operator messages and jobs backing up servers 100 to 200 should be sent to address A, but e.g. error messages (or just all messages) concerning machines 110 to 120 should (also) be sent to address B. I couldn't find this in the manual, so I would think it's only possible via an extra 'append =' directive in all message sections, and doing some scripting on the resulting file. -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] supported barcodes on Dell PowerVault TL2000 Tape Library
Ralf Brinkmann schrieb: > I tested barcode type "code39" printed with a Kyocera laserprinter - > seems not to work. The Dell User’s Guide gives no hint at all. > > Any Idea? > > Kyocera Prescribe commands: > > !R! UNIT D; > SCP; > BARC 19, Y, 'DO0101L3', 180, 200; > RPP; MRP 0, 600; > BARC 19, Y, 'DO0102L3', 180, 200; > EXIT; in the meantime I changed the size of the barcode labels a little bit to make them better match to lable field of the cartridge and sticked them with carpet tape upside down onto the cartridge with the human readable text string pointing to the top side of the cartridge. Now it works! Kyocera Laserprinter Prescribe commands: (Code 'BARC 19' = CODE 39 with no check digit - google for "Manuel des commandes Prescribe.PDF") !R! UNIT D; SCP; BARC 19, Y, 'DO0201L3', 270, 300; SCP; RPP; MRP 0, 600; BARC 19, Y, 'DO0202L3', 270, 300; EXIT; mtx: ... Storage Element 7:Full :VolumeTag=DO0201L3 Storage Element 8:Full :VolumeTag=DO0202L3 bconsole: (after labeling) *update slots=7-8 ... Catalog record for Volume "DO0201L3" updated to reference slot 7. Catalog record for Volume "DO0202L3" updated to reference slot 8. -- Ralf Brinkmann -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] moving from 2.0 to 2.4
François Mehault a écrit : > Hi Yann Cézard, Hi All > > I read your email and I saw that you upgraded your Bacula from 2.0.3 to 2.4.4 > like I want to do. Could you confirm me that I don't need to execute some > script for the database ? You did just to do that to upgrade ? > > ./configure (your options) > make > make install > > Thanks, > > Regards > > François > > Hi François, As I said, I did a totally fresh install, I didn't kept back my volumes nor my databases. I just migrated my clients from the old installation to the new one day by day, activating each job on the new server when it was planned to be done Full. So I am sorry, I can't say if the database really needs an update or not. I have read your message, it seems that the difference of database schema is just one key that was dropped. So I would say that it is not really important, having an unused key will not break your data, it will just make the insert/delete a little more slow. I think that you can drop your key from the table, and create the new one (which in fact has just be renamed). Something like : ALTER TABLE File DROP KEY JobId; ALTER TABLE File DROP KEY JobId_2; ALTER TABLE File ADD KEY JobId (JobId, PathId, FilenameId); But you should better wait for someone else to confirm before doing this, cause I am not a MySQL expert (nor a Bacula one). Or just test on a database copy ! Regards, -- Yann Cézard - Administrateur Systèmes Serveurs Centre de Ressources Informatiques-http://cri.univ-pau.fr Université de Pau et des Pays de l'Adour - http://www.univ-pau.fr -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Fwd: Backing up network drives with windows
-- Forwarded message -- From: Bernd Plagge Date: Fri, Feb 13, 2009 at 7:35 AM Subject: Re: Backing up network drives with windows To: John Drescher -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thu, 12 Feb 2009 21:54:41 -0500 John Drescher wrote: > > I'm not quite convinced - for two reasons > > 1) I did some tests starting bacula-dir, bacula-sd, bacula-fd manually and > > got the some results > > > You ran bacula-fd directly in a command window? > > > 2) The backup target is a TrueCrypt drive assigned to a drive letter > > > That will not work when run as a service. It may work when bacula-fd > runs in in a cmd window as the logged on user. > > > If I used UNC paths what would the right syntax be? > > References to start-before jobs etc are written as C:\\directory\program > > while file sets are written with a forward slash. Which one would be the > > correct synxtax. > > Use forward slashes. > > > I know how to check the number of files considered for backup using the > > 'estimate' command but is there another way like a debug log? > > > Not that I know of. > > John Hi John, I did some more tests today. Windows machine in questions is a Win 2000 server. Services will use by default the local service user but a different user can be configured. It is also possible to keep desktop assignments. The Windows versions of bacula-dir, bacula-sd and bacula-fd have several command line switches one of them being '/debug'. I tried this but it didn't produce any additional output. Maybe this is written to a different log file? Does anybody have experience with this? I tried to backup a HDD share without any permission limitations (readable and writeable by everyone) but even that didn't work. Because of missing debug output and error messages I don't have any clue what is going on. Is it a permission problem (which it shouldn't) or is it a syntax problem. BTW, is there anything like strace for Windows? Cheers, Bernd - -- Bernd Plagge - プラゲ ベェアント First Choice Internet Ltd., Tokyo - ファースト・チョイス・インターネット(有) Tel. 03-4500-7799 - Fax. 03-4400-3723 mail: bpla...@choicenet.ne.jp - url: http://www.choicenet.ne.jp ** *** Campaign *** Affordable Web Sites http://choicenet.ne.jp/en/hpcampaign.html ホームページキャンペーン http://choicenet.ne.jp/jp/hpcampaign.html ** FREE Web Assessment: http://choicenet.ne.jp/en/website_assessment.html Web Design: http://choicenet.ne.jp/en/webdesign.html Web Hosting: http://choicenet.ne.jp/en/hosting.html Net Support: http://choicenet.ne.jp/en/netsupport.html *** 無料ウエブサイト評価 http://choicenet.ne.jp/jp/website_assessment.html ウエブデザイン: http://choicenet.ne.jp/jp/webdesign.html ウエブホスティング: http://choicenet.ne.jp/jp/hosting.html ネットワークサポート:http://choicenet.ne.jp/jp/netsupport.html -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAkmVaPgACgkQpYU8M8PbPV719ACfSgz93DHhc0iVJ1CpV3VKyQo/ 4PsAnjAJgjfw1FsqKW1Ngb30WTBOW345 =kf4L -END PGP SIGNATURE- -- John M. Drescher -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Backing up Microsoft Exchange?!
Hi, 13.02.2009 11:58, Boniforti Flavio wrote: >>> Could I be using it for "remote backups"? As I mentioned before, I'm >>> *not* using Bacula. Instead I'm on rsnapshot at the moment. >> Oh... then it's not very useful to you, I believe... sorry. > > Well, what matters to me is the amount of data transferred in each > backup session: would this plugin do some sort of "incremental backups" > or just backup the *whole* Exchange database? No, it can do incrementals. Arno > Regards, > Flavio Boniforti > > PIRAMIDE INFORMATICA SAGL > Via Ballerini 21 > 6600 Locarno > Switzerland > Phone: +41 91 751 68 81 > Fax: +41 91 751 69 14 > Url: http://www.piramide.ch > E-mail: fla...@piramide.ch > > -- > Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA > -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise > -Strategies to boost innovation and cut costs with open source participation > -Receive a $600 discount off the registration fee with the source code: SFAD > http://p.sf.net/sfu/XcvMzF8H > ___ > Bacula-users mailing list > Bacula-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/bacula-users > -- Arno Lehmann IT-Service Lehmann Sandstr. 6, 49080 Osnabrück www.its-lehmann.de -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] moving from 2.0 to 2.4
Hi Yann Cézard, Hi All I read your email and I saw that you upgraded your Bacula from 2.0.3 to 2.4.4 like I want to do. Could you confirm me that I don't need to execute some script for the database ? You did just to do that to upgrade ? ./configure (your options) make make install Thanks, Regards François -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Backing up Microsoft Exchange?!
> > Could I be using it for "remote backups"? As I mentioned before, I'm > > *not* using Bacula. Instead I'm on rsnapshot at the moment. > > Oh... then it's not very useful to you, I believe... sorry. Well, what matters to me is the amount of data transferred in each backup session: would this plugin do some sort of "incremental backups" or just backup the *whole* Exchange database? Regards, Flavio Boniforti PIRAMIDE INFORMATICA SAGL Via Ballerini 21 6600 Locarno Switzerland Phone: +41 91 751 68 81 Fax: +41 91 751 69 14 Url: http://www.piramide.ch E-mail: fla...@piramide.ch -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Backing up Microsoft Exchange?!
Hi, 13.02.2009 09:57, Boniforti Flavio wrote: > Guten Morgen Arno, > >> I don't recall if it's been mentioned, but yes: >> >> First, wait. This is because the developers will need some >> more time ti get the excheange plugin ready, which will - >> hopefully - be good for production use when Bacula 3 is released. >> >> Second, upgrade to Bacula 3, and use the then new exchange plugin. > > Mmmhh... Can you tell me some more about it? How would that plugin work? Well, it basically creates a "virtual" directory tree for the FD to see where the exchange data can be accessed. > Could I be using it for "remote backups"? As I mentioned before, I'm > *not* using Bacula. Instead I'm on rsnapshot at the moment. Oh... then it's not very useful to you, I believe... sorry. Arno > Regards, > Flavio. > > -- > Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA > -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise > -Strategies to boost innovation and cut costs with open source participation > -Receive a $600 discount off the registration fee with the source code: SFAD > http://p.sf.net/sfu/XcvMzF8H > ___ > Bacula-users mailing list > Bacula-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/bacula-users > -- Arno Lehmann IT-Service Lehmann Sandstr. 6, 49080 Osnabrück www.its-lehmann.de -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Bacula BLOCK issue where already created volumes not being read
Arno Lehmann schrieb: > Hi, > > 13.02.2009 02:06, Steve Handy wrote: > >> Its still open source. So that free lunch may give you tommy ache. >> > > I really didn't want to add anything else to this thread, but... > > The "free lunch" doesn't give any tummy ache to, for example, the Bank > Austria. And I guess those guys really need a reliable backup solution > for their business... > > Arno > Just to add another success story, this is how we started using bacula: 3 years ago we used CA Arcserve/Linux to Backup around 20 Servers. One day we had to restore business critical data but couldn't find some essential files in the Arcserve backup database. Further Investigation showed that the Arcserve database was corrupt for a month, which caused some files not beeing backuped anymore. There where no error messages, the jobs finished with status OK. We moved to bacula in about 3 days and never regreted it. The clear structure with the components file-daemon, storage-daemon, director in combination with a standards database (mysql, postgresql) makes bacula a really reliable backup solution for us. -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Issue with recycling after moving from 2.0 to 2.4
Hi list, I have recently moved to bacula 2.4.4 (2.4.3 at the start, I upgraded to 2.4.4 last week), from 2.0.3 (totally new installation : new server, new databases, the only thing that I kept from the old install is my client/jobs/pools/... configuration files) and I am facing a strange issue in volume recycling. Operating system is Debian Lenny (bacula packages are the "official" Debian ones). My backups are configured that way : - 1 Full job per week, Incremental the other days - jobs are kept 13 days (full or incr) - volume are 13 days retention period, recycling is on, autoprune is on, each job has one Full Pool (2 volumes) and one Incremental Pool (12 volumes) - all backups are done on disk (no tape) - multiple databases (not really one for each client, but not far - one database by client profile) Everything was working fine with 2.0.3, but I noticed that with 2.4.4 recycling is sometime happenning more lately, or not when wanted... Exple : Pools looks like this in database (sorry for the formatting) : ++--+-+-+-++-+--+++-+-+---+-+--+---+-+-+---+---+++---+---+ | PoolId | Name | NumVols | MaxVols | UseOnce | UseCatalog | AcceptAnyVolume | VolRetention | VolUseDuration | MaxVolJobs | MaxVolFiles | MaxVolBytes | AutoPrune | Recycle | PoolType | LabelType | LabelFormat | Enabled | ScratchPoolId | RecyclePoolId | NextPoolId | MigrationHighBytes | MigrationLowBytes | MigrationTime | ++--+-+-+-++-+--+++-+-+---+-+--+---+-+-+---+---+++---+---+ | 60 | PoolSso-Full | 2 | 2 | 1 | 1 | 0 | 1123200 | 0 | 0 | 0 | 0 | 1 | 1 | Backup | 0 | sso-full- | 1 |0 | 0 | 0 | 0 | 0 | 0 | | 61 | PoolSso-Incr | 12 | 12 | 1 | 1 | 0 | 1123200 | 0 | 0 | 0 | 0 | 1 | 1 | Backup | 0 | sso-incr- | 1 |0 | 0 | 0 | 0 | 0 | 0 | ++--+-+-+-++-+--+++-+-+---+-+--+---+-+-+---+---+++---+---+ Media : +-+---++---+-+---+-+-+-+-+--+---+---+---+ | MediaId | VolumeName| PoolId | MediaType | MediaTypeId | LabelType | FirstWritten| LastWritten | LabelDate | VolJobs | VolFiles | VolBlocks | VolMounts | VolStatus | +-+---++---+-+---+-+-+-+-+--+---+---+---+ | 2 | sso-full-0002 | 60 | File-sso | 0 | 0 | 2009-02-10 22:40:13 | 2009-02-10 22:46:00 | 2009-02-10 22:40:13 | 1 |0 | 21810 | 2 | Used | | 5 | sso-incr-0005 | 61 | File-sso | 0 | 0 | 2009-02-11 22:37:30 | 2009-02-11 22:39:19 | 2009-02-11 22:37:30 | 1 |0 | 1914 | 2 | Used | | 7 | sso-incr-0007 | 61 | File-sso | 0 | 0 | 2009-01-29 22:42:26 | 2009-01-29 22:43:13 | 2009-01-29 22:42:26 | 1 |0 | 1722 | 1 | Used | | 10 | sso-incr-0010 | 61 | File-sso | 0 | 0 | 2009-01-30 22:34:40 | 2009-01-30 22:35:13 | 2009-01-30 22:34:40 | 1 |0 | 1737 | 1 | Used | | 13 | sso-incr-0013 | 61 | File-sso | 0 | 0 | 2009-01-31 21:31:26 | 2009-01-31 21:32:00 | 2009-01-31 21:31:26 | 1 |0 | 1744 | 1 | Used | | 16 | sso-incr-0016 | 61 | File-sso | 0 | 0 | 2009-02-01 22:31:09 | 2009-02-01 22:31:43 | 2009-02-01 22:31:09 | 1 |0 | 1753 | 1 | Used | | 19 | sso-incr-0019 | 61 | File-sso | 0 | 0 | 2009-02
[Bacula-users] Rif: Never Mind - Given up on Bacula
I wander if this is your opinion also for human relationships -- Ferdinando Pasqualetti G.T.Dati srl Tel. 0557310862 - 3356172731 - Fax 055720143 Stevester wrote on 12/02/2009 20.53.23: > > Good Afternoon Everyone, > > Never mind to the earlier post - "Bacula BLOCK issue where already > created volumes not being read". I have come to the conclusion that Bacula > is simply too unstable. You get what you pay for > > > Thanks > Steve > -- > View this message in context: http://www.nabble.com/Never-Mind--- > Given-up-on-Bacula-tp21983648p21983648.html > Sent from the Bacula - Users mailing list archive at Nabble.com. > > > -- > ___ > Bacula-users mailing list > Bacula-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/bacula-users -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] LabelFormat question
Hello, I am using Bacula to backup 3 servers and store the backup files on the hard disk, each in different directories by setting up 3 different Devices and using one single Pool. Now I have noticed that the filename is not exactly as I wish it to be: I am using the following LabelFormat in my Pool: LabelFormat = "backup-${Job}-${NumVols}" with the idea in mind to have a filename with the job name (this would be the server name) and then the volume number for that server, but unfortunately the volume number is global (for all 3 servers). So should I actually define one Pool per server, or is there an easier way to do it ? Also if I used: LabelFormat = "backup-${Job}-" would the volume number be added automatically as epxlained in http://www.bacula.org/fr/dev-manual/Basic_Volume_Management.html#SECTION006131200 ? Thank you very much for the help Regards -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Backing up Microsoft Exchange?!
Guten Morgen Arno, > I don't recall if it's been mentioned, but yes: > > First, wait. This is because the developers will need some > more time ti get the excheange plugin ready, which will - > hopefully - be good for production use when Bacula 3 is released. > > Second, upgrade to Bacula 3, and use the then new exchange plugin. Mmmhh... Can you tell me some more about it? How would that plugin work? Could I be using it for "remote backups"? As I mentioned before, I'm *not* using Bacula. Instead I'm on rsnapshot at the moment. Regards, Flavio. -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Bacula BLOCK issue where already created volumes not being read
Hi, 13.02.2009 02:06, Steve Handy wrote: > Its still open source. So that free lunch may give you tommy ache. I really didn't want to add anything else to this thread, but... The "free lunch" doesn't give any tummy ache to, for example, the Bank Austria. And I guess those guys really need a reliable backup solution for their business... Arno -- Arno Lehmann IT-Service Lehmann Sandstr. 6, 49080 Osnabrück www.its-lehmann.de -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Backing up Microsoft Exchange?!
Hi, 13.02.2009 08:27, Boniforti Flavio wrote: >> I use ClientRunBeforeJob to run a batch script before I >> actually grab all my Exchange server's files. The batch >> script uses ntbackup to backup Exchange to a file: >> -- >> "C:\Program Files (x86)\Bacula\bin\ntbackup.exe" backup >> "@C:\Documents and Settings\Administrator\Local >> Settings\Application Data\Microsoft\Windows >> NT\NTBackup\data\Nightly Backup.bks" /v:no /r:no /rs:no >> /hc:off /m normal /j "Nightly Backup" /l:s /f >> "C:\exchbackups\Backup.bkf" > > Well, thanks for it, but I *already* use such kind of backups for > Exchange. The thing is: are there any other means to backup Exchange? I > mean, the BKF file you get is quite huge and transferring such a big > file every night or once a week is awful when running "remote > synchronizations" (I'm actually using rsnapshot). > > Any suggestions? I don't recall if it's been mentioned, but yes: First, wait. This is because the developers will need some more time ti get the excheange plugin ready, which will - hopefully - be good for production use when Bacula 3 is released. Second, upgrade to Bacula 3, and use the then new exchange plugin. No fixed schedules... Arno > Regards, > Flavio Boniforti > > PIRAMIDE INFORMATICA SAGL > Via Ballerini 21 > 6600 Locarno > Switzerland > Phone: +41 91 751 68 81 > Fax: +41 91 751 69 14 > Url: http://www.piramide.ch > E-mail: fla...@piramide.ch > > -- > Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA > -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise > -Strategies to boost innovation and cut costs with open source participation > -Receive a $600 discount off the registration fee with the source code: SFAD > http://p.sf.net/sfu/XcvMzF8H > ___ > Bacula-users mailing list > Bacula-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/bacula-users > -- Arno Lehmann IT-Service Lehmann Sandstr. 6, 49080 Osnabrück www.its-lehmann.de -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users