[Bacula-users] RunScript fails
Good morning, I've got the following RunScript-directive in my Job definition. What I want to do is run a script before the job is started, on the client obviously, that dumps the databases into a directory backed up by bacula later on. RunScript { RunsWhen = Before FailJobOnError = No Command = /usr/local/sbin/db_sql_backup.sh } I've got two problems, first of the Job fails because the script can't be run - I expected the FailJobOnError = No directive to make bacula inform me about the script not beeing run but still continues backing up the other data. I named it already, the script fails. I tried starting it on the client machine and it works fine. I suspect permission problems because the directory the script writes into is just writeable by root. Then again the FD is running as root too sooo.. yeah dunno. Yet another question, is there a way to get stderr from the script? Should I (or rather, can I?) pipe stderr into some directory that is backed up (like in Command = myscript.sh 2 /var/www/myscript.err)? Either way here's the log output: 11-Dec 02:00 datensenke-dir JobId 35: Fatal error: Bad response to RunScript command: wanted 2000 OK RunScript, got 2999 Invalid command 11-Dec 02:00 datensenke-dir JobId 35: Fatal error: Client vash-fd RunScript failed. 11-Dec 02:00 datensenke-dir JobId 35: Fatal error: No Job status returned from FD. -- __ Sascha Retzki n...@work Internet Informationssyteme EMail: sas...@work.de Wandalenweg 5 - 20097 Hamburg Tel.: +49 (0)40-23 88 09-338Germany - http://www.work.de HR B 61 668 - Amtsgericht Hamburg Geschaeftsfuehrer Jan Diegelmann __ -- Return on Information: Google Enterprise Search pays you back Get the facts. http://p.sf.net/sfu/google-dev2dev ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] windows vista and 7 support
hello, I'd like to know if bacula client has windows 7/vista support thanks -- Return on Information: Google Enterprise Search pays you back Get the facts. http://p.sf.net/sfu/google-dev2dev ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] RunScript fails
Sascha Retzki wrote: Good morning, ClientRunBeforeJob = /usr/local/sbin/db_sql_backup.sh this works. Apperently the RunScript {} thing runs on the director? I've got the following RunScript-directive in my Job definition. What I want to do is run a script before the job is started, on the client obviously, that dumps the databases into a directory backed up by bacula later on. RunScript { RunsWhen = Before FailJobOnError = No Command = /usr/local/sbin/db_sql_backup.sh } I've got two problems, first of the Job fails because the script can't be run - I expected the FailJobOnError = No directive to make bacula inform me about the script not beeing run but still continues backing up the other data. I named it already, the script fails. I tried starting it on the client machine and it works fine. I suspect permission problems because the directory the script writes into is just writeable by root. Then again the FD is running as root too sooo.. yeah dunno. Yet another question, is there a way to get stderr from the script? Should I (or rather, can I?) pipe stderr into some directory that is backed up (like in Command = myscript.sh 2 /var/www/myscript.err)? Either way here's the log output: 11-Dec 02:00 datensenke-dir JobId 35: Fatal error: Bad response to RunScript command: wanted 2000 OK RunScript, got 2999 Invalid command 11-Dec 02:00 datensenke-dir JobId 35: Fatal error: Client vash-fd RunScript failed. 11-Dec 02:00 datensenke-dir JobId 35: Fatal error: No Job status returned from FD. -- __ Sascha Retzki n...@work Internet Informationssyteme EMail: sas...@work.de Wandalenweg 5 - 20097 Hamburg Tel.: +49 (0)40-23 88 09-338Germany - http://www.work.de HR B 61 668 - Amtsgericht Hamburg Geschaeftsfuehrer Jan Diegelmann __ -- Return on Information: Google Enterprise Search pays you back Get the facts. http://p.sf.net/sfu/google-dev2dev ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] windows vista and 7 support
Hi I have had problems using the FD under Windows 7 32bit - don't really know if this is an issue or... Anyone else? Med venlig hilsen / Best regards Tom Frank Christensen Teknisk Chef // System Administrator t...@mira.dkmailto:t...@mira.dk Tel. (+45) 96101519 -- Mira Internet A/S http://www.mira.dk/ Tel. (+45) 9610 1510 Fax. (+45) 9610 1511 -- Confidentiality statement The information in this e-mail and any attachments is confidential. It is intended for the specified recipient(s) only. If you are not one of the specified recipients please notify the sender immediately. Distribution of an incorrectly received message may be unlawful Fra: Jesus arteche [mailto:chechu.li...@gmail.com] Sendt: 11. december 2009 10:20 Til: bacula-users@lists.sourceforge.net Emne: [Bacula-users] windows vista and 7 support hello, I'd like to know if bacula client has windows 7/vista support thanks -- Return on Information: Google Enterprise Search pays you back Get the facts. http://p.sf.net/sfu/google-dev2dev ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Crashing storage director. Need help getting trace.
On Mon, 07 Dec 2009 14:30:41 +0800, Jim Barber said: Hi all. I have a problem where every weekend (or more frequently) my storage daemon crashes. The crash is random, but is happening either while running VirtualFull jobs or Copy jobs. So far it hasn't crashed during regular incremental backups. I am running version 3.0.3 of the Bacula software. First of all I tried adding a '-d 200' to the arguments that start bacula-sd. This produced a lot of messages, but nothing unusual that I can see prior to the crash. The last few lines in this log look like so: vc-sd: mac.c:241-468 before write JobId=468 FI=363302 SessId=1 Strm=MD5 len=16 vc-sd: mac.c:241-468 before write JobId=468 FI=363303 SessId=1 Strm=UATTR len=104 vc-sd: mac.c:241-468 before write JobId=468 FI=363304 SessId=1 Strm=UATTR len=122 vc-sd: mac.c:241-468 before write JobId=468 FI=363305 SessId=1 Strm=UATTR len=77 vc-sd: mac.c:241-468 before write JobId=468 FI=363305 SessId=1 Strm=DATA len=4496 vc-sd: mac.c:241-468 before write JobId=468 FI=363305 SessId=1 Strm=MD5 len=16 So next I have been trying to get the btraceback program running. I am using Debian packages (self built based on the 3.0.2 Debian sources). These run the storage daemon under the bacula:tape user:group. So I modified the btraceback program to use sudo to run gdb. I also configured sudo to allow the bacula user to do so without being prompted for a password. I then modified the Debian sources so that packages with debugging symbols are produced. If I become the bacula user and run a test like so: /usr/sbin/btraceback /usr/sbin/bacula-sd $PID Where: $PID = the process ID of the bacula-sd process, then I get an email showing debugging information. So as far as I can tell the btraceback program should be working. I had another crash of the storage daemon after making the changes and no email was sent. Nor was a bacula-sd.9103.traceback file produced. So I can't send any useful information to try and track down why the storage daemon is so unstable. It was also unstable when using the 3.0.2 Debian package as well so I don't think it is my rebuild that is causing the issue. Although I feel 3.0.3 is more stable than 3.0.2 was, I still can't get a complete weeks cycle working without a crash. The /etc/init.d/bacula-sd script defines the PATH to be, PATH=/sbin:/bin:/usr/sbin:/usr/bin So /usr/sbin is in the PATH and so I'd imagine the program should be able to find the traceback program. Any ideas how I can get some useful information from the crash? Try doing it interactively by attaching gdb to the bacula-sd process before it crashes (run gdb /path/to/bacula-sd and then use gdb's attach command). Then use the commands in btraceback.gdb when it crashes. __Martin -- Return on Information: Google Enterprise Search pays you back Get the facts. http://p.sf.net/sfu/google-dev2dev ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] RunScript fails
Am Fri, 11 Dec 2009 10:38:08 +0100 schrieb Sascha Retzki: Sascha Retzki wrote: Good morning, ClientRunBeforeJob = /usr/local/sbin/db_sql_backup.sh this works. Apperently the RunScript {} thing runs on the director? you need to set RunsOnClient = yes for RunScript resource. - Thomas -- Return on Information: Google Enterprise Search pays you back Get the facts. http://p.sf.net/sfu/google-dev2dev ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] RunScript fails
Thomas Mueller wrote: Am Fri, 11 Dec 2009 10:38:08 +0100 schrieb Sascha Retzki: Sascha Retzki wrote: Good morning, ClientRunBeforeJob = /usr/local/sbin/db_sql_backup.sh this works. Apperently the RunScript {} thing runs on the director? you need to set RunsOnClient = yes for RunScript resource. hmm tested that, doesn't work for me :-/ - Thomas -- Return on Information: Google Enterprise Search pays you back Get the facts. http://p.sf.net/sfu/google-dev2dev ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users -- __ Sascha Retzki n...@work Internet Informationssyteme EMail: sas...@work.de Wandalenweg 5 - 20097 Hamburg Tel.: +49 (0)40-23 88 09-338Germany - http://www.work.de HR B 61 668 - Amtsgericht Hamburg Geschaeftsfuehrer Jan Diegelmann __ -- Return on Information: Google Enterprise Search pays you back Get the facts. http://p.sf.net/sfu/google-dev2dev ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Migration Job and Next Pool configuration
On Tue, 08 Dec 2009 11:00:52 +0100, Daniel Kamm said: Dear all, I am considering to use migration jobs to set up a D2D2T backup scenario. I am actually considering to use pools like that: Migration Job Backup Job -- WEEKLY1 Tape Pool / Backup data -- DEFAULT Disk Pool -- WEEKLY2 Tape Pool \ -- WEEKLY3 Tape Pool As far as I see, Next Pool configuration can only be done in the Pool resource and can only be done once. If I need n tape pools, I also need to configure n disk pools. I expected to be able to override NextPool directive at the Schedule (like you can override Pool directive there to select different pools for weekly backups). That would make it possible to have one disk pool and n tape pools for migration. Am I correct, that this is not possible? It isn't possible using the normal approach, but see http://thread.gmane.org/gmane.comp.sysutils.backup.bacula.devel/14084 __Martin -- Return on Information: Google Enterprise Search pays you back Get the facts. http://p.sf.net/sfu/google-dev2dev ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Problem with file daemon on Windows Vista.
Director and storage daemon is version 3.0.2 on Fedora 12 and file daemon on Windows Vista is version 2.4.3. I get quite a lot of messages like: c:/Documents and Settings/All Users is a different filesystem. Will not descend from c:/Documents and Settings into c:/Documents and Settings/All Users followed by: Cannot open c:/Documents and Settings/All Users: ERR=Klienten mangler en nødvendig rettighed. The client is missing a needed permission (my translation). I did not have this problem with Windows XP. Can somebody please explain to me what I need to do to the file daemon, so that it will take these much needed back-ups? Thanks in advance, Erik. -- Return on Information: Google Enterprise Search pays you back Get the facts. http://p.sf.net/sfu/google-dev2dev ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] windows vista and 7 support
Not sure about Windows 7, but it works fine on Vista / Windows Server 2008, generally, on bacula version 2.4.4 - the only problem is the VSS for x64 versions, and it's barely much of a problem, just can't take perfect snapshots. From what I understand, versions 3+ fully support x64 VSS, but I have yet to upgrade at this time. You will definitely need to configure the director, though, when concerning Windows in general - just remember there are some symlinks that you should exclude in your File Set directives. -- Shawn Qureshi Artemide, Inc. IT Specialist 1980 New Hwy Farmingdale, NY 11735 ph. 631.694.9292 On Fri, 2009-12-11 at 12:13 +0100, Tom Frank Christensen wrote: Hi I have had problems using the FD under Windows 7 32bit – don’t really know if this is an issue or… Anyone else? Med venlig hilsen / Best regards Tom Frank Christensen Teknisk Chef // System Administrator t...@mira.dk Tel. (+45) 96101519 -- Mira Internet A/S http://www.mira.dk/ Tel. (+45) 9610 1510 Fax. (+45) 9610 1511 -- Confidentiality statement The information in this e-mail and any attachments is confidential. It is intended for the specified recipient(s) only. If you are not one of the specified recipients please notify the sender immediately. Distribution of an incorrectly received message may be unlawful Fra: Jesus arteche [mailto:chechu.li...@gmail.com] Sendt: 11. december 2009 10:20 Til: bacula-users@lists.sourceforge.net Emne: [Bacula-users] windows vista and 7 support hello, I'd like to know if bacula client has windows 7/vista support thanks -- Return on Information: Google Enterprise Search pays you back Get the facts. http://p.sf.net/sfu/google-dev2dev ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users attachment: artemide-logo.jpg-- Return on Information: Google Enterprise Search pays you back Get the facts. http://p.sf.net/sfu/google-dev2dev ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Problem with file daemon on Windows Vista.
Erik P. Olsen wrote: Director and storage daemon is version 3.0.2 on Fedora 12 and file daemon on Windows Vista is version 2.4.3. I get quite a lot of messages like: c:/Documents and Settings/All Users is a different filesystem. Will not descend from c:/Documents and Settings into c:/Documents and Settings/All Users In Vista, the user folders are in c:/Users. The c:/Documents and Settings is a junction point, which is a symlink that points to c:/Users. Bacula doesn't descend into the symlink, only into the real directory. Otherwise, it would make duplicate copies of everything in c:/Users. There is no need to, since the actual data is in c:/Users. You can either ignore this message, or you can exclude the c:/Documents and Settings directory from the backup job. followed by: Cannot open c:/Documents and Settings/All Users: ERR=Klienten mangler en nødvendig rettighed. The client is missing a needed permission (my translation). I did not have this problem with Windows XP. Can somebody please explain to me what I need to do to the file daemon, so that it will take these much needed back-ups? Windows by default gives the symlink NTFS permissions so that even Administrator cannot directly open the symlink itself. There is no need to backup c:/Documents and Settings. It is just a symlink. The real data is in the c:/Users directory. Thanks in advance, Erik. -- Return on Information: Google Enterprise Search pays you back Get the facts. http://p.sf.net/sfu/google-dev2dev ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users -- Return on Information: Google Enterprise Search pays you back Get the facts. http://p.sf.net/sfu/google-dev2dev ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Create new volume vs. recycle volume (with config)
On Thu, 10 Dec 2009 17:09:59 -0600, Brian Clarkson said: Is there a way to paginate the response from these list commands? I have 37k entries in this pool ... Not within Bacula, but you can use the @output command in bconsole: @output /tmp/out.txt list media pool=Default @output and then open /tmp/out.txt in a text editor. You can also run bconsole in a GNU Emacs shell (as long as bconsole is built without conio). __Martin On Thu, 2009-12-10 at 17:38 -0500, John Drescher wrote: On Thu, Dec 10, 2009 at 5:09 PM, Brian Clarkson bri...@lnstar.com wrote: On Thu, 2009-12-10 at 16:11 -0500, John Drescher wrote: On Thu, Dec 10, 2009 at 3:53 PM, Brian Clarkson bri...@lnstar.com wrote: On Thu, 2009-12-10 at 15:06 -0500, John Drescher wrote: Make the volume retention much longer. And then apply that to all of your volumes. Wouldn't the volume retention period need to be shorter? Retention period is how long to keep the volume before it can be reused. So if I don't want to reuse volumes I should set the retention period to zero? Definitely not. I know telling bacula to keep your backup data for 0 seconds is not what you want. Set this to the amount of time you want to keep your data after the backup is finished. Reusing the files (a volume is just a collection of 512m files per my configuration) is what I want to stop. I got you there. As you mentioned you need to turn off automatic volume recycling. Please post your configs. Have you had bacula reload the config file after you have changed it? I restarted the bacula director after making the changes. Subsequent backup jobs still re-used files. From bacula-dir.conf Pool { Name = Default Label Format = ${JobName}-${Level}-${NumVols} Pool Type = Backup Recycle = no AutoPrune = yes # Prune expired volumes Use Volume Once = yes Volume Retention = 25 days MaximumVolumeBytes = 512m Maximum Volume Jobs = 1 } Client { Name = client-fd Address = server.com FDPort = 9102 Catalog = MyCatalog Password = *** File Retention = 21 days Job Retention = 21 days AutoPrune = yes } Job { Name = Backup Server Type = Backup Client = server-fd FileSet = Full Set Schedule = WeeklyCycle Storage = Storage Messages = Standard Pool = Default Write Bootstrap = /usr/local/bacula/var/bacula/working/server.bsr } Storage { Name = Storage Address = storage.server.com SDPort = 9103 Password = *** Device = StorageServer Media Type = File } From bacula-sd.conf Device { Name = StorageServer Media Type = File Archive Device = /home/bacula-data/ LabelMedia = yes; # lets Bacula label unlabeled media Random Access = Yes; AutomaticMount = yes; # when device opened, read it RemovableMedia = no; AlwaysOpen = no; } I think I see why this is happening. Do the following list media pool=Default and see if Recycle=1 is set in any of the volumes. if so update and then select Pool from resource and follow the prompts. John -- Return on Information: Google Enterprise Search pays you back Get the facts. http://p.sf.net/sfu/google-dev2dev ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users -- Return on Information: Google Enterprise Search pays you back Get the facts. http://p.sf.net/sfu/google-dev2dev ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] prune not working as expected
On Thu, 10 Dec 2009 13:11:38 -0800, Kevin Keane said: I have a couple older volumes that I expected to get pruned by now, but they don't. I am using bacula 3.0.2 on OpenSuSE. Here is one example: | 244 | randamai_20091101223426_Full.bacula| Archive | 1 | 93,005,712,230 | 21 |2,851,200 | 0 |0 | 0 | File | 2009-11-02 02:11:00 | When I used the prune volume command, I saw the following (all as expected): Enter *MediaId or Volume name: *244 The current Volume retention period is: 1 month 3 days Continue? (yes/mod/no): yes But this volume remains unpruned even though it is older than 1 month and 3 days. One thing that might possibly be related: these volumes were created with bacula 2.4.2. When I migrated to 3.0, I created a new database from scratch and used bscan to import the volumes. That was about a week ago. Bacula falsely assigned a retention time of 1 year; I corrected that with an update pool command. The problem is that the volume has status Archive, which was probably set by bscan. You can only prune volumes with status Full or Used. __Martin -- Return on Information: Google Enterprise Search pays you back Get the facts. http://p.sf.net/sfu/google-dev2dev ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Continue to spool to disk when tape is full?
On Thu, 10 Dec 2009 15:51:13 -0500, Glen Barber said: Hello, I'm running Bacula version 2.4.3 on a machine with a single tape drive, and on occasion the tape will become full overnight. 'status dir' shows the following: server1.-MM-DD_HH.MM.SS is waiting on max Storage jobs Since the machine has plenty of space to spool the data, I'd like to continue to spool to disk when the tape is full so despooling to tape can take place when the tape is changed. I have the following Maximum Concurrent Jobs set: bacula-dir.conf: Maximum Concurrent Jobs = 1 bacula-sd.conf: Maximum Concurrent Jobs = 30 If I understand the documentation correctly, raising dir.conf Maximum Concurrent Jobs will interleave multiple backups to tape, which I want to avoid. Is there something obvious I've missed in the documentation, or is Bacula expected to stop spooling to disk when the tape is full? The latter -- it stops because it can't simultaneously read and write the spool file. __Martin -- Return on Information: Google Enterprise Search pays you back Get the facts. http://p.sf.net/sfu/google-dev2dev ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Continue to spool to disk when tape is full?
Hi Martin, On Fri, Dec 11, 2009 at 3:48 PM, Martin Simmons mar...@lispworks.com wrote: If I understand the documentation correctly, raising dir.conf Maximum Concurrent Jobs will interleave multiple backups to tape, which I want to avoid. Is there something obvious I've missed in the documentation, or is Bacula expected to stop spooling to disk when the tape is full? The latter -- it stops because it can't simultaneously read and write the spool file. That makes sense. Thanks for the explanation. -- Glen Barber -- Return on Information: Google Enterprise Search pays you back Get the facts. http://p.sf.net/sfu/google-dev2dev ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Continue to spool to disk when tape is full?
On Fri, Dec 11, 2009 at 4:13 PM, Glen Barber glen.j.bar...@gmail.com wrote: Hi Martin, On Fri, Dec 11, 2009 at 3:48 PM, Martin Simmons mar...@lispworks.com wrote: If I understand the documentation correctly, raising dir.conf Maximum Concurrent Jobs will interleave multiple backups to tape, which I want to avoid. Is there something obvious I've missed in the documentation, or is Bacula expected to stop spooling to disk when the tape is full? The latter -- it stops because it can't simultaneously read and write the spool file. Is simultaneous spooling / despooling in bacula yet? I thought that was not yet implemented. What I have seen is if there is no appendable volume in the device (and its not an autochanger that can load new volumes) the next time it needs to spool will be blocked. John -- Return on Information: Google Enterprise Search pays you back Get the facts. http://p.sf.net/sfu/google-dev2dev ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] prune not working as expected
-Original Message- From: Martin Simmons [mailto:mar...@lispworks.com] Sent: Friday, December 11, 2009 12:44 PM To: bacula-users@lists.sourceforge.net Subject: Re: [Bacula-users] prune not working as expected On Thu, 10 Dec 2009 13:11:38 -0800, Kevin Keane said: I have a couple older volumes that I expected to get pruned by now, but they don't. I am using bacula 3.0.2 on OpenSuSE. Here is one example: | 244 | randamai_20091101223426_Full.bacula| Archive | 1 | 93,005,712,230 | 21 |2,851,200 | 0 |0 | 0 | File | 2009-11-02 02:11:00 | When I used the prune volume command, I saw the following (all as expected): Enter *MediaId or Volume name: *244 The current Volume retention period is: 1 month 3 days Continue? (yes/mod/no): yes But this volume remains unpruned even though it is older than 1 month and 3 days. One thing that might possibly be related: these volumes were created with bacula 2.4.2. When I migrated to 3.0, I created a new database from scratch and used bscan to import the volumes. That was about a week ago. Bacula falsely assigned a retention time of 1 year; I corrected that with an update pool command. The problem is that the volume has status Archive, which was probably set by bscan. You can only prune volumes with status Full or Used. Thanks! Yes, I discovered that right after I posted. But even after I updated the volume status to Used, prune still does not do anything. I also checked: there are no jobs associated with these volumes. -- Return on Information: Google Enterprise Search pays you back Get the facts. http://p.sf.net/sfu/google-dev2dev ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Continue to spool to disk when tape is full?
Hi John, On Fri, Dec 11, 2009 at 4:26 PM, John Drescher dresche...@gmail.com wrote: On Fri, Dec 11, 2009 at 4:13 PM, Glen Barber glen.j.bar...@gmail.com wrote: Hi Martin, On Fri, Dec 11, 2009 at 3:48 PM, Martin Simmons mar...@lispworks.com wrote: If I understand the documentation correctly, raising dir.conf Maximum Concurrent Jobs will interleave multiple backups to tape, which I want to avoid. Is there something obvious I've missed in the documentation, or is Bacula expected to stop spooling to disk when the tape is full? The latter -- it stops because it can't simultaneously read and write the spool file. Is simultaneous spooling / despooling in bacula yet? I thought that was not yet implemented. I don't necessarily mean simultaneous - in my scenario, the despooling was not possible. What I have seen is if there is no appendable volume in the device (and its not an autochanger that can load new volumes) the next time it needs to spool will be blocked. Bacula is capable of only one spool file, it seems? I suppose a more specific question would be can I have Bacula close a spool file if it cannot despool, and write to tape when it is available? Regards, -- Glen Barber -- Return on Information: Google Enterprise Search pays you back Get the facts. http://p.sf.net/sfu/google-dev2dev ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Continue to spool to disk when tape is full?
On Fri, Dec 11, 2009 at 5:52 PM, Glen Barber glen.j.bar...@gmail.com wrote: Hi John, On Fri, Dec 11, 2009 at 4:26 PM, John Drescher dresche...@gmail.com wrote: On Fri, Dec 11, 2009 at 4:13 PM, Glen Barber glen.j.bar...@gmail.com wrote: Hi Martin, On Fri, Dec 11, 2009 at 3:48 PM, Martin Simmons mar...@lispworks.com wrote: If I understand the documentation correctly, raising dir.conf Maximum Concurrent Jobs will interleave multiple backups to tape, which I want to avoid. Is there something obvious I've missed in the documentation, or is Bacula expected to stop spooling to disk when the tape is full? The latter -- it stops because it can't simultaneously read and write the spool file. Is simultaneous spooling / despooling in bacula yet? I thought that was not yet implemented. I don't necessarily mean simultaneous - in my scenario, the despooling was not possible. What I have seen is if there is no appendable volume in the device (and its not an autochanger that can load new volumes) the next time it needs to spool will be blocked. Bacula is capable of only one spool file, it seems? I suppose a more specific question would be can I have Bacula close a spool file if it cannot despool, and write to tape when it is available? Looks like that is item #14 on the projects list. http://bacula.git.sourceforge.net/git/gitweb.cgi?p=bacula/bacula;a=blob;f=bacula/projects;hb=HEAD If you do not know the projects list is a list of submitted feature requests that generally get voted on before each major release and the results of the vote steer the developers on what is most important to users. John -- Return on Information: Google Enterprise Search pays you back Get the facts. http://p.sf.net/sfu/google-dev2dev ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Continue to spool to disk when tape is full?
On Fri, Dec 11, 2009 at 6:01 PM, John Drescher dresche...@gmail.com wrote: Bacula is capable of only one spool file, it seems? I suppose a more specific question would be can I have Bacula close a spool file if it cannot despool, and write to tape when it is available? Looks like that is item #14 on the projects list. http://bacula.git.sourceforge.net/git/gitweb.cgi?p=bacula/bacula;a=blob;f=bacula/projects;hb=HEAD Ah, yes that does look like what I am looking for. If you do not know the projects list is a list of submitted feature requests that generally get voted on before each major release and the results of the vote steer the developers on what is most important to users. That is good to know. Thanks for the quick reply! -- Glen Barber -- Return on Information: Google Enterprise Search pays you back Get the facts. http://p.sf.net/sfu/google-dev2dev ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Problem with file daemon on Windows Vista.
On 11/12/09 17:47, Josh Fisher wrote: Erik P. Olsen wrote: Director and storage daemon is version 3.0.2 on Fedora 12 and file daemon on Windows Vista is version 2.4.3. I get quite a lot of messages like: c:/Documents and Settings/All Users is a different filesystem. Will not descend from c:/Documents and Settings into c:/Documents and Settings/All Users In Vista, the user folders are in c:/Users. The c:/Documents and Settings is a junction point, which is a symlink that points to c:/Users. Bacula doesn't descend into the symlink, only into the real directory. Otherwise, it would make duplicate copies of everything in c:/Users. There is no need to, since the actual data is in c:/Users. You can either ignore this message, or you can exclude the c:/Documents and Settings directory from the backup job. followed by: Cannot open c:/Documents and Settings/All Users: ERR=Klienten mangler en nødvendig rettighed. The client is missing a needed permission (my translation). I did not have this problem with Windows XP. Can somebody please explain to me what I need to do to the file daemon, so that it will take these much needed back-ups? Windows by default gives the symlink NTFS permissions so that even Administrator cannot directly open the symlink itself. There is no need to backup c:/Documents and Settings. It is just a symlink. The real data is in the c:/Users directory. NTFS permissions? Strange, but that explains why I wasn't able to open these directories even as an administrator. I'll exclude all of them because I get what amounts to 65 pages of output and it all seems to be waste. Thanks for the info, Erik. -- Return on Information: Google Enterprise Search pays you back Get the facts. http://p.sf.net/sfu/google-dev2dev ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Continue to spool to disk when tape is full?
If I understand the documentation correctly, raising dir.conf Maximum Concurrent Jobs will interleave multiple backups to tape, which I want to avoid. Not if you use data spooling. Bacula is capable of only one spool file, it seems? Each job is spooled to a separate file, which is deleted as soon as the job is completely despooled. I suppose a more specific question would be can I have Bacula close a spool file if it cannot despool, and write to tape when it is available? AFAIK Bacula will not start a job unless it can mount a suitable volume, even if the job is configured to use data spooling. However, if you have multiple jobs and enable concurrency, you can start a batch of spooled jobs at the same time (ie when the tape is empty); completed jobs will then be despooled one at a time. In this scenario a blocked drive will only halt despooling: incomplete jobs will keep spooling until they are all finished or the configured spool size limit is reached. andrea -- Return on Information: Google Enterprise Search pays you back Get the facts. http://p.sf.net/sfu/google-dev2dev ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Configuration query
Hi, I am interested in replacing our current backup system (hand rolled shell scripts) with Bacula but I'm having a bit of trouble converting things :) Our current system does daily, weekly monthly backups. The daily weeklies have the same stuff but the monthly has stuff that isn't modified as much. One requirement I am not sure how to do properly is for onsite/offsite copies. Currently for weeklies and monthlies the script spools the data to a disk partition and then transfers this to tape, then reads back the tape to generate an md5 which is compares to the spool version. Is there a way to get Bacula to do the same thing? Thanks. -- Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au The nice thing about standards is that there are so many of them to choose from. -- Andrew Tanenbaum GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C signature.asc Description: This is a digitally signed message part. -- Return on Information: Google Enterprise Search pays you back Get the facts. http://p.sf.net/sfu/google-dev2dev ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users