Re: [Bacula-users] Error on SD despooling Attributes

2013-02-08 Thread Diego Rubert

  
  
My spool disk has 79GB and bacula is allowed (by config) to use
70GB, despooling when it reaches this limit.
Got another error today, similar but not the same (Fatal error:
bsock.c:646 fread attr spool error. ERR=Success):

07-Feb 22:05 bacula-dir JobId 16663: No prior Full backup Job record found.
07-Feb 22:05 bacula-dir JobId 16663: No prior or suitable Full backup found in catalog. Doing FULL backup.
07-Feb 22:13 bacula-dir JobId 16663: Start Backup JobId 16663, Job=bkp-prms01.2013-02-07_22.05.00_20
07-Feb 22:13 bacula-dir JobId 16663: Using Device "FileStorage"
07-Feb 22:13 bacula-sd JobId 16663: Spooling data ...
08-Feb 01:44 bacula-sd JobId 16663: User specified spool size reached.
08-Feb 01:44 bacula-sd JobId 16663: Writing spooled data to Volume. Despooling 75,161,940,828 bytes ...
08-Feb 02:03 bacula-sd JobId 16663: Despooling elapsed time = 00:18:19, Transfer rate = 68.39 M Bytes/second
08-Feb 02:03 bacula-sd JobId 16663: Spooling data again ...
08-Feb 05:19 bacula-sd JobId 16663: Committing spooled data to Volume "Vol0001". Despooling 56,734,978,561 bytes ...
08-Feb 05:32 bacula-sd JobId 16663: Despooling elapsed time = 00:13:11, Transfer rate = 71.72 M Bytes/second
08-Feb 05:32 bacula-sd JobId 16663: Elapsed time=07:19:40, Transfer rate=4.994 M Bytes/second
08-Feb 05:32 bacula-sd JobId 16663: Sending spooled attrs to the Director. Despooling 253,590,462 bytes ...
08-Feb 05:33 bacula-sd JobId 16663: Fatal error: bsock.c:646 fread attr spool error. ERR=Success
08-Feb 05:34 bacula-dir JobId 16663: Error: Bacula bacula-dir 5.2.12 (12Sep12):
  Build OS:   x86_64-suse-linux-gnu suse 11
  JobId:  16663
  Job:bkp-prms01.2013-02-07_22.05.00_20
  Backup Level:   Full (upgraded from Incremental)
  Client: "prms01" 5.2.12 (12Sep12) x86_64-unknown-linux-gnu,suse,10
  FileSet:"FileServer Set" 2013-02-06 22:05:00
  Pool:   "File" (From Job resource)
  Catalog:"MyCatalog" (From Client resource)
  Storage:"FileStorage" (From Pool resource)
  Scheduled time: 07-Feb-2013 22:05:00
  Start time: 07-Feb-2013 22:13:15
  End time:   08-Feb-2013 05:34:49
  Elapsed time:   7 hours 21 mins 34 secs
  Priority:   10
  FD Files Written:   680,412
  SD Files Written:   680,412
  FD Bytes Written:   131,606,271,609 (131.6 GB)
  SD Bytes Written:   131,749,842,315 (131.7 GB)
  Rate:   4967.4 KB/s
  Software Compression:   14.6 %
  VSS:no
  Encryption: no
  Accurate:   no
  Volume name(s): Vol0001
  Volume Session Id:  13
  Volume Session Time:1360260723
  Last Volume Bytes:  514,719,307,852 (514.7 GB)
  Non-fatal FD errors:0
  SD Errors:  1
  FD termination status:  OK
  SD termination status:  Error
  Termination:*** Backup Error ***

Still got no clues...
--

Diego P. Rubert
Coordenadoria de Informática
Procuradoria da República no Estado de Mato Grosso do Sul
Ministério Público Federal


Em 07-02-2013 15:04, alejandro alfonso fernandez escreveu:

  
Hi!
  

Maybe the partition use for spooling has not enough size
  

Note, not only the "data", but the "metadata" partition can
  return other error:
  

Mysql example:
  tmpdir  = /tmp/ (default)
  tmpdir  = /var/tmp/mysql  (in my case, for large backups)
  

In your case, be sure having >255Gb for that purpose


    
Best regards!
  
  

