[Bacula-users] Bacula recycle not working

2014-05-27 Thread Rickinfl
I fixed that error on update in bconsole. Since I had everything screwed up 
with the Pools I just deleted the mysql database and started over. I didn't 
need the backups I have an emergency external drive I backup to also just 
incase. I'm a true believer in backups and always make more than 1.

But what I learned about that error is... When the drive filled up (Pool) 
Bacula defaulted to my main drive and filled the drive. It created a Backup 
folder in the root and everything so when it did that the mysql is on that 
drive and it damaged it from what I was reading.  Now to figure out how to stop 
Bacula from doing that, but on the other hand I should of had it setup 
right and it would of never filled my CentOS drive.  So all in all it was my 
fault.  I have 3 Drives on that system. Main Drive which is CentOS then 2 other 
drives in Raid which is 4T for just for Bacula backups.

+--
|This was sent by hahajunkem...@gmail.com via Backup Central.
|Forward SPAM to ab...@backupcentral.com.
+--



--
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=145328191iu=/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

2014-05-27 Thread Josip Deanovic
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=145328191iu=/4140/ostg.clktrk
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Bacula recycle not working

2014-05-27 Thread Rickinfl
Did you install Bacula 7 on CentOS?  We don't have any other options but to run 
5.0 right now.

+--
|This was sent by hahajunkem...@gmail.com via Backup Central.
|Forward SPAM to ab...@backupcentral.com.
+--



--
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=145328191iu=/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

2014-05-27 Thread Josip Deanovic
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=145328191iu=/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

2014-05-27 Thread Simone Caronni
Hello,

On 27 May 2014 12:09, Josip Deanovic djosip+n...@linuxpages.net 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=145328191iu=/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

2014-05-27 Thread Josip Deanovic
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=145328191iu=/4140/ostg.clktrk
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Bacula recycle not working

2014-05-26 Thread Rickinfl
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.




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

+--
|This was sent by hahajunkem...@gmail.com via Backup Central.
|Forward SPAM to ab...@backupcentral.com.
+--



--
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=145328191iu=/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

2014-05-26 Thread John Drescher
 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=145328191iu=/4140/ostg.clktrk
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Bacula recycle not working

2013-09-10 Thread Rickcinfl
I'm beating my head against a wall.  My drive filled up and it will not recycle 
it. Bacula stopped working totally. I have it set to recycle after 30 days.

What am I doing wrong or what am I missing?

I get this error now:

MediaServer Incremental Backup  10-Sep-13 19:05 *unknown*


The drive is full.

Thanks,
Rick

+--
|This was sent by eastpasco...@gmail.com via Backup Central.
|Forward SPAM to ab...@backupcentral.com.
+--



--
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=5127iu=/4140/ostg.clktrk
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Bacula recycle not working

2013-09-10 Thread Rickcinfl
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

+--
|This was sent by eastpasco...@gmail.com via Backup Central.
|Forward SPAM to ab...@backupcentral.com.
+--



--
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=5127iu=/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

2013-09-10 Thread Uwe Schuerkamp
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=5127iu=/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

2013-09-10 Thread John Drescher
On Tue, Sep 10, 2013 at 7:52 AM, Rickcinfl
bacula-fo...@backupcentral.comwrote:

 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=5127iu=/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

2013-09-10 Thread Bill Arlofski


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=5127iu=/4140/ostg.clktrk
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users