Re: [Bacula-users] Puring/Pruning doesn't seem to be happening.
On 17 Dec 2005 at 11:56, Kern Sibbald wrote: > I appreciate you pointing out where you got confused. However, this is a > free > software project, and I understand recycling, so I don't easily see why some > people don't get the concepts or I would have already changed the doc. As a > consequence it is much more helpful if you would submit a suggested change to > the documentation that clarifies it for you. Sure, gladly, will do it in the new year after the holidays or over the holidays if I get time. -- Harondel J. Sibble Sibble Computer Consulting Creating solutions for the small business and home computer user. [EMAIL PROTECTED] (use pgp keyid 0x3AD5C11D) http://www.pdscc.com (604) 739-3709 (voice/fax) (604) 686-2253 (pager) --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Bacula auto Recyle
On 18 Dec 2005 at 19:39, Dihor, Viktor wrote: > the maijor problem is, that bacula asks for a appendable Volume, istead > of reusing a purged Volume. Try this > What you need is this > > Volume Use Duration = > > added to your pool definition where the duration is equal to or less than > your Volume Retention setting, in my case the relevant lines are > > Volume Retention = 6d > Volume Use Duration = 6d > > With this setup, Bacula FINALLY works like I expect and how pretty much > any other backup software I've used on Windows or Unix works. It will > overwrite the tape in the drive, assuming 6 days has passed, it marks the > tape as used and then recycles it, however it only does that at the > beginning of the next job, so the recycling happens at the start of the > current job. Note, you'll have to run the update command as follows > You have to use the "update" command to first update the pool parameters > from the config file and the use "update" again to update the volume > parameters from the pool: > > update -> pool from resource > > update -> volume parameters -> select pool -> select any media -> > all volumes from pool > > Not exactly intuitive because for the latter you have to first select a > volume to reach the "all volumes" option. -- Harondel J. Sibble Sibble Computer Consulting Creating solutions for the small business and home computer user. [EMAIL PROTECTED] (use pgp keyid 0x3AD5C11D) http://www.pdscc.com (604) 739-3709 (voice/fax) (604) 686-2253 (pager) --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Puring/Pruning doesn't seem to be happening.
On 16 Dec 2005 at 1:25, Arno Lehmann wrote: > > sohow does one force it to do it?! > > Apart from the configuration directives like "prune oldest volume" (or > something) my advice is usually "you don't". Philisophical disagreement, If I as the admin decide that, that is an appropriate thing to do, I should be able to do it in some manner. Reminds me of the unix philosophy, build a bunch of single purpose tools that you can chain together to do anything you want . Anyhow, on the how to do it, here's what I got from an unrelated list where I was ranting about the same problem the OP has as I had it for months also. What you need is this Volume Use Duration = added to your pool definition where the duration is equal to or less than your Volume Retention setting, in my case the relevant lines are Volume Retention = 6d Volume Use Duration = 6d With this setup, Bacula FINALLY works like I expect and how pretty much any other backup software I've used on Windows or Unix works. It will overwrite the tape in the drive, assuming 6 days has passed, it marks the tape as used and then recycles it, however it only does that at the beginning of the next job, so the recycling happens at the start of the current job. Can someone please update the documentation here http://www.bacula.org/rel-manual/Automatic_Volume_Recycling.html with this information, that should hopefully forestall this question coming up so much. >From the messages on tonights job 16-Dec 21:30 fileserver-dir: Start Backup JobId 70, Job=Company-Fileserver_Full_Back 16-Dec 21:30 fileserver-dir: Recycled current volume "Friday3" 16-Dec 21:30 fileserver-sd: Recycled volume "Friday3" on device "DDS-4" (/dev/ns This is the first week since the beginning of the year where I've not had to manually purge the tapes each day. > > Think: if the tape goes full after 3 jobs, and I have 4 each night, my last > > job will not be done. > > Or, in other words, you need enough space available. Yes, that makes perfect sense. > No, this is,in my opinion, the best way to handle backups: Avoid > overwriting valid data whenever possible. If I setup a rotation, I should be able as the administrator to decide what is the appropriate retention time > Well, your assumption is not coherent with Bacula, then. Bacula treats a > retention like "keep the data for at least this time. Only after this time has > passed consider recycling that volume." Thus, you should assume that your data > will not be overwriten until 12 days have passed after the last job on a given > volume is finished. In my experience, it still doesn't work, even 5 weeks later when I have a 6 day retention period, I still have to manually purge the tape. > Hmm. Isn't that how Bacula works? If a volume is in the right pool, > and it is flagged as recyclable, and automatic pruning for the jobs > and volumes is on, AND the retention period has passed, the volume > will be considered when Bacula looks for a recyclable volume. The key thing for the OP to remember is that bacula will not recycle the current volume if any other appendable volumes exist, seems odd to me, but that is how it is. However, from a practical pov, using the volume use duration statement seems to get around that just fine. > If you want to limit the time Bacula uses a volume, you can do so by > setting the proper volume use time or number of jobs. Yes, that needs to be added to the docs. > If I set up a pool to have backups available for a certain time, and > I've not got enough volumes, Bacula tells me so. Either I re-think my > backup strategy and modify the setup, or I buy more tapes. Even with that setup, it still doesn't recycle properly. I've seen this in several instances where I've followed the chapter on automatic volume recycling in the manual, until I was shown the info at the beginning of this email, I was looking at dumping Bacula, which is a GREAT piece of software, but for this one problem. Considering the frequency that this problem is asked about, I'd say there is definately a conceptual issue at hand. -- Harondel J. Sibble Sibble Computer Consulting Creating solutions for the small business and home computer user. [EMAIL PROTECTED] (use pgp keyid 0x3AD5C11D) http://www.pdscc.com (604) 739-3709 (voice/fax) (604) 686-2253 (pager) --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] problems with autopruning and volume reuse
On 12 Dec 2005 at 22:04, Harondel J. Sibble wrote: > A key point mentioned above, that can be a source of frustration, is that > Bacula will only recycle purged Volumes if there is no other appendable > Volume available, otherwise, it will always write to an appendable Volume > before recycling even if there are Volume marked as Purged. This preserves > your data as long as possible. So, if you wish to "force" Bacula to use a > purged Volume, you must first ensure that no other Volume in the Pool is > marked Append. If necessary, you can manually set a volume to Full. The > reason for this is that Bacula wants to preserve the data on your old > tapes (even though purged from the catalog) as long as absolutely possible > before overwriting it. > > > How do I work around this? Other than manually marking all the other tapes as > full? Since we have 9 or 10 tapes in a rotation and a regular backup does not > fill the tape completely, I'd have to manually mark the tapes each week, this > does not lead to an automated backup system... I want something hands off, > that does not require administrator attention unless something is broken > (other than changing of the tapes that is). The following was suggested to me on another list, will this get me around the problem? The setting you are looking for is called "Use Volume Duration", it is discussed in the Bacula Manual. Setting the value to something like 22h will cause bacula to request a new tape from the autoloader each day, which is what I believe you are trying to accomplish? -- Harondel J. Sibble Sibble Computer Consulting Creating solutions for the small business and home computer user. [EMAIL PROTECTED] (use pgp keyid 0x3AD5C11D) http://www.pdscc.com (604) 739-3709 (voice/fax) (604) 686-2253 (pager) --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] problems with autopruning and volume reuse
On 1 Dec 2005 at 10:37, Kern Sibbald wrote: > Yes, a shorter Volume retention period will "force" pruning of job and file > data, but as the manual and a recent email point out, after changing the .conf > volume retention period, you must update the catalog data for volumes that > already exist. A key point mentioned above, that can be a source of frustration, is that Bacula will only recycle purged Volumes if there is no other appendable Volume available, otherwise, it will always write to an appendable Volume before recycling even if there are Volume marked as Purged. This preserves your data as long as possible. So, if you wish to "force" Bacula to use a purged Volume, you must first ensure that no other Volume in the Pool is marked Append. If necessary, you can manually set a volume to Full. The reason for this is that Bacula wants to preserve the data on your old tapes (even though purged from the catalog) as long as absolutely possible before overwriting it. How do I work around this? Other than manually marking all the other tapes as full? Since we have 9 or 10 tapes in a rotation and a regular backup does not fill the tape completely, I'd have to manually mark the tapes each week, this does not lead to an automated backup system... I want something hands off, that does not require administrator attention unless something is broken (other than changing of the tapes that is). -- Harondel J. Sibble Sibble Computer Consulting Creating solutions for the small business and home computer user. [EMAIL PROTECTED] (use pgp keyid 0x3AD5C11D) http://www.pdscc.com (604) 739-3709 (voice/fax) (604) 686-2253 (pager) --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] problems with autopruning and volume reuse
On 2 Dec 2005 at 20:09, Martin Simmons wrote: > I suggest you post the output of "llist volumes". Did all that, no response :-( Anyhow, I still have to manually purge each tape, how do I get around this. -- Harondel J. Sibble Sibble Computer Consulting Creating solutions for the small business and home computer user. [EMAIL PROTECTED] (use pgp keyid 0x3AD5C11D) http://www.pdscc.com (604) 739-3709 (voice/fax) (604) 686-2253 (pager) --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] problems with autopruning and volume reuse
On 2 Dec 2005 at 9:12, Harondel J. Sibble wrote: > On 1 Dec 2005 at 9:29, Sebastian Stark wrote: > > > You have to use the "update" command to first update the pool parameters > > from the config file and the use "update" again to update the volume > > parameters from the pool: > > update -> pool from resource > > update -> volume parameters -> select pool -> select any media -> > > all volumes from pool > > Just did that, won't know results until monday night. > Here's the results :-( Looks like it only recycled after I cancelled the current job, or maybe I am misreading this. *messages 05-Dec 21:30 fileserver-dir: Start Backup JobId 44, Job=Comp-Fileserver_Full_Back up.2005-12-05_21.30.01 05-Dec 21:30 fileserver-dir: Pruned 1 Job on Volume "Monday" from catalog. 05-Dec 21:30 fileserver-sd: Comp-Fileserver_Full_Backup.2005-12-05_21.30.01 Warni ng: Director wanted Volume "Friday2". Current Volume "Monday" not acceptable because: 1998 Volume "Monday" status is Full, but should be Append, Purged or Recycle (cannot automatically recycle current volume, as it still contains unpruned dat a). 05-Dec 21:30 fileserver-sd: Please mount Volume "Friday2" on Storage Device "DDS -4" (/dev/nst0) for Job Comp-Fileserver_Full_Backup.2005-12-05_21.30.01 05-Dec 22:30 fileserver-sd: Please mount Volume "Friday2" on Storage Device "DDS -4" (/dev/nst0) for Job Comp-Fileserver_Full_Backup.2005-12-05_21.30.01 05-Dec 23:27 fileserver-dir: Bacula 1.38.0 (28Oct05): 05-Dec-2005 23:27:17 JobId: 44 Job:Comp-Fileserver_Full_Backup.2005-12-05_21.30.01 Backup Level: Full Client: "fileserver-fd" i586-mandrake-linux-gnu,mandrake,for FileSet:"Full Set" 2005-11-08 23:43:57 Pool: "Default" Storage:"DDS-4" Scheduled time: 05-Dec-2005 21:30:01 Start time: 05-Dec-2005 21:30:03 End time: 05-Dec-2005 23:27:17 Priority: 10 FD Files Written: 0 SD Files Written: 0 FD Bytes Written: 0 SD Bytes Written: 0 Rate: 0.0 KB/s Software Compression: None Volume name(s): Volume Session Id: 7 Volume Session Time:1133418482 Last Volume Bytes: 25,448,869,291 Non-fatal FD errors:0 SD Errors: 0 FD termination status: Canceled SD termination status: Canceled Termination:Backup Canceled 05-Dec 23:27 fileserver-dir: Start Backup JobId 45, Job=BackupCatalog.2005-12- _21.35.00 05-Dec 23:27 fileserver-dir: Recycled current volume "Monday" 05-Dec 23:27 fileserver-sd: Recycled volume "Monday" on device "DDS-4" (/dev/n 0), all previous data lost. 05-Dec 23:28 fileserver-sd: Alert: mtx: cannot open SCSI device '*None*' - No ch file or directory 05-Dec 23:28 fileserver-dir: Bacula 1.38.0 (28Oct05): 05-Dec-2005 23:28:14 JobId: 45 Job:BackupCatalog.2005-12-05_21.35.00 Backup Level: Full Client: "fileserver-fd" i586-mandrake-linux-gnu,mandrake,for FileSet:"Catalog" 2005-11-09 21:01:20 Pool: "Default" Storage:"DDS-4" Scheduled time: 05-Dec-2005 21:35:00 Start time: 05-Dec-2005 23:27:19 End time: 05-Dec-2005 23:28:14 Priority: 11 FD Files Written: 1 SD Files Written: 1 FD Bytes Written: 44,035,328 SD Bytes Written: 44,035,434 Rate: 800.6 KB/s Software Compression: None Volume name(s): Monday Volume Session Id: 8 Volume Session Time:1133418482 Last Volume Bytes: 44,076,581 Non-fatal FD errors:0 SD Errors: 0 FD termination status: OK SD termination status: OK Termination:Backup OK 05-Dec 23:28 fileserver-dir: Begin pruning Jobs. 05-Dec 23:28 fileserver-dir: Pruned 2 Jobs for client fileserver-fd from catal . 05-Dec 23:28 fileserver-dir: Begin pruning Files. 05-Dec 23:28 fileserver-dir: No Files found to prune. 05-Dec 23:28 fileserver-dir: End auto prune. * -- Harondel J. Sibble Sibble Computer Consulting Creating solutions for the small business and home computer user. [EMAIL PROTECTED] (use pgp keyid 0x3AD5C11D) http://www.pdscc.com (604) 739-3709 (voice/fax) (604) 686-2253 (pager) --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] problems with autopruning and volume reuse
On 2 Dec 2005 at 20:09, Martin Simmons wrote: > I suggest you post the output of "llist volumes". The info is posted here http://www.pdscc.com/troubleshooting/llist.txt conf files are here http://www.pdscc.com/troubleshooting/ -- Harondel J. Sibble Sibble Computer Consulting Creating solutions for the small business and home computer user. [EMAIL PROTECTED] (use pgp keyid 0x3AD5C11D) http://www.pdscc.com (604) 739-3709 (voice/fax) (604) 686-2253 (pager) --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] problems with autopruning and volume reuse
On 2 Dec 2005 at 20:09, Martin Simmons wrote: > When was the volume last written? All the retention times are counted > from the last write time. If you wrote it on day 5, then on day 7 the > day 5 backup from was only 2 days old and still within the retention > period, hence the tape should not be recycled. That's highly unlikely to be the case here It at least 7 days between writes, we have Mon-Thurs and Fri1-5 tapes, daily tape (eg monday) starts writing at 9:30pm and usually finishes around 0030 the next morning. It is not written to again until the next monday. The friday tapes are recycled every 5 weeks and exhibit the same issue. -- Harondel J. Sibble Sibble Computer Consulting Creating solutions for the small business and home computer user. [EMAIL PROTECTED] (use pgp keyid 0x3AD5C11D) http://www.pdscc.com (604) 739-3709 (voice/fax) (604) 686-2253 (pager) --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] problems with autopruning and volume reuse
On 2 Dec 2005 at 19:00, Sebastian Stark wrote: > You can see the result in "list media" Nope, no difference. I had the run before update on the screen and compared it to the run afterwards, no difference. -- Harondel J. Sibble Sibble Computer Consulting Creating solutions for the small business and home computer user. [EMAIL PROTECTED] (use pgp keyid 0x3AD5C11D) http://www.pdscc.com (604) 739-3709 (voice/fax) (604) 686-2253 (pager) --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] problems with autopruning and volume reuse
On 1 Dec 2005 at 9:29, Sebastian Stark wrote: > You have to use the "update" command to first update the pool parameters > from the config file and the use "update" again to update the volume > parameters from the pool: > update -> pool from resource > update -> volume parameters -> select pool -> select any media -> > all volumes from pool Just did that, won't know results until monday night. > Not exactly intuitive because for the latter you have to first select a > volume to reach the "all volumes" option. Yeah, that IS odd. > > > > -- > > Harondel J. Sibble > > Sibble Computer Consulting > > Creating solutions for the small business and home computer user. > > [EMAIL PROTECTED] (use pgp keyid 0x3AD5C11D) http://www.pdscc.com > > (604) 739-3709 (voice/fax) (604) 686-2253 (pager) > > > > > > -- > Sebastian Stark -- http://www.kyb.tuebingen.mpg.de/~stark > Max Planck Institute for Biological Cybernetics > > > --- > This SF.net email is sponsored by: Splunk Inc. Do you grep through log files > for problems? Stop! Download the new AJAX search engine that makes searching > your log files as easy as surfing the web. DOWNLOAD SPLUNK! > http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click > _______ Bacula-users mailing list > Bacula-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/bacula-users -- Harondel J. Sibble Sibble Computer Consulting Creating solutions for the small business and home computer user. [EMAIL PROTECTED] (use pgp keyid 0x3AD5C11D) http://www.pdscc.com (604) 739-3709 (voice/fax) (604) 686-2253 (pager) --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] problems with autopruning and volume reuse
On 1 Dec 2005 at 10:37, Kern Sibbald wrote: > Yes, a shorter Volume retention period will "force" pruning of job and file > data, but as the manual and a recent email point out, after changing the .conf > volume retention period, you must update the catalog data for volumes that > already exist. Okay, now I am even more confused. My volume retention period is 6 days and has always been 6 days, while the job retention period was set for 30 days. On day 7, the volumes does NOT auto recycle unless I purge it. Pruning it only removes 2 files normally of the 25 or so on the tape. Now that I've adjusted the job retention period to 6 days, do you I still need to update the volumes? Or is the job retention period a red herring? Or is there something else I need to do? -- Harondel J. Sibble Sibble Computer Consulting Creating solutions for the small business and home computer user. [EMAIL PROTECTED] (use pgp keyid 0x3AD5C11D) http://www.pdscc.com (604) 739-3709 (voice/fax) (604) 686-2253 (pager) --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] problems with autopruning and volume reuse
On 30 Nov 2005 at 19:20, Sebastian Stark wrote: > >From your bacula-dir.conf it looks like your job retention is 30 days. > As I understand bacula it won't (automatically) prune volumes unless it > has purged all jobs referring to this volume. So once I make that change in my conf file, do I have to modify any of the settings for the volumes themselves? I remember from a ways back that changing the volume retention settings didn't make any difference unless you started with new volumes or removed and relabled the current set of volumes. -- Harondel J. Sibble Sibble Computer Consulting Creating solutions for the small business and home computer user. [EMAIL PROTECTED] (use pgp keyid 0x3AD5C11D) http://www.pdscc.com (604) 739-3709 (voice/fax) (604) 686-2253 (pager) --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] problems with autopruning and volume reuse
On 30 Nov 2005 at 19:20, Sebastian Stark wrote: > >From your bacula-dir.conf it looks like your job retention is 30 days. > As I understand bacula it won't (automatically) prune volumes unless it > has purged all jobs referring to this volume. Ahh, so I should set the job retention period to equal to or less than the volume retention period then? -- Harondel J. Sibble Sibble Computer Consulting Creating solutions for the small business and home computer user. [EMAIL PROTECTED] (use pgp keyid 0x3AD5C11D) http://www.pdscc.com (604) 739-3709 (voice/fax) (604) 686-2253 (pager) --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Re: problems with autopruning and volume reuse
On 29 Nov 2005 at 21:54, [EMAIL PROTECTED] wrote: > Basically, if I start with a new set of volumes, with a retention period of 6 > days, all is good until the 2nd week, then the tapes fill up and are not > automatically recycled. Then I end up having to manually PURGE the volumes so > that backups work properly. Basically, we can consistently fit 26-27gb on a > tape. Normal daily backup is about 23gb. If I do a manual purge, only then does the messages command show the volume being recycled 29-Nov 22:08 fileserver-dir: Start Backup JobId 33, Job=BackupCatalog.2005-11- 29_21.35.00 29-Nov 22:08 fileserver-sd: BackupCatalog.2005-11-29_21.35.00 Warning: Director wanted Volume "Friday4". Current Volume "Tuesday" not acceptable because: 1998 Volume "Tuesday" status is Full, but should be Append, Purged or Recycle. 29-Nov 22:08 fileserver-sd: Please mount Volume "Friday4" on Storage Device "DDS-4" (/dev/nst0) for Job BackupCatalog.2005-11-29_21.35.00 > I did a purge of the current tape in here. < 29-Nov 22:10 fileserver-dir: Recycled current volume "Tuesday" 29-Nov 22:10 fileserver-sd: Recycled volume "Tuesday" on device "DDS-4" (/dev/nst0), all previous data lost. -- Harondel J. Sibble Sibble Computer Consulting Creating solutions for the small business and home computer user. [EMAIL PROTECTED] (use pgp keyid 0x3AD5C11D) http://www.pdscc.com (604) 739-3709 (voice/fax) (604) 686-2253 (pager) --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] problems with autopruning and volume reuse
I am pretty sure I am missing something fairly fundamental in the way volumes are recycled, I've read through the docs, checking the list postings, but have been unable to get a handle on this. Basically, if I start with a new set of volumes, with a retention period of 6 days, all is good until the 2nd week, then the tapes fill up and are not automatically recycled. Then I end up having to manually PURGE the volumes so that backups work properly. Basically, we can consistently fit 26-27gb on a tape. Normal daily backup is about 23gb. OS is MDK 10.1 official. Bacula version bacula-mysql-1.38.0-1, this was a recent upgrade from the sqlite version of 1.36 (reflected in the conf files) about 2 weeks ago. Using a DDS-4 tape drive. Tapes are labelled Mon-Thurs and Fri1-5. Here's the relevant settings from my pool definition Recycle = yes # Bacula can automatically recycle Volumes AutoPrune = yes # Prune expired volumes Accept Any Volume = yes # write on any volume in the pool Recycle = yes Volume Retention = 6d Recycle Current Volume = yes Recycle Oldest Volume = yes Maximum Volume Jobs = 0 Link to all the relevant conf files http://www.pdscc.com/troubleshooting/ What am I missing so that I don't have to baby it? -- Harondel J. Sibble Sibble Computer Consulting Creating solutions for the small business and home computer user. [EMAIL PROTECTED] (use pgp keyid 0x3AD5C11D) http://www.pdscc.com (604) 739-3709 (voice/fax) (604) 686-2253 (pager) --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] How to back up to DVD
On 14 Jul 2005 at 23:59, Arno Lehmann wrote: > Seriously the best solution. I also avoids the !§&(%&*§-ing > unreliability of DVD-/+R(W)... you are German, right? See one of the > last c'ts... my personal experience with DVD+RWs is, although limited, > not really positive. I'd suggest to use DVD as a backup media only if > you really can't afford anything better... even HD backup is preferrable in my > opinion. Don't read German so dunno about your article, however I've had zero problems using dvd+r and +rw for backups under both Windows and Linux. I have 8 or 9 clients using it this way on a daily basis. What kind of problems were you refering too. Note, this is not specifically using bacula. On linux, typically use custom scripts with the dvd+rw tools. -- Harondel J. Sibble Sibble Computer Consulting Creating solutions for the small business and home computer user. [EMAIL PROTECTED] (use pgp keyid 0x3AD5C11D) http://www.pdscc.com (604) 739-3709 (voice/fax) (604) 686-2253 (pager) --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] detailed migration doc from sqlite to mysql
Looking through the docs, there is a small section on migrating from sqlite to mysql. Does anyone have a detailed step by step document on doing this on an RPM based distro like CentOS or Mandrake 10.x. Currently running 1.36.2. -- Harondel J. Sibble Sibble Computer Consulting Creating solutions for the small business and home computer user. [EMAIL PROTECTED] (use pgp keyid 0x3AD5C11D) http://www.pdscc.com (604) 739-3709 (voice/fax) (604) 686-2253 (pager) --- This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual core and dual graphics technology at this free one hour event hosted by HP, AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] detailed migration doc from sqlite to mysql
Looking through the docs, there is a small section on migrating from sqlite to mysql. Does anyone have a detailed step by step document on doing this on an RPM based distro like CentOS or Mandrake 10.x. Currently running 1.36.2. -- Harondel J. Sibble Sibble Computer Consulting Creating solutions for the small business and home computer user. [EMAIL PROTECTED] (use pgp keyid 0x3AD5C11D) http://www.pdscc.com (604) 739-3709 (voice/fax) (604) 686-2253 (pager) --- This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual core and dual graphics technology at this free one hour event hosted by HP, AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] how to exclude a directory that exits in multple locations without specifying each instance
On 15 May 2005 at 13:16, Harondel J. Sibble wrote: > The manual says one needs to use the entire path to the items you want to > exclude (this works fine), however is there a way to have the .deleted folder > excluded globally without having to specify the full path to it, since it > exists in several places Note, I did try it as show in the online html manual using FILE = .deleted however that did NOT work -- Harondel J. Sibble Sibble Computer Consulting Creating solutions for the small business and home computer user. [EMAIL PROTECTED] (use pgp keyid 0x3AD5C11D) http://www.pdscc.com (604) 739-3709 (voice/fax) (604) 686-2253 (pager) --- This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes! http://ads.osdn.com/?ad_id=7393&alloc_id=16281&op=click ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] how to exclude a directory that exits in multple locations without specifying each instance
Running Bacula 1.36.2 on Mandrake 10.1. I am using the Samba recycle bin vfs module which allows one to have a defined directory for each users into which deleted items automatically go. I have this machine setup with a .deleted folder in each users' home directory plus one in each shared directory. Because folks are not very vigilant in cleaning up their deleted items, the backups are filling the DDS4 tapes, without the deleted items, an estimate shows 16gb of data while with deleted items it goes to 24gb. The manual says one needs to use the entire path to the items you want to exclude (this works fine), however is there a way to have the .deleted folder excluded globally without having to specify the full path to it, since it exists in several places? -- Harondel J. Sibble Sibble Computer Consulting Creating solutions for the small business and home computer user. [EMAIL PROTECTED] (use pgp keyid 0x3AD5C11D) http://www.pdscc.com (604) 739-3709 (voice/fax) (604) 686-2253 (pager) --- This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes! http://ads.osdn.com/?ad_id=7393&alloc_id=16281&op=click ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] How to read a writeprotected Tape ?
On 21 Apr 2005 at 22:56, Kern Sibbald wrote: > > (For now this is a hypothetical question.) > > I need to restore a backup from a write protected tape. > > Bacula won't mount a write protected tape. bextract or bscan neither. > I haven't tried it, but I suspect the solution is to modify your Device > resource and set "Always Open = no", then run a restore. When the restore > runs, it should open the drive as read-only. When you have "Always Open = > yes", Bacula must open the drive read-write because it cannot know in advance > if you are going to do read or write operations. Well, I am in the position that I need to restore from a write protected tape (DDS4). The tape is in a remote office location and no-one is able to go onsite until next week, however we need to recover a few files from the tape for someone working remotely (out of the country), asap. # rpm -qa | grep bacula bacula-sqlite-1.36.2-1 I do already have Always Open = no defined, yet, bextract and bscan, both still barf with an error about Read-only filesystem. It's been about 2 weeks so the tape data has been purged from the catalog database. It was last written to on April 28. # bscan -V Wednesday -v -s -m -c bacula-sd.conf /dev/nst0 bscan: butil.c:258 Using device: "/dev/nst0" for reading. 10-May 22:47 bscan: Fatal Error at dev.c:295 because: dev.c:289 stored: unable to open device /dev/nst0: ERR=Read-only file system 10-May 22:47 bscan: Fatal Error at device.c:288 because: dev open failed: dev.c:289 stored: unable to open device /dev/nst0: ERR=Read- only file system 10-May 22:47 bscan: bscan Fatal error: butil.c:167 Cannot open /dev/nst0 # bextract -i chris.files -vv -V Wednesday /dev/nst0 /tmp/bacula-restore bextract: butil.c:258 Using device: "/dev/nst0" for reading. 10-May 22:48 bextract: Fatal Error at dev.c:295 because: dev.c:289 stored: unable to open device /dev/nst0: ERR=Read-only file system 10-May 22:48 bextract: Fatal Error at device.c:288 because: dev open failed: dev.c:289 stored: unable to open device /dev/nst0: ERR=Read- only file system 10-May 22:48 bextract: bextract Fatal error: butil.c:167 Cannot open /dev/nst0 My device definition in bacula-sd.conf is Device { Name = DDS-4# Media Type = DDS-4 Archive Device = /dev/nst0 AutomaticMount = yes; # when device opened, read it AlwaysOpen = no; RemovableMedia = yes; RandomAccess = no; ## Changer Command = "/etc/bacula/mtx-changer %c %o %S %a %d" ## Changer Device = /dev/sg0 ## AutoChanger = yes Alert Command = "sh -c 'tapeinfo -f %c |grep TapeAlert|cat'" } Any further suggestions -- Harondel J. Sibble Sibble Computer Consulting Creating solutions for the small business and home computer user. [EMAIL PROTECTED] (use pgp keyid 0x3AD5C11D) http://www.pdscc.com (604) 739-3709 (voice/fax) (604) 686-2253 (pager) --- This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes! http://ads.osdn.com/?ad_id=7393&alloc_id=16281&op=click ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users