On Thu, Feb 7, 2013 at 5:02 PM, Diego
  Rubert <dprub...@prms.mpf.gov.br>
  wrote:
  Hi,
I've got some strange error when doing a full backup with
data spooling enabled (specifically when despooling
attributes) and a warning "getmsg.c:176 bget_dirmsg: unknown
bnet signal -169472939".
Sometimes the error appears, sometimes don't. You can see
the log bellow.
Googled and found nothing...
Any ideas?
Regards,
   Diego


06-Feb 22:05 bacula-dir JobId 16599: No prior Full backup
Job record found.
06-Feb 22:05 bacula-dir JobId 16599: No prior or suitable
Full backup found in catalog. Doing FULL backup.
06-Feb 22:14 bacula-dir JobId 16599: Start Backup JobId
16599, Job=bkp-prms01.2013-02-06_22.05.00_17
06-Feb 22:14 bacula-dir JobId 16599: Using Device
"FileStorage"
06-Feb 22:14 bacula-sd JobId 16599: Spooling

[Bacula-users] Error on SD despooling Attributes

2013-02-07 Thread Diego Rubert
Hi,
I've got some strange error when doing a full backup with data spooling enabled 
(specifically when despooling attributes) and a warning "getmsg.c:176 
bget_dirmsg: unknown bnet signal -169472939".
Sometimes the error appears, sometimes don't. You can see the log bellow.
Googled and found nothing...
Any ideas?
Regards,
   Diego


06-Feb 22:05 bacula-dir JobId 16599: No prior Full backup Job record found.
06-Feb 22:05 bacula-dir JobId 16599: No prior or suitable Full backup found in 
catalog. Doing FULL backup.
06-Feb 22:14 bacula-dir JobId 16599: Start Backup JobId 16599, 
Job=bkp-prms01.2013-02-06_22.05.00_17
06-Feb 22:14 bacula-dir JobId 16599: Using Device "FileStorage"
06-Feb 22:14 bacula-sd JobId 16599: Spooling data ...
07-Feb 02:25 bacula-sd JobId 16599: User specified spool size reached.
07-Feb 02:25 bacula-sd JobId 16599: Writing spooled data to Volume. Despooling 
80,530,659,921 bytes ...
07-Feb 02:44 bacula-sd JobId 16599: Despooling elapsed time = 00:19:05, 
Transfer rate = 70.33 M Bytes/second
07-Feb 02:44 bacula-sd JobId 16599: Spooling data again ...
07-Feb 05:46 bacula-sd JobId 16599: Committing spooled data to Volume 
"Vol0001". Despooling 51,859,698,621 bytes ...
07-Feb 05:58 bacula-sd JobId 16599: Despooling elapsed time = 00:12:29, 
Transfer rate = 69.23 M Bytes/second
07-Feb 05:58 bacula-sd JobId 16599: Elapsed time=07:44:20, Transfer rate=4.746 
M Bytes/second
07-Feb 05:58 bacula-sd JobId 16599: Sending spooled attrs to the Director. 
Despooling 253,540,559 bytes ...
07-Feb 05:58 bacula-dir JobId 16599: Warning: getmsg.c:176 bget_dirmsg: unknown 
bnet signal -169472939
07-Feb 06:00 bacula-dir JobId 16599: Error: Bacula bacula-dir 5.2.12 (12Sep12):
   Build OS:   x86_64-suse-linux-gnu suse 11
   JobId:  16599
   Job:bkp-prms01.2013-02-06_22.05.00_17
   Backup Level:   Full (upgraded from Incremental)
   Client: "prms01" 5.2.12 (12Sep12) 
x86_64-unknown-linux-gnu,suse,10
   FileSet:"FileServer Set" 2013-02-06 22:05:00
   Pool:   "File" (From Job resource)
   Catalog:"MyCatalog" (From Client resource)
   Storage:"FileStorage" (From Pool resource)
   Scheduled time: 06-Feb-2013 22:05:00
   Start time: 06-Feb-2013 22:14:12
   End time:   07-Feb-2013 06:00:15
   Elapsed time:   7 hours 46 mins 3 secs
   Priority:   10
   FD Files Written:   680,288
   SD Files Written:   0
   FD Bytes Written:   132,099,285,441 (132.0 GB)
   SD Bytes Written:   0 (0 B)
   Rate:   4724.1 KB/s
   Software Compression:   14.6 %
   VSS:no
   Encryption: no
   Accurate:   no
   Volume name(s): Vol0001
   Volume Session Id:  126
   Volume Session Time:135227
   Last Volume Bytes:  372,117,630,887 (372.1 GB)
   Non-fatal FD errors:0
   SD Errors:  0
   FD termination status:  OK
   SD termination status:  SD despooling Attributes
   Termination:*** Backup Error ***



