Re: [Bacula-users] Hint: Include Confs
Am 26.08.2011 20:19, schrieb Rickifer Barros: Hi Everyone... I'm reading a book about Bacula and I found a hint that could be very useful to many users here. Instead you declare all your resources inside the same .conf (bacula-dir.conf) you might separate them on many files. So, you just need declare them in your bacula-dir.conf like this way: @/etc/bacula/bacula-dir-catalogs.conf @/etc/bacula/bacula-dir-messages.conf @/etc/bacula/bacula-dir-clients.conf @/etc/bacula/bacula-dir-consoles.conf @/etc/bacula/bacula-dir-pools.conf @/etc/bacula/bacula-dir-filesets.conf @/etc/bacula/bacula-dir-schedules.conf @/etc/bacula/bacula-dir-jobs.conf @/etc/bacula/bacula-dir-storages.conf This allow a better organization of your confs. That's it Man! I hope that this be useful to someone... :) Rickifer Barros -- EMC VNX: the world's simplest storage, starting under $10K The only unified storage solution that offers unified management Up to 160% more powerful than alternatives and 25% more efficient. Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users thats how i have my conf structure sorted. ;) -- EMC VNX: the world's simplest storage, starting under $10K The only unified storage solution that offers unified management Up to 160% more powerful than alternatives and 25% more efficient. Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Hint: Include Confs
On 08/26/2011 08:19 PM, Rickifer Barros wrote: Hi Everyone... I'm reading a book about Bacula and I found a hint that could be very useful to many users here. Instead you declare all your resources inside the same .conf (bacula-dir.conf) you might separate them on many files. So, you just need declare them in your bacula-dir.conf like this way: @/etc/bacula/bacula-dir-catalogs.conf @/etc/bacula/bacula-dir-messages.conf @/etc/bacula/bacula-dir-clients.conf @/etc/bacula/bacula-dir-consoles.conf @/etc/bacula/bacula-dir-pools.conf @/etc/bacula/bacula-dir-filesets.conf @/etc/bacula/bacula-dir-schedules.conf @/etc/bacula/bacula-dir-jobs.conf @/etc/bacula/bacula-dir-storages.conf This allow a better organization of your confs. That's it Man! I hope that this be useful to someone... :) Rickifer Barros If you organize it a bit more you can eventually do something like this #Include all pure -dir conf @|sh -c 'for f in /etc/bacula/dir.d/*.conf ; do echo @${f} ; done' #Include all client conf @|sh -c 'for f in /etc/bacula/clients.d/*.conf ; do echo @${f} ; done' -- Bruno Friedmann Ioda-Net Sàrl www.ioda-net.ch openSUSE Member Ambassador GPG KEY : D5C9B751C4653227 irc: tigerfoot -- EMC VNX: the world's simplest storage, starting under $10K The only unified storage solution that offers unified management Up to 160% more powerful than alternatives and 25% more efficient. Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Bacula Catalog Backup to tape
Hi, I do my catalog backups to tape. I have an autoloader (Dell TL2000) with an LTO4 drive. I have created a pool Catalog containing two tapes. Since my catalog is not that big 8) all the catalog backups have been writen to the first tape in the pool. But I would like to switch the tape for every catalog backup - so first backup goes to first tape, second to second tape, third to first tape again, and so on. How is this posible with bacula? Best regards, Frank +-- |This was sent by f...@frankeseidel.de via Backup Central. |Forward SPAM to ab...@backupcentral.com. +-- -- EMC VNX: the world's simplest storage, starting under $10K The only unified storage solution that offers unified management Up to 160% more powerful than alternatives and 25% more efficient. Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Bacula Catalog Backup to tape
On Sat, Aug 27, 2011 at 4:06 AM, frank_sg bacula-fo...@backupcentral.com wrote: Hi, I do my catalog backups to tape. I have an autoloader (Dell TL2000) with an LTO4 drive. I have created a pool Catalog containing two tapes. Since my catalog is not that big 8) all the catalog backups have been writen to the first tape in the pool. But I would like to switch the tape for every catalog backup - so first backup goes to first tape, second to second tape, third to first tape again, and so on. How is this posible with bacula? Use volume once. With a 1 day retention period. John -- EMC VNX: the world's simplest storage, starting under $10K The only unified storage solution that offers unified management Up to 160% more powerful than alternatives and 25% more efficient. Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Bacula Catalog Backup to tape
On Sat, Aug 27, 2011 at 11:13 AM, John Drescher dresche...@gmail.com wrote: On Sat, Aug 27, 2011 at 4:06 AM, frank_sg bacula-fo...@backupcentral.com wrote: Hi, I do my catalog backups to tape. I have an autoloader (Dell TL2000) with an LTO4 drive. I have created a pool Catalog containing two tapes. Since my catalog is not that big 8) all the catalog backups have been writen to the first tape in the pool. But I would like to switch the tape for every catalog backup - so first backup goes to first tape, second to second tape, third to first tape again, and so on. How is this posible with bacula? Use volume once. With a 1 day retention period. If you want to put more than 1 catalog on a tape use a different pool for each of the tapes and use the schedule resource to schedule both pools every other day. John -- EMC VNX: the world's simplest storage, starting under $10K The only unified storage solution that offers unified management Up to 160% more powerful than alternatives and 25% more efficient. Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Bacula Catalog Backup to tape
On Sat, Aug 27, 2011 at 01:06:08AM -0700, frank_sg wrote: I do my catalog backups to tape. I have an autoloader (Dell TL2000) with an LTO4 drive. I have created a pool Catalog containing two tapes. Since my catalog is not that big 8) all the catalog backups have been writen to the first tape in the pool. But I would like to switch the tape for every catalog backup - so first backup goes to first tape, second to second tape, third to first tape again, and so on. How is this posible with bacula? One way is to set Maximum Volume Jobs = 1 on your Catalog pool resource (and don't forget to update contained volumes from that updated pool resource afterwards). This would make Bacula pick the next available volume from the pool after writing the first catalog backup on a volume. Obviously, this would only work if you intend to only use the volumes in this pool for backing up the catalog. Another way is to set Max Volume Use Duration on your pool resource to a value that is greater than the expected duration of a backup session but less than the time before the next backup. Personally, I'm using this contrived scheme to pefrorm full backup of a set of servers (plus catalog backup afterwards) on weekends, with the requirement that the whole backup session goes to a single tape and the next backup session (another week) goes to the next tape in the same pool. To achieve that I have the aforementioned value set to 24 hours. -- EMC VNX: the world's simplest storage, starting under $10K The only unified storage solution that offers unified management Up to 160% more powerful than alternatives and 25% more efficient. Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Bacula Catalog Backup to tape
Am 27.08.2011 17:15, schrieb John Drescher: On Sat, Aug 27, 2011 at 11:13 AM, John Drescher dresche...@gmail.com wrote: On Sat, Aug 27, 2011 at 4:06 AM, frank_sg bacula-fo...@backupcentral.com wrote: Hi, I do my catalog backups to tape. I have an autoloader (Dell TL2000) with an LTO4 drive. I have created a pool Catalog containing two tapes. Since my catalog is not that big 8) all the catalog backups have been writen to the first tape in the pool. But I would like to switch the tape for every catalog backup - so first backup goes to first tape, second to second tape, third to first tape again, and so on. How is this posible with bacula? Use volume once. With a 1 day retention period. If you want to put more than 1 catalog on a tape use a different pool for each of the tapes and use the schedule resource to schedule both pools every other day. John A way to do it with both tapes in one pool would be a RunAfterJob script, which changes the active tape to the status 'used' and the inactive tape to 'append'. Something along these lines: #!/bin/bash POOL=catalog ACTIVE_TAPE=$(echo list media pool=$POOL | bconsole | grep Append | \ awk '{print $4}') INACTIVE_TAPE=$(echo list media pool=$POOL | bconsole | grep Used | \ awk '{print $4}') cat EOF | bconsole update volume=$ACTIVE_TAPE volstatus=Used update volume=$INACTIVE_TAPE volstatus=Append EOF Regards, Christian Manal -- EMC VNX: the world's simplest storage, starting under $10K The only unified storage solution that offers unified management Up to 160% more powerful than alternatives and 25% more efficient. Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Bacula Catalog Backup to tape
Thanks for your suggestions - I like the solution of Christan Manal most and have already implemented his solution. Works perfectly! Regards, Frank +-- |This was sent by f...@frankeseidel.de via Backup Central. |Forward SPAM to ab...@backupcentral.com. +-- -- EMC VNX: the world's simplest storage, starting under $10K The only unified storage solution that offers unified management Up to 160% more powerful than alternatives and 25% more efficient. Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users