SearchFAQMemberlist Log in
Reply to topic Page 1 of 1
Volume Retention Setting Not Honoured
Author Message
Post Volume Retention Setting Not Honoured 
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:
  1. 3076, 3148, 3211, 3368 are scheduled for copy.
  2. Job 3076 starts to copy.
  3. Volume SVN_Full_Copy_1504 is created and labelled ok.
  4. Job 3076 is copied successfully to SVN_Full_Copy_1504
  5. Job 3148 starts to copy.
  6. SVN_Full_Copy_1504 fills up to MaxVolBytes.
  7. SVN_Full_Copy_1505 is created and labelled.
  8. Job 3148 is copied successfully to SVN_Full_Copy_1504 and SVN_Full_Copy_1505.
  9. Job 3211 starts to copy.
  10. SVN_Full_Copy_1505 fills up to MaxVolBytes.
  11. !! Bacula says that there's no more jobs associated with SVN_Full_Copy_1504 !!
  12. SVN_Full_Copy_1504 is purged (even though it's set to be kept for 6 days)
  13. SVN_Full_Copy_1504 Recycled
  14. Job 3211 is copied successfully to SVN_Full_Copy_1505 and SVN_Full_Copy_1504
  15. Job 3368 starts to copy.
  16. SVN_Full_Copy_1504 fills to MaxVolBytes.
  17. !! Bacula says that there's no more jobs associated with SVN_Full_Copy_1505 !!
  18. SVN_Full_Copy_1505 is purged (again, even though it is set to be kept for 6 days)
  19. SVN_Full_Copy_1505 fills to MaxVolBytes.
  20. SVN_Full_Copy_1506 is created an labelled ok.
  21. SVN_Full_Copy_1506 fills to MaxVolBytes.
  22. SVN_Full_Copy_150is created and labelled successfully.
  23. 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 Sad


Thank you in anticipation!


Joe Nyland

Display posts from previous:
Reply to topic Page 1 of 1
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
  


Magic SEO URL for phpBB