-- 
--

Diego P. Rubert
Coordenadoria de Informática
Procuradoria da República no Estado de Mato Grosso do Sul
Ministério Público Federal


--
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013 
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Trouble getting jobs to run simultaneously

2012-12-06 Thread Diego Rubert

  
  
You can also set
Allow Mixed Priority = yes
on all your jobs.

From bacula docs:

Allow Mixed Priority = yesno
    This directive is only implemented in version 2.5 and later.
When
    set to yes (default no), this job may run even if lower priority
    jobs are already running. This means a high priority job will
not
    have to wait for other jobs to finish before starting. The
    scheduler will only mix priorities when all running jobs have
this
    set to true.

    Note that only higher priority jobs will start early. Suppose
the
    director will allow two concurrent jobs, and that two jobs with
    priority 10 are running, with two more in the queue. If a job
with
    priority 5 is added to the queue, it will be run as soon as one
of
    the running jobs finishes. However, new priority 10 jobs will
not
    be run until the priority 5 job has finished. 

--

Diego P. Rubert
Coordenadoria de Informática
Procuradoria da República no Estado de Mato Grosso do Sul
Ministério Público Federal


Em 06-12-2012 18:13, lst_ho...@kwsoft.de escreveu:

  
Zitat von Troy Kocher :


  
All,

Recently I've made changes to my bacula-dir and bacula-sd to with  
the intent of running simultaneous jobs.  After the changes my  
testing seems to indicate I still don't have it right.  I launched  
my first job 'Image_Backup' manually with it's default priority,  
then launched the retail job modifying the priority to 1, with the  
hope to force a simultaneous backup.  The retail job sat waiting for  
the image job to complete. I've attached the relevant sections from  
my bacula-dir.conf.  If anyone has any helpful thoughts I'd really  
appreciate it.

Troy

  
  
Hello

Only Jobs with the *same* priority run concurrently if all resources  
used support concurrent use. The value of priority is only used to  
decide which Job to start first if more than one is scheduled at the  
same time.

Regards

Andreas



--
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users



  


--
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Is tape filling up too early?

2012-10-19 Thread Diego Rubert

  
  
What's the difference between DataCompEnabled and DataDeCompEnabled?
Regards,
  Diego
--

Diego P. Rubert
Coordenadoria de Informática
Procuradoria da República no Estado de Mato Grosso do Sul
Ministério Público Federal


Em 19-10-2012 13:40, Radosław Korzeniewski escreveu:
Hello,
  
  2012/10/19 Sergio Belkin 

  2012/10/19 Radosław Korzeniewski :
  
> Hello,
  >
  > 2012/10/18 Sergio Belkin 
  >>
  >> [root@superback ~]#  mt -f /dev/nst0 compression
  1
  >> [root@superback ~]# tapeinfo -f /dev/sg0
  >> Product Type: Disk Drive
  >> Vendor ID: 'ServeRA '
  >> Product ID: 'Supernoc Mirror '
  >
  >
  > Are you sure that /dev/sg0 is your tape drive?
  > 
  


  
Interesting:
  
  
  
  
  tapeinfo -f /dev/sg4
  Product Type: Tape Drive
  Vendor ID: 'IBM     '
  Product ID: 'HH LTO Gen 3    '
  Revision: '76B0'
  Attached Changer: No
  SerialNumber: '1020024392'
  TapeAlert[20]:    Clean Now: The tape drive neads cleaning
  NOW.
  TapeAlert[21]:Clean Periodic:The tape drive needs to be
  cleaned at
  next opportunity.
  TapeAlert[39]:Undefined.
  MinBlock:1
  MaxBlock:16777215
  SCSI ID: 2
