Re: [Bacula-users] Bacula recycle not working
On Tue, Sep 10, 2013 at 04:52:22AM -0700, Rickcinfl wrote: > Backup Client: > > Keep backup files for 30 Days > Prune expired jobs and files? Yes > > Volume Pool: > > Volume retention period 30 Days > Automatically recycle volumes? Yes > Hi, Maximum Volume Size? Maximum Number of Volumes in your pool? Did you update the pool after changing any of the config values in bconsole? To prevent your disk drive from filling up, you *must* define the maximum number of volumes of a given size, say for a 100GB drive use Maximum Volume Size = 1G Maximum Number of Volumes = 98 or so and make sure to allow auto-mounting and -labelling. All the best, Uwe -- NIONEX --- Ein Unternehmen der Bertelsmann SE & Co. KGaA -- How ServiceNow helps IT people transform IT departments: 1. Consolidate legacy IT systems to a single system of record for IT 2. Standardize and globalize service processes across IT 3. Implement zero-touch automation to replace manual, redundant tasks http://pubads.g.doubleclick.net/gampad/clk?id=5127&iu=/4140/ostg.clktrk ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Bacula recycle not working
On Tue, Sep 10, 2013 at 7:52 AM, Rickcinfl wrote: > Backup Client: > > Keep backup files for 30 Days > Prune expired jobs and files? Yes > > Volume Pool: > > Volume retention period 30 Days > Automatically recycle volumes? Yes Remember that the retention period does not even begin until a volume is marked Full or Used. With disk based volumes you need to use 1 or more of the options that limit the size or usage of a volume. John -- How ServiceNow helps IT people transform IT departments: 1. Consolidate legacy IT systems to a single system of record for IT 2. Standardize and globalize service processes across IT 3. Implement zero-touch automation to replace manual, redundant tasks http://pubads.g.doubleclick.net/gampad/clk?id=5127&iu=/4140/ostg.clktrk___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Bacula recycle not working
Uwe recommended to you: > Did you update the pool after changing any of the config values > in console? Whenever you edit your Pool definition(s), you need to (in bconsole) issue a reload command, followed by: Update --> Pool from resource --> Choose the pool you modified * repeat that step for each pool you modified Next, if you have modified any pools that already have volumes in them you need to also modify the volumes that are in those pools. In bconsole do this: update --> Volume parameters --> All Volumes from all pools then, in bconsole run: list media and verify that all of your media in each pool now has the correct retention periods. Also pay careful attention to what John and Uwe said about when the retention period begins, and the "Maximum Volume Bytes" and "Maximum Volumes" parameters in your pool definitions to keep your hard drive from filling. At this point, with a 100% full drive, you will have to (in bconsole) cancel any running jobs, delete some volumes, and then rm them them from the hard drive. Next, edit your pool definitions - adding in the two "maximum" parameters - then follow the directions regarding reloading and updating listed above to get you back on track. Hope this helps! -- Bill Arlofski Reverse Polarity, LLC http://www.revpol.com/ -- Not responsible for anything below this line -- -- How ServiceNow helps IT people transform IT departments: 1. Consolidate legacy IT systems to a single system of record for IT 2. Standardize and globalize service processes across IT 3. Implement zero-touch automation to replace manual, redundant tasks http://pubads.g.doubleclick.net/gampad/clk?id=5127&iu=/4140/ostg.clktrk ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Bacula recycle not working
> Ok Couple of other things... I get this when trying to prune in bconsole: > > bacula-dir JobId 0: Begin pruning Jobs older than 44 years 4 months 7 days 2 > hours 34 mins 35 secs. > > This was a harmless message that existed in bacula for some time I think it is removed now. > > > Also ran the: > > update --> Volume parameters --> All Volumes from all pools > > and got this: > > Error updating Volume records: ERR=sql_update.c:443 Update failed: > affected_rows=0 for UPDATE Media SET ActionOnPurge=0, > Recycle=1,VolRetention=3888000,VolUseDuration=0,MaxVolJobs=0,MaxVolFiles=0,MaxVolBytes=0,RecyclePoolId=0 > WHERE PoolId=1 > All Volume defaults updated from "File" Pool record. > > Error updating Volume records: ERR=sql_update.c:443 Update failed: > affected_rows=0 for UPDATE Media SET ActionOnPurge=0, > Recycle=1,VolRetention=31536000,VolUseDuration=0,MaxVolJobs=0,MaxVolFiles=0,MaxVolBytes=0,RecyclePoolId=0 > WHERE PoolId=3 > These look like a problem with your SQL server (possibly permissions) but I am not sure. John -- The best possible search technologies are now affordable for all companies. Download your FREE open source Enterprise Search Engine today! Our experts will assist you in its installation for $59/mo, no commitment. Test it for FREE on our Cloud platform anytime! http://pubads.g.doubleclick.net/gampad/clk?id=145328191&iu=/4140/ostg.clktrk ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Bacula recycle not working
Quoting message written on Monday 2014-05-26 22:55:12: > > Ok Couple of other things... I get this when trying to prune in > > bconsole: > > > > bacula-dir JobId 0: Begin pruning Jobs older than 44 years 4 months 7 > > days 2 hours 34 mins 35 secs. > This was a harmless message that existed in bacula for some time I > think it is removed now. I am using 7.0.3 and it's fixed. I don't know if it was fixed in 5.2.x as well. The original poster (Rickinfl) mentioned that he is using Centos. Centos ships 5.0.0 version of bacula which suffers from that and few other bugs. -- Josip Deanovic -- The best possible search technologies are now affordable for all companies. Download your FREE open source Enterprise Search Engine today! Our experts will assist you in its installation for $59/mo, no commitment. Test it for FREE on our Cloud platform anytime! http://pubads.g.doubleclick.net/gampad/clk?id=145328191&iu=/4140/ostg.clktrk ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Bacula recycle not working
Quoting message written on Tuesday 2014-05-27 02:43:29 by Rickinfl: > Did you install Bacula 7 on CentOS? We don't have any other options but > to run 5.0 right now. I have used spec file for bacula 7.0.2 from fedora 21 repository and modified it. I am currently using bacula from current git repository (what will soon become bacula 7.0.4.) the same way. -- Josip Deanovic -- The best possible search technologies are now affordable for all companies. Download your FREE open source Enterprise Search Engine today! Our experts will assist you in its installation for $59/mo, no commitment. Test it for FREE on our Cloud platform anytime! http://pubads.g.doubleclick.net/gampad/clk?id=145328191&iu=/4140/ostg.clktrk ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Bacula recycle not working
Hello, On 27 May 2014 12:09, Josip Deanovic wrote: > Quoting message written on Tuesday 2014-05-27 02:43:29 by Rickinfl: > > Did you install Bacula 7 on CentOS? We don't have any other options but > > to run 5.0 right now. > > I have used spec file for bacula 7.0.2 from fedora 21 repository and > modified it. > There are two repositories with rawhide backports for all supported CentOS/RHEL/Fedora distributions. One is for 5.2.13 and one is for 7.0.x: http://repos.fedorapeople.org/repos/slaanesh/bacula7/ http://repos.fedorapeople.org/repos/slaanesh/bacula/ Both will allow you to upgrade from CentOS' provided Bacula 5.0.0 packages. Remember to upgrade the database and read the appropriate READMEs. @Josip: Can you tell me how did you modify the SPEC file for? Maybe it's something that can be integrated in the package. Regards, --Simone -- You cannot discover new oceans unless you have the courage to lose sight of the shore (R. W. Emerson). http://xkcd.com/229/ http://negativo17.org/ -- The best possible search technologies are now affordable for all companies. Download your FREE open source Enterprise Search Engine today! Our experts will assist you in its installation for $59/mo, no commitment. Test it for FREE on our Cloud platform anytime! http://pubads.g.doubleclick.net/gampad/clk?id=145328191&iu=/4140/ostg.clktrk___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Bacula recycle not working
Quoting message written on Tuesday 2014-05-27 14:01:58 by Simone Caronni: > Can you tell me how did you modify the SPEC file for? Maybe it's > something that can be integrated in the package. I didn't change much of the spec file itself because I am mostly satisfied with the spec file. I am using custom PREFIX so I had to comment these lines from spec file to prevent removing RPATH: sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool +#sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool Otherwise I would have to put my custom PREFIX/lib path to /etc/ld.so.conf The other modification I have made are related to configure line and this is what I have changed: I have removed this option: --disable-rpath I have added these options: --disable-afs --enable-acl --enable-xattr --disable-nls --enable-lzo --disable-ipv6 So there are insignificant changes in my custom spec file when compared to the src.rpm from rawhide repository. -- Josip Deanovic -- The best possible search technologies are now affordable for all companies. Download your FREE open source Enterprise Search Engine today! Our experts will assist you in its installation for $59/mo, no commitment. Test it for FREE on our Cloud platform anytime! http://pubads.g.doubleclick.net/gampad/clk?id=145328191&iu=/4140/ostg.clktrk ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users