[Bacula-users] Max Diff Interval problem
I'm testing bacula 3.0.0, built from source with sqlite3, on a Debian 5.0 box. It's configured to run incrementals every minute on a small dir, with: MaxFullInterval=4 minutes MaxDiffInterval=2 minutes But stat dir shows: Terminated Jobs: JobId LevelFiles Bytes Status FinishedName 43 Incr 0 0 OK 21-Apr-09 06:01 conan-fd 44 Incr 1 0 OK 21-Apr-09 06:02 conan-fd 45 Incr 116.38 K OK 21-Apr-09 06:03 conan-fd 46 Incr 0 0 OK 21-Apr-09 06:04 conan-fd 47 Full 2,11039.66 M OK 21-Apr-09 06:05 conan-fd 48 Incr 0 0 OK 21-Apr-09 06:06 conan-fd 49 Incr 0 0 OK 21-Apr-09 06:07 conan-fd 50 Incr 0 0 OK 21-Apr-09 06:08 conan-fd 51 Incr 0 0 OK 21-Apr-09 06:09 conan-fd 52 Full 2,11039.66 M OK 21-Apr-09 06:10 conan-fd Looks like MaxFullInterval is working correctly, but MaxDiffInterval isn't. Is this a bug, or am I missing something? [Should I be reporting this here, or to -devel? Erring on the side of caution.] - Morty -- Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Following symlinks
Hi Kjetil. On Monday, 20 April 2009 13:16:57 +0200, Kjetil Torgrim Homme wrote: With respect to the solution with find, it seems that it is having a behavior different from that you indicate. According to I read in the find man pages, %l talks about the object of symbolic link and empty string if file is not a symbolic link). yes. this way Bacula will backup the target of the symlink, in other words, if /space/log points to /srv/foo/log, the find will emit /srv/foo/log, and as a result, the files will be stored in the catalog as /srv/foo/log/*. if you use the sed-trick, the files will be recorded in the catalog as /space/log/*. I test creating the /etc/apache2/nagios symlink points to /home/nagios. In my FileSet I added a line with: File = /etc/apache2/. I've performed a backup and then I erased a temporary file that I had created in /home/nagios and after doing restore I see symlink in the restoration directory instead of /tmp/bacula-restores/etc/apache2/directory-point-by-symlink. Which can be the problem? On the other hand, according to I see, when browsing the backuped files, I don't have form to select the nagios file individually because I only see ./ within /etc/apache2 reason why I do not have another option that mark ./ Thanks for your reply. Regards, Daniel -- Fingerprint: BFB3 08D6 B4D1 31B2 72B9 29CE 6696 BF1B 14E6 1D37 Powered by Debian GNU/Linux Squeeze - Linux user #188.598 signature.asc Description: Digital signature -- Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Restoring an Exchange storage group.
Thanks for the warm welcome Arno, and thanks James for your comments. The machine I am doing the restore to does have the plugin installed and working. Just to make sure, I did copy over esebcli2.dll to the bacula/bin directory and am now attempting another restore. I will update with the results. The only other thing that I (now realize) think might be relevant to mention is that I the machine I am backing up has all of it's files living on a separate drive (e:\), while the machine I am restoring to has all of it's files on drive c:\. Should this cause any issue or require any special configuration? Thanks. Are you able to try a backup on the target machine? The logs you gave appear to show bacula itself trying to restore the files when it should actually be giving them to the plugin to do the restore. Did you do any file redirection when restoring? That could cause some problems and shouldn't be required for the Exchange plugin - Exchange should figure out for itself where the files go. It's quite possible that this is a bug - I don't think I've ever tested the scenario of doing the exchange backup on one machine and restoring to another. I need to be absolutely sure that the plugin itself works on the target machine (eg that a test backup works) before I look too deeply at it. Thanks James -- Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Disk-to-disk backups and the scratch pool
James Chamberlain jam...@exa.com writes: On Tue, 14 Apr 2009, Martin Simmons wrote: I'm not sure if it will work, but you could try using symbolic links from one file system to the volumes on the other file system(s)? Thanks for the suggestion, and I considered it, but I don't think it'll work. The Disk3 volumes are still going to be of a different media type than the Disk0 volumes. sure, but that's fixed with a single UPDATE statement in your database (and some sed on your config, of course.) -- Kjetil T. Homme Redpill Linpro AS - Changing the game -- Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Présentation + plusieurs client d ans un job
Bonjour, Je me lance dans bacula. Mes premiers tests sont concluants et je me régale de réaliser des essais. La distribution sur lesquels repose les différentes serveurs (FD, DIR et SD) sont des Debian Etch. L'installation s'est faite via le gestionnaire de paquet. La question de l'architecture des sauvegardes se profile à l'horizon. J'en suis encore à l'état de test. Mais, de ce que j'ai compris et pour éviter d'avoir une usine à gaz dans le fichier de configuration du director je vois une possibilité de configuration. Si je souhaite, par exemple, sauvegarder les home_dir sur l'ensemble de mes clients. Alors je me demande comment est-il possible de mettre plusieurs client dans un job ? Si je met la ligne : Client = client1 client2 dans mon job, je n'ai pas d'erreur lors du lancement du director. Cependant je n'ai pas trouvé comment tester cette config via bconsole. Si vous pensez que je me dirige vers la mauvaise voie, si vous avez des url à me fournir dans lesquelles sont indiquées des types de configurations de sauvegardes (en plus de celle fournie par Bacula) je suis preneur. Je vous remercie par avance pour vos réponses. Cordialement, Pierre. ___ Yahoo! Mail réinvente le mail ! Découvrez le nouveau Yahoo! Mail et son interface révolutionnaire. http://fr.mail.yahoo.com -- Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Tape problems after updating to version 3.0.0
I updated my system to version 3.0.0 yesterday. *version backup-dir Version: 3.0.0 (06 April 2009) i386-portbld-freebsd7.1 freebsd 7.1-RELEASE-p4 $ pkg_info | grep bacula bacula-bat-2.4.4_1 The network backup solution (GUI) bacula-client-3.0.0_1 The network backup solution (client) bacula-docs-2.4.4 The Bacula document set bacula-server-3.0.0 The network backup solution (server) Of course part of that was updating the mysql database tables. All of that seemed to go well. However when my first backup started earlier today, somehow the file counter was off by one from the perspective of the Catalog and the Volume: *messages 21-Apr 02:05 backup-dir JobId 14512: Start Backup JobId 14512, Job=backup-system.2009-04-21_02.05.00_05 21-Apr 02:05 backup-dir JobId 14512: Using Device Dell-PV-110T 21-Apr 02:05 backup-sd JobId 14512: Volume BG7388 previously written, moving to end of data. 21-Apr 02:06 backup-sd JobId 14512: Error: Bacula cannot write on tape Volume BG7388 because: The number of files mismatch! Volume=323 Catalog=322 21-Apr 02:06 backup-sd JobId 14512: Marking Volume BG7388 in Error in Catalog. 21-Apr 02:07 backup-sd JobId 14512: Job backup-system.2009-04-21_02.05.00_05 waiting. Cannot find any appendable volumes. Please use the label command to create a new Volume for: Storage: Dell-PV-110T (/dev/nsa0) Pool: Default Media type: LTO-2 I am more interested in fixing the situation rather than having to recycle the tape into the pool, and start a new one, given the current tape is less than one half full. Any ideas? -- Russell Sutherland r...@quist.ca +1.416.696.7600 -- Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Présentation + plusieurs client d ans un job
Pour chaque client que tu sauvegardes, tu déclares une ressource Client. Ensuite pour chaque client tu déclares une ressource Job, et tous tes jobs appellent la même ressource Fileset (là où tu dit que tu sauvegardes le home_dir). Et dans bconsole tu fais run et tu lances un des jobs que tu as crée. Cdt. François -Message d'origine- De : pierregeek [mailto:pierreg...@yahoo.fr] Envoyé : mardi 21 avril 2009 15:32 À : bacula-users@lists.sourceforge.net Objet : [Bacula-users] Présentation + plusieurs client dans un job Bonjour, Je me lance dans bacula. Mes premiers tests sont concluants et je me régale de réaliser des essais. La distribution sur lesquels repose les différentes serveurs (FD, DIR et SD) sont des Debian Etch. L'installation s'est faite via le gestionnaire de paquet. La question de l'architecture des sauvegardes se profile à l'horizon. J'en suis encore à l'état de test. Mais, de ce que j'ai compris et pour éviter d'avoir une usine à gaz dans le fichier de configuration du director je vois une possibilité de configuration. Si je souhaite, par exemple, sauvegarder les home_dir sur l'ensemble de mes clients. Alors je me demande comment est-il possible de mettre plusieurs client dans un job ? Si je met la ligne : Client = client1 client2 dans mon job, je n'ai pas d'erreur lors du lancement du director. Cependant je n'ai pas trouvé comment tester cette config via bconsole. Si vous pensez que je me dirige vers la mauvaise voie, si vous avez des url à me fournir dans lesquelles sont indiquées des types de configurations de sauvegardes (en plus de celle fournie par Bacula) je suis preneur. Je vous remercie par avance pour vos réponses. Cordialement, Pierre. ___ Yahoo! Mail réinvente le mail ! Découvrez le nouveau Yahoo! Mail et son interface révolutionnaire. http://fr.mail.yahoo.com -- Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users -- Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Présentation + plusieurs client d ans un job
Je vous remercie pour votre réponse mais j'y vois un soucis. Si j'ai 20 Clients et 20 FileSet, je vais donc avoir 20*20 jobs. C'est à ça que je pensais dans l'usine à gaz. Alors que si une astuce permet d'avoir seulement 20 jobs ça serait le top. Encore merci d'avance. François Mehault a écrit : Pour chaque client que tu sauvegardes, tu déclares une ressource Client. Ensuite pour chaque client tu déclares une ressource Job, et tous tes jobs appellent la même ressource Fileset (là où tu dit que tu sauvegardes le home_dir). Et dans bconsole tu fais run et tu lances un des jobs que tu as crée. Cdt. François -Message d'origine- De : pierregeek [mailto:pierreg...@yahoo.fr] Envoyé : mardi 21 avril 2009 15:32 À : bacula-users@lists.sourceforge.net Objet : [Bacula-users] Présentation + plusieurs client dans un job Bonjour, Je me lance dans bacula. Mes premiers tests sont concluants et je me régale de réaliser des essais. La distribution sur lesquels repose les différentes serveurs (FD, DIR et SD) sont des Debian Etch. L'installation s'est faite via le gestionnaire de paquet. La question de l'architecture des sauvegardes se profile à l'horizon. J'en suis encore à l'état de test. Mais, de ce que j'ai compris et pour éviter d'avoir une usine à gaz dans le fichier de configuration du director je vois une possibilité de configuration. Si je souhaite, par exemple, sauvegarder les home_dir sur l'ensemble de mes clients. Alors je me demande comment est-il possible de mettre plusieurs client dans un job ? Si je met la ligne : Client = client1 client2 dans mon job, je n'ai pas d'erreur lors du lancement du director. Cependant je n'ai pas trouvé comment tester cette config via bconsole. Si vous pensez que je me dirige vers la mauvaise voie, si vous avez des url à me fournir dans lesquelles sont indiquées des types de configurations de sauvegardes (en plus de celle fournie par Bacula) je suis preneur. Je vous remercie par avance pour vos réponses. Cordialement, Pierre. ___ Yahoo! Mail réinvente le mail ! Découvrez le nouveau Yahoo! Mail et son interface révolutionnaire. http://fr.mail.yahoo.com -- Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users ___ Yahoo! Mail réinvente le mail ! Découvrez le nouveau Yahoo! Mail et son interface révolutionnaire. http://fr.mail.yahoo.com -- Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Tape problems after updating to version 3.0.0
On Tue, Apr 21, 2009 at 9:17 AM, Russell Sutherland r...@quist.ca wrote: I updated my system to version 3.0.0 yesterday. *version backup-dir Version: 3.0.0 (06 April 2009) i386-portbld-freebsd7.1 freebsd 7.1-RELEASE-p4 $ pkg_info | grep bacula bacula-bat-2.4.4_1 The network backup solution (GUI) bacula-client-3.0.0_1 The network backup solution (client) bacula-docs-2.4.4 The Bacula document set bacula-server-3.0.0 The network backup solution (server) Of course part of that was updating the mysql database tables. All of that seemed to go well. However when my first backup started earlier today, somehow the file counter was off by one from the perspective of the Catalog and the Volume: *messages 21-Apr 02:05 backup-dir JobId 14512: Start Backup JobId 14512, Job=backup-system.2009-04-21_02.05.00_05 21-Apr 02:05 backup-dir JobId 14512: Using Device Dell-PV-110T 21-Apr 02:05 backup-sd JobId 14512: Volume BG7388 previously written, moving to end of data. 21-Apr 02:06 backup-sd JobId 14512: Error: Bacula cannot write on tape Volume BG7388 because: The number of files mismatch! Volume=323 Catalog=322 21-Apr 02:06 backup-sd JobId 14512: Marking Volume BG7388 in Error in Catalog. 21-Apr 02:07 backup-sd JobId 14512: Job backup-system.2009-04-21_02.05.00_05 waiting. Cannot find any appendable volumes. Please use the label command to create a new Volume for: Storage: Dell-PV-110T (/dev/nsa0) Pool: Default Media type: LTO-2 I am more interested in fixing the situation rather than having to recycle the tape into the pool, and start a new one, given the current tape is less than one half full. Any ideas? Update volume parameters volume status set to Append John -- Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] OpenBSD, slot-agnostic mtx-changer
As alluded to in previous messages, I've rewritten much of mtx-changer for my own needs. The goal was to make Bacula (2.2.8) interact nicely with my autochanger (16 slot Dell Powervault 124T) and OS (OpenBSD 4.4). It would be able to load tapes with no regard for actual slot numbers. All Bacula had to know was the barcode. In other words, I have barcodes so I don't have to think about slots and such. I wanted Bacula to act accordingly. There were also quite a few problems between the existing mtx-changer and OpenBSD's chio command (didn't like output formatting, chio doesn't keep track of the tape's original slot, etc). For reference, here's the output of chio status -v: --- picker 0: voltag: :0 slot 0: ACCESS,FULL voltag: 18L3:0 slot 1: ACCESS,FULL voltag: 20L3:0 slot 2: ACCESS,FULL voltag: 17L3:0 slot 3: ACCESS,FULL voltag: 16L3:0 slot 4: ACCESS voltag: :0 slot 5: ACCESS voltag: :0 slot 6: ACCESS voltag: :0 slot 7: ACCESS voltag: :0 slot 8: ACCESS voltag: :0 slot 9: ACCESS voltag: :0 slot 10: ACCESS voltag: :0 slot 11: ACCESS voltag: :0 slot 12: ACCESS voltag: :0 slot 13: ACCESS voltag: :0 slot 14: ACCESS voltag: :0 slot 15: ACCESS voltag: :0 drive 0: ACCESS,FULL voltag: 19L3:0 --- You can see most of how I did this from the mtx-changer output: --- # ./mtx-changer /dev/ch0 list 18:18L3 20:20L3 17:17L3 16:16L3 19:19L3 # ./mtx-changer /dev/ch0 slots 20 # ./mtx-changer /dev/ch0 loaded 0 /dev/rst0 0 19L3 # ./mtx-changer /dev/ch0 unload 0 /dev/rst0 0 # ./mtx-changer /dev/ch0 load 16 /dev/rst0 0 # ./mtx-changer /dev/ch0 loaded 0 /dev/rst0 0 16L3 # --- In a nutshell, this script treats slots as if they're just the most relevant part of the barcode. If you tell it to load up slot 19, it figures you mean barcode 19L3 and obeys. The number of slots reported to Bacula is always equivalent to the highest barcode in the autochanger (to avoid out-of-bounds problems). When told to unload the loaded tape, the script ignores the slot argument and just dumps the tape into the first empty slot it finds. Backups work nicely with this, though the autochanger test requires a bit of mucking about with the script to succeed (see commented section in load command). Keep in mind I've only used this on my very specific system, so your mileage will vary. -HKS #!/bin/sh # # Bacula interface to chio autoloader # # $Id: mtx-changer.in 5360 2007-08-16 13:01:19Z pbuschman $ # # If you set in your Device resource # # Changer Command = path-to-this-script/mtx-changer %c %o %S %a %d #you will have the following input to this script: # # So Bacula will always call with all the following arguments, even though #in come cases, not all are used. # # mtx-changer changer-device command slot archive-device drive-index # $1 $2 $3$4 $5 # # for example: # # mtx-changer /dev/sg0 load 1 /dev/nst0 0 (on a Linux system) # # will request to load the first cartidge into drive 0, where # the SCSI control channel is /dev/sg0, and the read/write device # is /dev/nst0. # # The commands are: # CommandFunction # unload unload a given slot # load load a given slot # loaded which slot is loaded? # list list Volume names (requires barcode reader) # slots how many slots total? # # Slots are numbered from 1 ... # Drives are numbered from 0 ... # # # If you need to an offline, refer to the drive as $4 #e.g. mt -f $4 offline # # Many changers need an offline after the unload. Also many # changers need a sleep 60 after the chio load. # # N.B. If you change the script, take care to return either # the chio exit code or a 0. If the script exits with a non-zero # exit code, Bacula will assume the request failed. # # # Modified 2009-03-06 to accomodate OpenBSD 4.4 and, specifically, chio with a Powervault 124T # # The main purpose of these changes was to make the script slot-agnostic - we don't care what slot # a tape is in - that's why we have them labeled. # # Change notes by command: # unload- ignores the slot number you pass it and unloads the tape into the first empty slot it finds # load - treats the slot like it's a (possibly bastardized) barcode label and attempts to load the # tape with that label into the specified drive # loaded- returns the barcode label of the loaded tape # list - lists the barcode labels of all tapes in the changer. This isn't near as cool as the original # list, which printed slot:volumetag because this just prints volumetag:volumetag, but since # everything else operates by volumetag, it doesn't really matter # slots - report a number equal to the highest numbered tape in the magazine # MTX=/bin/chio # mt status output # SunOS No Additional Sense # FreeBSD Current Driver State: at
Re: [Bacula-users] Présentation + plusieurs client dan s un job
Thank's for your answer. Escuse me for my message in french. In fact, it's not possible to do two clients in on job. Why ? Thank's Michel Meyers a écrit : pierregeek wrote: Bonjour, Je me lance dans bacula. Mes premiers tests sont concluants et je me régale de réaliser des essais. La distribution sur lesquels repose les différentes serveurs (FD, DIR et SD) sont des Debian Etch. L'installation s'est faite via le gestionnaire de paquet. La question de l'architecture des sauvegardes se profile à l'horizon. J'en suis encore à l'état de test. Mais, de ce que j'ai compris et pour éviter d'avoir une usine à gaz dans le fichier de configuration du director je vois une possibilité de configuration. Si je souhaite, par exemple, sauvegarder les home_dir sur l'ensemble de mes clients. Alors je me demande comment est-il possible de mettre plusieurs client dans un job ? Si je met la ligne : Client = client1 client2 dans mon job, je n'ai pas d'erreur lors du lancement du director. Hello, I'll respond in english (this is an english speaking list). What you're doing is not possible as such. The manual explicitly specifies this: http://bacula.org/en/rel-manual/Configuring_Director.html#SECTION00143 The Client directive specifies the Client (File daemon) that will be used in the current Job. Only a single Client may be specified in any one Job. If you want to keep your config file cleaner I suggest you look into JobDefs: http://bacula.org/en/rel-manual/Configuring_Director.html#SECTION00144 You should also take a look at how to include config files (for example if you'd like to set up a conf.d-like structure): http://wiki.bacula.org/doku.php?id=sample_configs Since Bacula 2.2.0 you can include the output of a command within a configuration file with the @| syntax. Here's how you can use @| to include all files within some directory without explicitly naming the files (this lets you, say, add new clients to a configuration without changing existing configuration files, just by adding a file for the new client, containing its Job, Client, and FileSet resources, to the included directory): Hope that helps. Greetings, Michel ___ Yahoo! Mail r�invente le mail ! D�couvrez le nouveau Yahoo! Mail et son interface r�volutionnaire. http://fr.mail.yahoo.com -- Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Présentation + plusieurs client dan s un job
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 pierregeek wrote: Bonjour, Je me lance dans bacula. Mes premiers tests sont concluants et je me régale de réaliser des essais. La distribution sur lesquels repose les différentes serveurs (FD, DIR et SD) sont des Debian Etch. L'installation s'est faite via le gestionnaire de paquet. La question de l'architecture des sauvegardes se profile à l'horizon. J'en suis encore à l'état de test. Mais, de ce que j'ai compris et pour éviter d'avoir une usine à gaz dans le fichier de configuration du director je vois une possibilité de configuration. Si je souhaite, par exemple, sauvegarder les home_dir sur l'ensemble de mes clients. Alors je me demande comment est-il possible de mettre plusieurs client dans un job ? Si je met la ligne : Client = client1 client2 dans mon job, je n'ai pas d'erreur lors du lancement du director. Hello, I'll respond in english (this is an english speaking list). What you're doing is not possible as such. The manual explicitly specifies this: http://bacula.org/en/rel-manual/Configuring_Director.html#SECTION00143 - The Client directive specifies the Client (File daemon) that will be used in the current Job. Only a single Client may be specified in any one Job. - If you want to keep your config file cleaner I suggest you look into JobDefs: http://bacula.org/en/rel-manual/Configuring_Director.html#SECTION00144 You should also take a look at how to include config files (for example if you'd like to set up a conf.d-like structure): http://wiki.bacula.org/doku.php?id=sample_configs - Since Bacula 2.2.0 you can include the output of a command within a configuration file with the ”@|” syntax. Here's how you can use ”@|” to include all files within some directory without explicitly naming the files (this lets you, say, add new clients to a configuration without changing existing configuration files, just by adding a file for the new client, containing its Job, Client, and FileSet resources, to the included directory): - Hope that helps. Greetings, Michel -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (MingW32) iEYEARECAAYFAknt2eoACgkQ2Vs+MkscAyVWYACg+RjBOeVhsEJpIxH1uKPx7i21 esUAoPZZ25k7LIceEQ7DQ1yoBdBbbX+I =2kbt -END PGP SIGNATURE- -- Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Présentation + plusieurs client d ans un job
Non, on ne peut pas avoir 20 client avec 20 fileset. Bon je vais essayer de m'éxpliquer: Imaginons on a 3 serveurs différents à sauvegarder, on déclare donc trois ressources client A, B et C. Sur le client A et C on sauvegarde le répertoire /tmp et sur le client B on sauvegarde /usr. On va donc créer deux Filset 1 et 2, un qui dit qu'on sauvegarde le répertoire /tmp, et un deuxième pour le répertoire /usr. Ensuite comme on a 3 clients, on crée 3 Jobs: Jab-A, Job-B et Job-C. Dans Job-A et Job-C on appelle le Fileset 1 Et Job-B le fileset 2. Client A Client B Client C Fileset 1 /tmp Fileset 2 /usr Job-A {Client A et Fileset 1} Job-B {Client B et Fileset 2} Job-C {Client C et Fielset 1} Bon c'est très simplifié j'éspère que tu vois ce que je veux dire. Et si jamais le bacula-dir.conf devient énorme, on peut le diviser en plein de petit fichier .conf et on utilise @include Enfin le meiux pour comprendre Bacula, c'est de lire la doc :D, c'est un peu long mais bon c'est bien documenté, on va pas se plaindre. Désolé aux personnes qui ne parle pas Français ! Il va falloir parler anglais si tu postes sur bacula-users. Cdt François -Message d'origine- De : pierregeek [mailto:pierreg...@yahoo.fr] Envoyé : mardi 21 avril 2009 16:26 À : bacula-users@lists.sourceforge.net Objet : Re: [Bacula-users] Présentation + plusieurs client dans un job Je vous remercie pour votre réponse mais j'y vois un soucis. Si j'ai 20 Clients et 20 FileSet, je vais donc avoir 20*20 jobs. C'est à ça que je pensais dans l'usine à gaz. Alors que si une astuce permet d'avoir seulement 20 jobs ça serait le top. Encore merci d'avance. François Mehault a écrit : Pour chaque client que tu sauvegardes, tu déclares une ressource Client. Ensuite pour chaque client tu déclares une ressource Job, et tous tes jobs appellent la même ressource Fileset (là où tu dit que tu sauvegardes le home_dir). Et dans bconsole tu fais run et tu lances un des jobs que tu as crée. Cdt. François -Message d'origine- De : pierregeek [mailto:pierreg...@yahoo.fr] Envoyé : mardi 21 avril 2009 15:32 À : bacula-users@lists.sourceforge.net Objet : [Bacula-users] Présentation + plusieurs client dans un job Bonjour, Je me lance dans bacula. Mes premiers tests sont concluants et je me régale de réaliser des essais. La distribution sur lesquels repose les différentes serveurs (FD, DIR et SD) sont des Debian Etch. L'installation s'est faite via le gestionnaire de paquet. La question de l'architecture des sauvegardes se profile à l'horizon. J'en suis encore à l'état de test. Mais, de ce que j'ai compris et pour éviter d'avoir une usine à gaz dans le fichier de configuration du director je vois une possibilité de configuration. Si je souhaite, par exemple, sauvegarder les home_dir sur l'ensemble de mes clients. Alors je me demande comment est-il possible de mettre plusieurs client dans un job ? Si je met la ligne : Client = client1 client2 dans mon job, je n'ai pas d'erreur lors du lancement du director. Cependant je n'ai pas trouvé comment tester cette config via bconsole. Si vous pensez que je me dirige vers la mauvaise voie, si vous avez des url à me fournir dans lesquelles sont indiquées des types de configurations de sauvegardes (en plus de celle fournie par Bacula) je suis preneur. Je vous remercie par avance pour vos réponses. Cordialement, Pierre. ___ Yahoo! Mail réinvente le mail ! Découvrez le nouveau Yahoo! Mail et son interface révolutionnaire. http://fr.mail.yahoo.com -- Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users ___ Yahoo! Mail réinvente le mail ! Découvrez le nouveau Yahoo! Mail et son interface révolutionnaire. http://fr.mail.yahoo.com -- Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Tape problems after updating to version 3.0.0
Ok... I updated the VolStatus to append. DId that. All seems well. *list Media Pool=Default +-++---+-+-+--+--+-+--+---+--+-+ | MediaId | VolumeName | VolStatus | Enabled | VolBytes| VolFiles | VolRetention | Recycle | Slot | InChanger | MediaType| LastWritten | +-++---+-+-+--+--+-+--+---+--+-+ | 595 | Catalog-01 | Append| 1 | 4,023,197,419 | 0 | 34,560,000 | 1 |0 | 0 | Media-backup | 2008-11-12 04:59:35 | | 642 | BG7385 | Error | 1 | 64,673,086,464 | 208 | 34,560,000 | 1 |0 | 0 | LTO-2| 2008-11-28 21:15:43 | | 652 | BG7386 | Full | 1 | 364,615,759,872 | 1,058 | 34,560,000 | 1 |0 | 0 | LTO-2| 2009-01-28 06:15:07 | | 653 | BG7387 | Full | 1 | 380,757,436,416 | 1,141 | 34,560,000 | 1 |0 | 0 | LTO-2| 2009-04-03 04:42:06 | | 669 | BG7388 | Append| 1 | 194,570,772,480 | 322 | 34,560,000 | 1 |0 | 0 | LTO-2| 2009-04-20 03:42:15 | +-++---+-+-+--+--+-+--+---+--+-+ *status Status available for: 1: Director 2: Storage 3: Client 4: All Select daemon type for status (1-4): 2 The defined Storage resources are: 1: Storage-backup . 11: Storage-tape Select Storage resource (1-11): 11 Connecting to Storage daemon Storage-tape at backup.cns.utoronto.ca:9103 backup-sd Version: 3.0.0 (06 April 2009) i386-portbld-freebsd7.1 freebsd 7.1-RELEASE-p4 Daemon started 20-Apr-09 12:02, 15 Jobs run since started. Heap: heap=0 smbytes=484,075 max_bytes=551,772 bufs=105 max_bufs=127 Sizes: boffset_t=8 size_t=4 int32_t=4 int64_t=8 Running Jobs: No Jobs running. Jobs waiting to reserve a drive: Terminated Jobs: JobId LevelFiles Bytes Status FinishedName === 14515 Incr 0 0 Cancel 21-Apr-09 10:52 backup-joey 14524 Incr 0 0 Error21-Apr-09 10:54 bsd-data 14525 Incr 0 0 Error21-Apr-09 10:54 bsd-home Device status: Device Device-backup (/backup/bacula) is not open. Device Device-bsd (/backup/bacula/bsd) is not open. Device Dell-PV-110T (/dev/nsa0) is mounted with: Volume: BG7388 Pool:Default Media type: LTO-2 Total Bytes Read=64,512 Blocks Read=1 Bytes/block=64,512 Positioned at File=0 Block=0 Used Volume status: BG7388 on device Dell-PV-110T (/dev/nsa0) Reader=0 writers=0 devres=0 volinuse=0 Now when a job is rerun, things break again. * run *status storage The defined Storage resources are: 1: Storage-backup 11: Storage-tape Select Storage resource (1-11): 11 Connecting to Storage daemon Storage-tape at backup:9103 backup-sd Version: 3.0.0 (06 April 2009) i386-portbld-freebsd7.1 freebsd 7.1-RELEASE-p4 Daemon started 20-Apr-09 12:02, 15 Jobs run since started. Heap: heap=0 smbytes=617,107 max_bytes=617,225 bufs=123 max_bufs=127 Sizes: boffset_t=8 size_t=4 int32_t=4 int64_t=8 Running Jobs: Writing: Incremental Backup job backup-system JobId=14526 Volume= pool=Default device=Dell-PV-110T (/dev/nsa0) spooling=0 despooling=0 despool_wait=0 Files=0 Bytes=0 Bytes/sec=0 FDReadSeqNo=6 in_msg=6 out_msg=4 fd=6 Jobs waiting to reserve a drive: Terminated Jobs: JobId LevelFiles Bytes Status FinishedName === 14515 Incr 0 0 Cancel 21-Apr-09 10:52 backup-joey 14525 Incr 0 0 Error21-Apr-09 10:54 bsd-home Device status: Device Device-backup (/backup/bacula) is not open. Device Device-bsd (/backup/bacula/bsd) is not open. Device Dell-PV-110T (/dev/nsa0) open but no Bacula volume is currently mounted. Device is BLOCKED waiting to create a volume for: Pool:Default Media type: LTO-2 Total Bytes Read=0 Blocks Read=0 Bytes/block=0 Positioned at File=0 Block=0 Used Volume status: *list media Pool=Default +-++---+-+-+--+--+-+--+---+--+-+ | MediaId | VolumeName | VolStatus | Enabled | VolBytes| VolFiles | VolRetention | Recycle | Slot | InChanger | MediaType| LastWritten |
[Bacula-users] Duplicate Job Control?
Hello, I was excited to take advantage of the Duplicate Job Control feature in 3.0.0 but it does not appear to be working. At first I assumed the defaults listed on the New Features documentation page, then later explicitly defined them in my jobdefs config: JobDefs { Name = DefaultJob ... Maximum Concurrent Jobs = 2 Allow Duplicate Jobs = no Allow Higher Duplicates = yes Cancel Queued Duplicates = yes Cancel Running Duplicates = no } I used to set 'per job' the max concurrent jobs to 1, which would not cancel duplicate jobs, but would force them to wait for the running job to finish. What I actually want is for the duplicate job (queued) to be canceled, so that the running job can complete and a redundant job is not then run immediately afterwards. So, I changed the maximum concurrent jobs to 2, hoping to see the duplicate job control cancel one of the duplicate jobs. Here is what I actually experienced. I launched a job, waited for it to reach a running state, then launched an identical job (name, level, priority, etc). To my surprise the identical job reached a running state as well! I thought that according to the above config, the queued job of the same priority should be canceled rather than moved into a running state? JobId Level Name Status == 37802 Increme seismo70.2009-04-21_08.42.17_05 is running 37803 Increme seismo70.2009-04-21_08.42.30_06 is running Anyone have any idea why this might not be working for me? Am I misunderstanding how this should work? thanks! Stephen berkeley seismology laboratory -- -- Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Tape problems after updating to version 3.0.0
On Tue, Apr 21, 2009 at 11:13 AM, Russell Sutherland r...@quist.ca wrote: Ok... I updated the VolStatus to append. DId that. All seems well. *list Media Pool=Default +-++---+-+-+--+--+-+--+---+--+-+ | MediaId | VolumeName | VolStatus | Enabled | VolBytes | VolFiles | VolRetention | Recycle | Slot | InChanger | MediaType | LastWritten | +-++---+-+-+--+--+-+--+---+--+-+ | 595 | Catalog-01 | Append | 1 | 4,023,197,419 | 0 | 34,560,000 | 1 | 0 | 0 | Media-backup | 2008-11-12 04:59:35 | | 642 | BG7385 | Error | 1 | 64,673,086,464 | 208 | 34,560,000 | 1 | 0 | 0 | LTO-2 | 2008-11-28 21:15:43 | | 652 | BG7386 | Full | 1 | 364,615,759,872 | 1,058 | 34,560,000 | 1 | 0 | 0 | LTO-2 | 2009-01-28 06:15:07 | | 653 | BG7387 | Full | 1 | 380,757,436,416 | 1,141 | 34,560,000 | 1 | 0 | 0 | LTO-2 | 2009-04-03 04:42:06 | | 669 | BG7388 | Append | 1 | 194,570,772,480 | 322 | 34,560,000 | 1 | 0 | 0 | LTO-2 | 2009-04-20 03:42:15 | +-++---+-+-+--+--+-+--+---+--+-+ *status Status available for: 1: Director 2: Storage 3: Client 4: All Select daemon type for status (1-4): 2 The defined Storage resources are: 1: Storage-backup . 11: Storage-tape Select Storage resource (1-11): 11 Connecting to Storage daemon Storage-tape at backup.cns.utoronto.ca:9103 backup-sd Version: 3.0.0 (06 April 2009) i386-portbld-freebsd7.1 freebsd 7.1-RELEASE-p4 Daemon started 20-Apr-09 12:02, 15 Jobs run since started. Heap: heap=0 smbytes=484,075 max_bytes=551,772 bufs=105 max_bufs=127 Sizes: boffset_t=8 size_t=4 int32_t=4 int64_t=8 Running Jobs: No Jobs running. Jobs waiting to reserve a drive: Terminated Jobs: JobId Level Files Bytes Status Finished Name === 14515 Incr 0 0 Cancel 21-Apr-09 10:52 backup-joey 14524 Incr 0 0 Error 21-Apr-09 10:54 bsd-data 14525 Incr 0 0 Error 21-Apr-09 10:54 bsd-home Device status: Device Device-backup (/backup/bacula) is not open. Device Device-bsd (/backup/bacula/bsd) is not open. Device Dell-PV-110T (/dev/nsa0) is mounted with: Volume: BG7388 Pool: Default Media type: LTO-2 Total Bytes Read=64,512 Blocks Read=1 Bytes/block=64,512 Positioned at File=0 Block=0 Used Volume status: BG7388 on device Dell-PV-110T (/dev/nsa0) Reader=0 writers=0 devres=0 volinuse=0 Now when a job is rerun, things break again. * run *status storage The defined Storage resources are: 1: Storage-backup 11: Storage-tape Select Storage resource (1-11): 11 Connecting to Storage daemon Storage-tape at backup:9103 backup-sd Version: 3.0.0 (06 April 2009) i386-portbld-freebsd7.1 freebsd 7.1-RELEASE-p4 Daemon started 20-Apr-09 12:02, 15 Jobs run since started. Heap: heap=0 smbytes=617,107 max_bytes=617,225 bufs=123 max_bufs=127 Sizes: boffset_t=8 size_t=4 int32_t=4 int64_t=8 Running Jobs: Writing: Incremental Backup job backup-system JobId=14526 Volume= pool=Default device=Dell-PV-110T (/dev/nsa0) spooling=0 despooling=0 despool_wait=0 Files=0 Bytes=0 Bytes/sec=0 FDReadSeqNo=6 in_msg=6 out_msg=4 fd=6 Jobs waiting to reserve a drive: Terminated Jobs: JobId Level Files Bytes Status Finished Name === 14515 Incr 0 0 Cancel 21-Apr-09 10:52 backup-joey 14525 Incr 0 0 Error 21-Apr-09 10:54 bsd-home Device status: Device Device-backup (/backup/bacula) is not open. Device Device-bsd (/backup/bacula/bsd) is not open. Device Dell-PV-110T (/dev/nsa0) open but no Bacula volume is currently mounted. Device is BLOCKED waiting to create a volume for: Pool: Default Media type: LTO-2 Total Bytes Read=0 Blocks Read=0 Bytes/block=0 Positioned at File=0 Block=0 Used Volume status: *list media Pool=Default +-++---+-+-+--+--+-+--+---+--+-+ | MediaId | VolumeName | VolStatus | Enabled | VolBytes | VolFiles | VolRetention | Recycle | Slot |
[Bacula-users] Set Pool For Job Using Python?
Here is my situation: We currently have 8 2TB USB HDDs. We want to do an 8-week rotation with these drives. Each drive will be on site for backup for 1 week and then in offsite storage for 7 weeks. From my brief experience, it seems that having all backups go to one Pool will not work properly since the Volume bacula chooses to use/ recycle may not be present on the drive that is currently in on site. The best solution I think of is to have 8 different Pools, and each drive is associated with one of those Pools. The problem, however, is that I do not see a way to dynamically select which Pool a Job will go to based on what week it is. I know I can fire off 8 jobs (one for each pool) and use a Run Before Job script to cancel all but the proper Job, but there must be a Better Way to accomplish this. The job.Pool attribute is read-only in the Python scripting API, so that does not seem to be the answer. Any thoughts? -Jeremy -- Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Tape problems after updating to version 3.0.0
On Tue, 21 Apr 2009 11:13:04 -0400, Russell Sutherland said: Ok... I updated the VolStatus to append. DId that. All seems well. ... Now when a job is rerun, things break again. Does this mean I have to change the tape? That becomes more likely if you make changes to the catalog and run more jobs without finding the cause of the initial problem. You need to find out why it broke before trying to fix it. Did you change the SD configuration at all during the upgrade? Does the SD's setting for TWO EOF match the drive's settings reported by mt geteotmodel? __Martin -- Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Any idea when the new Bacula 3.0.0 will be released to Ubuntu?
I.E. as of now, the version that comes with Ubuntu (in their repositories) is still at 2.4.4 -- Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Continued backup problems. Interesting error.
Has anyone seen anything like this before? 21-Apr 14:10 tibor-dir JobId 3240: Start Backup JobId 3240, Job=Belobog-Data3-Users.2009-04-21_12.10.22_07 21-Apr 14:10 tibor-dir JobId 3240: Using Device NEO-LTO-1 21-Apr 14:11 tibor-sd JobId 3240: Spooling data ... 21-Apr 16:10 tibor-dir JobId 3240: Fatal error: Network error with FD during Backup: ERR=Connection reset by peer 21-Apr 16:10 tibor-sd JobId 3240: Job Belobog-Data3-Users.2009-04-21_12.10.22_07 marked to be canceled. 21-Apr 16:10 tibor-sd JobId 3240: Fatal error: fd_cmds.c:181 FD command not found: s , including Bangladesh , voted in favour of resolution 50 / 245 ; this included the five nuclear weapon States . Bangladesh welcomes the decision of India and Pakistan , as announced by their Prime Ministers in the General Assembly last year , to join the CTBT . We see this as a positive step towards ensuring peace and security in the South Asian region , and as conducive to fostering fruitful economic cooperation in the region . Bangladeshs major concern , as a least developed country , has been the high financial obligations that would devolve on the States parties on account of the implementation of the CTBT , including the expenses of the Preparatory Commission for the Comprehensive Nuclear Test Ban Treaty Organization , of that organization itself , and of the verification regime , including the international CTBT monitoring system and the Provisional Technical Secretariat . As coordinator of the least developed countries , Bangladesh has already voiced the concern of those countries about this matter in various relevant forums , including the Conference on Disarmament in Geneva . As a party to the Convention on the Prohibition of the Development , Production and Stockpiling of Bacteriological ( Biological ) and Toxin Weapons and on Their Destruction , Bangladesh is fully aware of its responsibilities , and takes its obligations seriously . By not having developed , acquired or stockpiled biological weapons , Bangladesh is in full compliance with the provisions of the Convention . Full adherence to the Convention by all States would be an ultimate guarantee ensuring the effective elimination of biological weapons . There is therefore a clear need for charting a credible compliance regime . In this context , Bangladesh welcomes the ongoing work of the ad hoc group entrusted to negotiate a protocol to strengthen the Convention by developing verification and compliance mechanisms . As for the Convention on the Prohibition of the Development , Production , Stockpiling and Use of Chemical Weapons and on Their Destruction , Bangladesh was among the first to sign it , and although we have no chemical weapons programme or facilities , we ratified the Convention two years ago . But ratification of the Convention will have little meaning unless the major chemical weapons countries join it . We emphasize the necessity of universal adherence to the Convention , and call upon all States that have not done so to become parties to the Convention without further delay . We also underline the importance of the early initiation of activities under all relevant provisions of the Convention by the Organization for the Prohibition of Chemical Weapons . We call for an early convening of a fourth special session of the General Assembly devoted to disarmament . It is time that the international community again reviewed the implementation of the Final Document of the tenth special session of the General Assembly as well as the outcomes of the subsequent special sessions on disarmament , and took stock of the international security and disarmament situation in the post @-@ cold @-@ war era . While nuclear disarmament should remain the highest priority for us , we have to identify the emerging challenges presented by the new era and formulate an agreed plan of action to deal with these in a true spirit of multilateralism . My delegation believes that only a special session of the General Assembly can address the broad subject of disarmament , taking into account in particular its relationship to development , with the comprehensiveness and thoroughness it deserves . In todays world , regional disarmament presents newer challenges . The continued arms race , which is a result of unresolved problems , is a formidable source of threats to security and is draining considerable resources from many countries at the cost of investment in economic and social development . It is our belief that while regional confidence @-@ building measures can go a long way , true regional disarmament will largely depend on understanding at the global level and on courageous gestures from major Powers . Regional disarmament will not advance unless legitimate security concerns are addressed adequately . In this connection , we expect that the United_Nations Regional Centre for Peace and Disarmament in Asia and the Pacific will be given more support and
[Bacula-users] Fwd: [Bacula-devel] bacula - two pools with one job
On Tue, Apr 21, 2009 at 5:51 PM, Jassim Al Enezi jas...@maraheb.net wrote: I'm newbie to bacula finally I have configured running bacula with Exabyte VXA PacketLoader 1X10 1U including the BARCODES Label everything working fine event the autochanger but i would like to do some changing on way of the backup files like I want to make full backup for my serves on two first tape on slot 1,2 (H01 H02) and replace it weekly with another new 2 tapes like (H03 H04). and on the same time i want make full backup on the slot # 3,4,5,6 with another tapes label like (K01,K02, K03, K04) with another schedule time also those tapes it will recycling and purging after expired . mean I'll not remove it from the box . so what kind of changing i have to do it shall i add additional pool in Job, like below: Job { Name = backup-myserver1 Client = ladns.server-fd Type = Backup FileSet = Files.dns Schedule = WeeklyCycle Storage = VXA3 Messages = Standard ## like this Pool = Default, NewPool ## or like this Pool = Default Pool = NewPool Write Bootstrap = /var/lib/bacula/dns1.bsr } Neither will work. and run lablel barcodes and select the new pool which i added in above and he will searching labling the tapes on slots 3,4,5,6 since the slots 1,2 is already labeled. I'm not tried before but I'm just asking if can be done in this way ?? No. John -- Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Continued backup problems. Interesting error.
Hi, 21.04.2009 22:30, John Lockard wrote: Has anyone seen anything like this before? No... this is with version 3.0.0, right? Looks like some output text buffer is used incorrectly... Arno 21-Apr 14:10 tibor-dir JobId 3240: Start Backup JobId 3240, Job=Belobog-Data3-Users.2009-04-21_12.10.22_07 21-Apr 14:10 tibor-dir JobId 3240: Using Device NEO-LTO-1 21-Apr 14:11 tibor-sd JobId 3240: Spooling data ... 21-Apr 16:10 tibor-dir JobId 3240: Fatal error: Network error with FD during Backup: ERR=Connection reset by peer 21-Apr 16:10 tibor-sd JobId 3240: Job Belobog-Data3-Users.2009-04-21_12.10.22_07 marked to be canceled. 21-Apr 16:10 tibor-sd JobId 3240: Fatal error: fd_cmds.c:181 FD command not found: s , including Bangladesh , voted in favour of resolution 50 / 245 ; this included the five nuclear weapon States . Bangladesh welcomes the decision of India and Pakistan , as announced by their Prime Ministers in the General Assembly last year , to join the CTBT . We see this as a positive step towards ensuring peace and security in the South Asian region , and as conducive to fostering fruitful economic cooperation in the region . Bangladeshs major concern , as a least developed country , has been the high financial obligations that would devolve on the States parties on account of the implementation of the CTBT , including the expenses of the Preparatory Commission for the Comprehensive Nuclear Test Ban Treaty Organization , of that organization itself , and of the verification regime , including the international CTBT monitoring system and the Provisional Technical Secretariat . As coordinator of the least developed countries , Bangladesh has already voiced the concern of those countries about this matter in various relevant forums , including the Conference on Disarmament in Geneva . As a party to the Convention on the Prohibition of the Development , Production and Stockpiling of Bacteriological ( Biological ) and Toxin Weapons and on Their Destruction , Bangladesh is fully aware of its responsibilities , and takes its obligations seriously . By not having developed , acquired or stockpiled biological weapons , Bangladesh is in full compliance with the provisions of the Convention . Full adherence to the Convention by all States would be an ultimate guarantee ensuring the effective elimination of biological weapons . There is therefore a clear need for charting a credible compliance regime . In this context , Bangladesh welcomes the ongoing work of the ad hoc group entrusted to negotiate a protocol to strengthen the Convention by developing verification and compliance mechanisms . As for the Convention on the Prohibition of the Development , Production , Stockpiling and Use of Chemical Weapons and on Their Destruction , Bangladesh was among the first to sign it , and although we have no chemical weapons programme or facilities , we ratified the Convention two years ago . But ratification of the Convention will have little meaning unless the major chemical weapons countries join it . We emphasize the necessity of universal adherence to the Convention , and call upon all States that have not done so to become parties to the Convention without further delay . We also underline the importance of the early initiation of activities under all relevant provisions of the Convention by the Organization for the Prohibition of Chemical Weapons . We call for an early convening of a fourth special session of the General Assembly devoted to disarmament . It is time that the international community again reviewed the implementation of the Final Document of the tenth special session of the General Assembly as well as the outcomes of the subsequent special sessions on disarmament , and took stock of the international security and disarmament situation in the post @-@ cold @-@ war era . While nuclear disarmament should remain the highest priority for us , we have to identify the emerging challenges presented by the new era and formulate an agreed plan of action to deal with these in a true spirit of multilateralism . My delegation believes that only a special session of the General Assembly can address the broad subject of disarmament , taking into account in particular its relationship to development , with the comprehensiveness and thoroughness it deserves . In todays world , regional disarmament presents newer challenges . The continued arms race , which is a result of unresolved problems , is a formidable source of threats to security and is draining considerable resources from many countries at the cost of investment in economic and social development . It is our belief that while regional confidence @-@ building measures can go a long way , true regional disarmament will largely depend on understanding at the global level and on courageous gestures from major Powers . Regional disarmament
Re: [Bacula-users] Set Pool For Job Using Python?
On Tue, Apr 21, 2009 at 12:46:29PM -0500, Jeremy Parrish wrote: Here is my situation: We currently have 8 2TB USB HDDs. We want to do an 8-week rotation with these drives. Each drive will be on site for backup for 1 week and then in offsite storage for 7 weeks. From my brief experience, it seems that having all backups go to one Pool will not work properly since the Volume bacula chooses to use/ recycle may not be present on the drive that is currently in on site. Works fine for me without doing a pool per USB HDD. If bacula can't find the old volume, it makes a new one with the same name, which seems a little odd, but works OK. Options I'm using in the SD device config: Device { Name = FileStorage Media Type = File Archive Device = /backups/bacula LabelMedia = yes; # lets Bacula label unlabeled media Random Access = Yes; AutomaticMount = yes; # when device opened, read it RemovableMedia = yes; AlwaysOpen = no; } One trick: I use /backups as the mountpoint, with the bacula directory on each volume as the archive device. So if there is some problem and the USB device won't mount, bacula refuses to perform the backup instead of writing to the root FS. - Morty -- Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] bootstrap/.bsr files and file storage
I'm looking into this as well for my disk-only v3.0.0 Bacula system. Currently, I have the bootstrap .bsr file stored locally by default on the dir/sd in /var/lib/bacula/bin/working. In the Install and Configuration Guide for v3.0.0, on page 37, section 3.1 Critical Items, one of the bullet points states Write a bootstrap file to a separate system for each backup job. Presumably, this separate system could mean the same hard drive where the volume exists. In my bacula-sd configuration file, I specify device: Device { ... Media Type = File Archive Device = /mnt/bacula/volumes ... } As suggested by Install and Configuration Guide to store the bootstrap file on a separate system, I could specify a Job to Write Bootstrap as such: Job { Name = client ... Write Bootstrap = /mnt/bacula/volumes/bootstraps/client.bsr } Same question as morty: Would storing the bootstrap on the same hard drive as the volume be the best method for storing the bootstrap on a separate system? +-- |This was sent by wlee...@yahoo.com via Backup Central. |Forward SPAM to ab...@backupcentral.com. +-- -- Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Set Pool For Job Using Python?
If you set up Volume Retention and Volume Use Duration correctly in your Pool definition, Bacula should recycle and use any appendable volume you insert. For example, in one of my pools, I have eight 1TB SATA hard drives used in a two-week rotation. Set 1 is four hard drives with each of those drives representing one day of the week between Monday through Thursday. Set 2 of the remaining four drives would be the next Monday through Thursday. Each day, I perform a full backup of my clients. I have a separate five-set Friday pool. Pool { Name = DailyPool Pool Type = Backup Recycle = yes AutoPrune = yes Volume Retention = 13 days Volume Use Duration = 20 hours } By setting Volume Use Duration to 20 hours, Bacula would mark the volume from Appendable to Used automatically after 20 hours when first used. This way I don't have to manually mark a volume as Used. When I come into the office in the morning, I swap the hard drive with the next appendable volume. This appendable volume would be recycled by Bacula according to Volume Retention set to 13 days, exactly a day before I recycle my two-week set. In your case, for example, if you set Volume Retention to be 7 weeks 6 days and Volume Use Duration to about 6 days (or however long before you put in the next USB HD), it should recycle your volumes correctly. +-- |This was sent by wlee...@yahoo.com via Backup Central. |Forward SPAM to ab...@backupcentral.com. +-- -- Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] [Bacula-devel] bacula - two pools with one job
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jassim Al Enezi wrote: I'm newbie to bacula finally I have configured running bacula with Exabyte VXA PacketLoader 1X10 1U including the BARCODES Label everything working fine event the autochanger but i would like to do some changing on way of the backup files like I want to make full backup for my serves on two first tape on slot 1,2 (H01 H02) and replace it weekly with another new 2 tapes like (H03 H04). and on the same time i want make full backup on the slot # 3,4,5,6 with another tapes label like (K01,K02, K03, K04) with another schedule time also those tapes it will recycling and purging after expired . mean I'll not remove it from the box . so what kind of changing i have to do it shall i add additional pool in Job, like below: Job { Name = backup-myserver1 Client = ladns.server-fd Type = Backup FileSet = Files.dns Schedule = WeeklyCycle Storage = VXA3 Messages = Standard ## like this Pool = Default, NewPool ## or like this Pool = Default Pool = NewPool Write Bootstrap = /var/lib/bacula/dns1.bsr } and run lablel barcodes and select the new pool which i added in above and he will searching labling the tapes on slots 3,4,5,6 since the slots 1,2 is already labeled. I'm not tried before but I'm just asking if can be done in this way ?? I am not sure why this was sent to the developers mailing list. Please try the users mailing list. I have BCC'd the devel list so they know the thread has been moved. - -- Dan Langille BSDCan - The Technical BSD Conference : http://www.bsdcan.org/ PGCon - The PostgreSQL Conference: http://www.pgcon.org/ -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.11 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAknuWtgACgkQCgsXFM/7nTzTLACfdCo6V2fbQMlbOcu+emznS7bA NxEAoMVXxcTMkUABBzfViVgGUfDnXJag =fHCv -END PGP SIGNATURE- -- Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users