SCSI LUN: 0
Ready: yes
BufferedMode: yes
  
  Medium Type: 0x38
  Density Code: 0x44
  BlockSize: 0
  DataCompEnabled: yes
  DataCompCapable: yes
  DataDeCompEnabled: yes
  CompType: 0x1
  DeCompType: 0x1
  BOP: yes
  Block Position: 0
  
  
  Messages TapeAlert are strange. I rerun and the alerts
  dissapeared!
  



Why do you think above TapeAlert messages are strange?
You have to clean a tape drive with a dedicated cleaning
  tape cartridge.
 

  Is that a problem of the tape or of the tape drive



Tape drive which should be cleaned.
 
best regards
  
  -- 
  Radosław Korzeniewski
  rados...@korzeniewski.net
  
  
  
  --
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct
  
  
  
  ___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


  


--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] How to change Maximum Volume size in Pool definition?

2012-09-25 Thread Diego Rubert
Em 25-09-2012 16:32, Jon Detert escreveu:
> - Original Message -
>> From: "Diego Rubert"
>> To: bacula-users@lists.sourceforge.net
>> Sent: Tuesday, September 25, 2012 2:07:42 PM
>> Subject: Re: [Bacula-users] How to change Maximum Volume size in Pool
>> definition?
>>
>> At bconsole:
>> *update pool=File
>> *update
>> Choose catalog item to update (1-4): 1
>> Select parameter to modify (1-18): 13
>> Select Pool resource (1-5):
>>
>> However, probably you'll not be able to append data on Full volumes
>> until you Recycle them. Don't know if you manually set them to Append
>> status works...
> I think you are correct.  Even though I increased the Maximum Size, the 
> existing
> Volume still was reported as 'Full'.  I didn't try to manually set it to
> Append status.  Instead, I added another volume, which I assume will be able 
> to
> grow to the increased Maximum Size I set.
>
> Thanks,
>
> JOn
>
At bconsole, you can use:
*llist volume=
to check its "MaxVolBytes"

Diego

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] How to change Maximum Volume size in Pool definition?

2012-09-25 Thread Diego Rubert
At bconsole:
*update pool=File
*update
Choose catalog item to update (1-4): 1
Select parameter to modify (1-18): 13
Select Pool resource (1-5): 

However, probably you'll not be able to append data on Full volumes 
until you Recycle them. Don't know if you manually set them to Append 
status works...

Regards,

--

Diego P. Rubert
Coordenadoria de Informática
Procuradoria da República no Estado de Mato Grosso do Sul
Ministério Público Federal


Em 25-09-2012 14:14, Jon Detert escreveu:
> Hello,
>
> I'm new to bacula.  I have a Pool that was set to 50GB in size.  It's full 
> now.  I'd like to increase it's size now.
> I tried simply changing the 'Maximum Volume Bytes' attribute, and, in 
> succession, a reload, force-reload, and restart of the bacula-dir service, 
> and then also the bacula-sd service.  However, the bat still reports the Pool 
> as the original size.  How can I change it?
>
> Here is the pool definition in it's entirety, in case that helps:
>
> Pool {
>Name = File
>Pool Type = Backup
>Recycle = yes   # Bacula can automatically recycle 
> Volumes
>AutoPrune = yes # Prune expired volumes
>Volume Retention = 365 days # one year
>Maximum Volume Bytes = 50G  # Limit Volume size to something 
> reasonable
>Maximum Volumes = 100   # Limit number of Volumes in Pool
> }
>
>
> Thanks,

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Verify a Copy Job

2012-08-16 Thread Diego Rubert

  
  
I found the following "trick", any better?

##
From: Ulrich Leodolter  obvsg.at>
Subject: multiple
  copy pools
Newsgroups: gmane.comp.sysutils.backup.bacula.devel
Date: 2009-06-08 11:58:34 GMT (3 years, 9 weeks, 6 days, 11 hours
and 44 minutes ago)
Hello,

i would like to run disk2tape copy jobs
into different pools.

the current version (3.0.2) doesn't allow this setup (afaik)
there is only one NextPool which determines the destination
pool for copy jobs.

i tried a "trick" to overcome this limitation.

1.) define a dummy pool, no backup jobs go into this pool.

