Hi,
Please can someone offer some insight as to why my volume retention setting
seems to be ignored in the following job log: http://pastebin.com/LWe7D42L ?
As you can see:
3076, 3148, 3211, 3368 are scheduled for copy.
Job 3076 starts to copy.
Volume SVN_Full_Copy_1504 is created and labelled ok.
Job 3076 is copied successfully to SVN_Full_Copy_1504
Job 3148 starts to copy.
SVN_Full_Copy_1504 fills up to MaxVolBytes.
SVN_Full_Copy_1505 is created and labelled.
Job 3148 is copied successfully to SVN_Full_Copy_1504 and SVN_Full_Copy_1505.
Job 3211 starts to copy.
SVN_Full_Copy_1505 fills up to MaxVolBytes.
!! Bacula says that there's no more jobs associated with SVN_Full_Copy_1504 !!
SVN_Full_Copy_1504 is purged (even though it's set to be kept for 6 days)
SVN_Full_Copy_1504 Recycled
Job 3211 is copied successfully to SVN_Full_Copy_1505 and SVN_Full_Copy_1504
Job 3368 starts to copy.
SVN_Full_Copy_1504 fills to MaxVolBytes.
!! Bacula says that there's no more jobs associated with SVN_Full_Copy_1505 !!
SVN_Full_Copy_1505 is purged (again, even though it is set to be kept for 6
days)
SVN_Full_Copy_1505 fills to MaxVolBytes.
SVN_Full_Copy_1506 is created an labelled ok.
SVN_Full_Copy_1506 fills to MaxVolBytes.
SVN_Full_Copy_150is created and labelled successfully.
Job 3368 is copied successfully to SVN_Full_Copy_1504, SVN_Full_Copy_1505,
SVN_Full_Copy_1506 and SVN_Full_Copy_1507.
The result is that I only have a copy of jobs 3211 and 3368, when I should have
3076, 3148, 3211, 3368, which Bacula marked to be copied.
The sections of my config which may be of interest:
bacula-dir.conf
Client {
Name = FileServer1-fd
Address = FileServer1
FDPort = 9102
Catalog = MyCatalog
Password =
File Retention = 4 weeks
Job Retention = 6 months
AutoPrune = yes
}
Job {
Name = "SVN Repositories Full Copy"
JobDefs = DefaultCopy
Type = Copy
Client = FileServer1-fd
FileSet = "SVN Repositories"
Pool = SVN_Full
Messages = Standard
Selection Type = PoolUncopiedJobs
Enabled = No
}
Pool {
Name = "SVN_Full_Copy"
Pool Type = *Copy
Volume Retention = 1 weeks
Recycle = yes
AutoPrune = yes
LabelFormat = SVN_Full_Copy_
Maximum Volume Bytes = 1G
Storage = "SVN_Full_Copy"
}
Storage {
Name = SVN_Full_Copy
Password =
Address = FileServer1
SDPort = 9103
Device = SVN_Full_Copy
Media Type = File
Maximum Concurrent Jobs = 20
}
bacula-sd.conf
Device {
Name = SVN_Full_Copy
Archive Device = /mnt/mac_backup/Bacula/SVN/Full
Media Type = File
LabelMedia = yes
Random Access = yes
AutomaticMount = yes
RemovableMedia = no
AlwaysOpen = no
}
I have updated the volume in bconsole. The DB shows:
mysql> SELECT * FROM Pool WHERE PoolId = 17;
+--------+---------------+---------+---------+---------+------------+-----------------+--------------+----------------+------------+-------------+-------------+-----------+---------+---------------+----------+-----------+----------------+---------+---------------+---------------+------------+--------------------+-------------------+---------------+
| PoolId | Name | NumVols | MaxVols | UseOnce | UseCatalog |
AcceptAnyVolume | VolRetention | VolUseDuration | MaxVolJobs | MaxVolFiles |
MaxVolBytes | AutoPrune | Recycle | ActionOnPurge | PoolType | LabelType |
LabelFormat | Enabled | ScratchPoolId | RecyclePoolId | NextPoolId |
MigrationHighBytes | MigrationLowBytes | MigrationTime |
+--------+---------------+---------+---------+---------+------------+-----------------+--------------+----------------+------------+-------------+-------------+-----------+---------+---------------+----------+-----------+----------------+---------+---------------+---------------+------------+--------------------+-------------------+---------------+
| 17 | SVN_Full_Copy | 4 | 0 | 0 | 1 |
0 | 604800 | 0 | 0 | 0 | 1073741824
| 1 | 1 | 0 | | 0 | SVN_Full_Copy_ |
1 | 0 | 0 | 0 | 0 |
0 | 0 |
+--------+---------------+---------+---------+---------+------------+-----------------+--------------+----------------+------------+-------------+-------------+-----------+---------+---------------+----------+-----------+----------------+---------+---------------+---------------+------------+--------------------+-------------------+---------------+
1 row in set (0.00 sec)
If I can provide anymore info that may help you to help me, please let me know
as I need to resolve this issue :-(
Thank you in anticipation!
Joe Nyland
------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
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-d2d
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users