I still can not rotate volumes.
after I change pool's configuration to
Pool {
Name = PoolENGI5657
Use Volume > Pool Type = Backup
LabelFormat = "ENGI5657-"
AutoPrune = yes
VolumeRetention = 7 days
Maximum Volumes = 8
Recycle = yes
Maximum Volume Jobs = 1
Recycle Oldest Volume = yes
Volume Use Duration = 1 day
}
I get:
07-set 09:08 DirectorServer: Start Backup JobId 196, Job=BackupENGI5657.2006-09-07_09.08.55
07-set 09:08 DirectorServer: Pruning oldest volume "ENGI5657-0001"
07-set 09:08 DirectorServer: Cannot purge Volume with VolStatus=Purged
07-set 09:09 ENGI5657: DIR and FD clocks differ by 45 seconds, FD automatically adjusting.
and volume does not rotate...
media is
*list media pool=PoolENGI5657
+---------+---------------+-----------+------------+----------+--------------+---------+------+-----------+-----------+---------------------+
| MediaId | VolumeName | VolStatus | VolBytes | VolFiles | VolRetention | Recycle | Slot | InChanger | MediaType | LastWritten |
+---------+---------------+-----------+------------+----------+--------------+---------+------+-----------+-----------+---------------------+
| 23 | ENGI5657-0001 | Purged | 51,557,748 | 0 | 604,800 | 0 | 0 | 0 | File | 2006-08-30 10:01:56 |
| 30 | ENGI5657-0002 | Purged | 445 | 0 | 604,800 | 0 | 0 | 0 | File | 2006-08-30 15:19:21 |
| 37 | ENGI5657-0003 | Purged | 39,226,754 | 0 | 604,800 | 0 | 0 | 0 | File | 2006-08-30 23:01:33 |
| 48 | ENGI5657-0004 | Used | 38,958,551 | 0 | 604,800 | 0 | 0 | 0 | File | 2006-08-31 23:01:37 |
| 57 | ENGI5657-0005 | Used | 39,285,149 | 0 | 604,800 | 0 | 0 | 0 | File | 2006-09-01 23:01:22 |
| 65 | ENGI5657-0006 | Used | 26,755,663 | 0 | 604,800 | 0 | 0 | 0 | File | 2006-09-02 23:00:58 |
| 74 | ENGI5657-0007 | Used | 65,841,033 | 0 | 604,800 | 0 | 0 | 0 | File | 2006-09-03 23:06:30 |
| 85 | ENGI5657-0008 | Used | 26,765,938 | 0 | 604,800 | 0 | 0 | 0 | File | 2006-09-04 23:00:54 |
+---------+---------------+-----------+------------+----------+--------------+---------+------+-----------+-----------+---------------------+
How can I rotate volumes?
2006/9/6, Uwe Schuerkamp <[EMAIL PROTECTED]>:
On Wed, Sep 06, 2006 at 02:33:39PM +0200, Marco Strullato wrote:
> From: Marco Strullato <[EMAIL PROTECTED]>
> To: bacula-users@lists.sourceforge.net
> Date: Wed, 6 Sep 2006 14:33:39 +0200
> Subject: [Bacula-users] backup rotation
>
> hi all!
>
> I've set up backups with bacula to do full backup on sunday and incrental
> from monday to saturday. My backups are only on disks; I'd like to have one
> volume for job. Moreover I need automatic recycling of volumes so volumes
> should "rotate".
>
> I choose to have 8 volumes but maybe it is not necessary; At the beginning I
> set the pool parameter "Recycle" to "no" because Bacula used just one
> volume: with "no" bacula wrote me correctly a volume file for each job.
>
> After 8 backups all volumes are "Used" and any other backup is possible.
> Bacula correctly waits for a new volume.
> Today I change this directive to yes and re launch backup.
> Status of the 1st volume is change to "Purged" but backup does not start.
>
> I think I have done some mistakes in configuration. Can you help me?
> Pool configuration is the following. Do you need more configuration file?
>
>
>
>
> Pool {
> Name = PoolRaffaello
> Use Volume >> Pool Type = Backup
> LabelFormat = "Raffaello-"
> AutoPrune = yes
> VolumeRetention = 7 days
> Maximum Volumes = 8
> Recycle = yes
> Maximum Volume Jobs = 1
> }
>
Looks like you are missing the "Recycle Oldest Volume"
parameter. Also, it might be a good idea to set the maximum volume use
duration to one day (see the docs) and not try limiting it by the
number of jobs.
Also remember that you'll need to "update pool from resource
definition" in bconsole once you've changed the pool resource.
HTH,
uwe
--
Uwe Schuerkamp, NIONEX GmbH (http://www.nionex.com/)
[EMAIL PROTECTED] Tel: +49 (0)5241 / 80 10 66 FAX: / 806 23 38
Avenwedder Str. 55, D-33311 Guetersloh, Germany
GnuPG KeyID: 5887047D, Fingerprint: 2E1320229A3F63 7F676FE9B1A836A461
------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users