Pool {
  Name = ExtBackup
  Pool Type = Backup
  Next Pool = ExtClone
}

2.) define a copy job using the above dummy pool and
custom sqlquery to select jobid from different pool.

Job {
  Name = "CopyDiskToExtClone"
  Type = Copy
  Client = None
  Level = Full  # must be defined, but is ignored
  FileSet = None# must be defined, but is ignored
  Pool = ExtBackup
  Selection Type = SQLQuery
  Selection Pattern = "SELECT DISTINCT Job.JobId FROM Job,Pool WHERE
 Pool.Name = 'DiskBackup' AND Pool.PoolId = Job.PoolId AND ..."
  ...
}

using this method i was able top copy jobs from pool DiskBackup
to pool ExtClone, even though DiskBackup->NextPool = DiskCopy

can i expect troubles using this trick?

Regards
Ulrich
##
--

Diego P. Rubert
Coordenadoria de Informática
Procuradoria da República no Estado de Mato Grosso do Sul
Ministério Público Federal


Em 15-08-2012 15:49, Diego Rubert escreveu:

  Hello!
Is it possible to verify (VolumeToCatalog) a copied job?
I've found only a reference in an old message with subject 
"[Bacula-users] is it possible to verify copy jobs?", with no response.
It seems bacula doesn't find the copied job, with or without a "Verify 
Job = MyBackupJobName" at verify job definition, resulting in a 
verification of an older (real) backup.
Regards,
   Diego

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users



  


--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Verify a Copy Job

2012-08-15 Thread Diego Rubert
Hello!
Is it possible to verify (VolumeToCatalog) a copied job?
I've found only a reference in an old message with subject 
"[Bacula-users] is it possible to verify copy jobs?", with no response.
It seems bacula doesn't find the copied job, with or without a "Verify 
Job = MyBackupJobName" at verify job definition, resulting in a 
verification of an older (real) backup.
Regards,
   Diego

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Recycling not respecting Volume Retention

2012-02-06 Thread Diego Rubert
Em 06-02-2012 14:12, Martin Simmons escreveu:
>>>>>> On Fri, 03 Feb 2012 18:43:51 -0300, Diego Rubert said:
>> Hello!
>>
>> I've some problems with bacula 5.2.5 (maybe<  5.2.5) Volume
>> Retention It looks bacula is recycling volumes when no one is left,
>> even before volume retention period expires Although bacula purged
>> all jobs and files from volume, it should respect volume retention,
>> don't it?
>>
>> For testing purposes, I've downloaded, compiled and installer bacula
>> 5.2.5, changing only Pool file settings:
>> Volume Use Duration = 1 minute
>> Volume Retention = 1 day
>> and Client bacula-fd:
>> File Retention = 1 minute
>> Job Retention = 1 minute
>>
>> So, I've created 2 volumes, Vol1 and Vol2. Then, I ran a backup job,
>> that was stored at Vol1. 1 minute later, ran another backup, Vol1 was
>> marked as used, files and job at Vol1 was purged, and backup was stored
>> at Vol2.
>>
>> Another minute later I ran another backup. This time, Vol1 was recycled
>> and backup was stored on it. Since Volume Retention was set to 1 day and
>> manual says about Recycling Algorithm: "Prune volumes applying Volume
>> retention period (Volumes with VolStatus Full, Used, or Append are
>> pruned). Note, even if all the File and Job records are pruned from a
>> Volume, ***the Volume will not be marked Purged until the Volume
>> retention period expires***."
>> (http://www.bacula.org/5.2.x-manuals/en/main/main/Automatic_Volume_Recycling.html),
>> Vol1 shouldn't have been recycled... But log shows "There are no more
>> Jobs associated with Volume "Vol1". Marking it purged."
>>
>> Any ideas?
> I don't know if that is a bug in software or the doc, but is has been that way
> for a long time.
>
> Volumes with no remaining jobs will be recycled before their Volume Retention
> has expired, so the best option is to use a much larger Job Retention.  That
> won't affect size of the catalog database too badly, because it is mainly
> affected by the number of file records (from the File Retention).
>
> __Martin
Well, if it has been that way for a long time, maybe it's a bug in 
algorithm description at doc. Bacula acts like if 
RecycleOldestVolume=yes was the default option, although it says the 
default is *no*. I've no problem with that, but it may cause confusion, 
since the manual says explicitly: "Prune volumes applying Volume 
retention period (Volumes with VolStatus Full, Used, or Append are 
pruned). Note, even if all the File and Job records are pruned from a 
Volume, the Volume will not be marked Purged until the Volume retention 
period expires.". Should I report that? How?

manual page: 
http://www.bacula.org/5.2.x-manuals/en/main/main/Automatic_Volume_Recycling.html

   Diego
> ___
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users
>

--
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Recycling not respecting Volume Retention

2012-02-06 Thread Diego Rubert
Em 03-02-2012 20:35, John Drescher escreveu:
> On Fri, Feb 3, 2012 at 4:43 PM, Diego Rubert  wrote:
>> Hello!
>>
>> I've some problems with bacula 5.2.5 (maybe<  5.2.5) Volume
>> Retention It looks bacula is recycling volumes when no one is left,
>> even before volume retention period expires Although bacula purged
>> all jobs and files from volume, it should respect volume retention,
>> don't it?
>>
>> For testing purposes, I've downloaded, compiled and installer bacula
>> 5.2.5, changing only Pool file settings:
>>Volume Use Duration = 1 minute
>>Volume Retention = 1 day
>> and Client bacula-fd:
>>File Retention = 1 minute
>>Job Retention = 1 minute
>>
>> So, I've created 2 volumes, Vol1 and Vol2. Then, I ran a backup job,
>> that was stored at Vol1. 1 minute later, ran another backup, Vol1 was
>> marked as used, files and job at Vol1 was purged, and backup was stored
>> at Vol2.
>>
>> Another minute later I ran another backup. This time, Vol1 was recycled
>> and backup was stored on it. Since Volume Retention was set to 1 day and
>> manual says about Recycling Algorithm: "Prune volumes applying Volume
>> retention period (Volumes with VolStatus Full, Used, or Append are
>> pruned). Note, even if all the File and Job records are pruned from a
>> Volume, ***the Volume will not be marked Purged until the Volume
>> retention period expires***."
>> (http://www.bacula.org/5.2.x-manuals/en/main/main/Automatic_Volume_Recycling.html),
>> Vol1 shouldn't have been recycled... But log shows "There are no more
>> Jobs associated with Volume "Vol1". Marking it purged."
>>
>> Any ideas?
> Did you change definition of the pool after the volumes existed?
>
> John
No, the volumes were created after changing/reloading/updating the pool.

Diego

--
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Recycling not respecting Volume Retention

2012-02-03 Thread Diego Rubert
Hello!

I've some problems with bacula 5.2.5 (maybe < 5.2.5) Volume 
Retention It looks bacula is recycling volumes when no one is left, 
even before volume retention period expires Although bacula purged 
all jobs and files from volume, it should respect volume retention, 
don't it?

For testing purposes, I've downloaded, compiled and installer bacula 
5.2.5, changing only Pool file settings:
   Volume Use Duration = 1 minute
   Volume Retention = 1 day
and Client bacula-fd:
   File Retention = 1 minute
   Job Retention = 1 minute

So, I've created 2 volumes, Vol1 and Vol2. Then, I ran a backup job, 
that was stored at Vol1. 1 minute later, ran another backup, Vol1 was 
marked as used, files and job at Vol1 was purged, and backup was stored 
at Vol2.

Another minute later I ran another backup. This time, Vol1 was recycled 
and backup was stored on it. Since Volume Retention was set to 1 day and 
manual says about Recycling Algorithm: "Prune volumes applying Volume 
retention period (Volumes with VolStatus Full, Used, or Append are 
pruned). Note, even if all the File and Job records are pruned from a 
Volume, ***the Volume will not be marked Purged until the Volume 
retention period expires***." 
(http://www.bacula.org/5.2.x-manuals/en/main/main/Automatic_Volume_Recycling.html),
 
Vol1 shouldn't have been recycled... But log shows "There are no more 
Jobs associated with Volume "Vol1". Marking it purged."

Any ideas?

Regards,
   Diego

-- 
--

Diego P. Rubert
Coordenadoria de Informática
Procuradoria da República no Estado de Mato Grosso do Sul
Ministério Público Federal


--
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users