On Mon, Sep 18, 2006 at 09:13:51AM +0200, Kern Sibbald wrote:
> - Your version of Bacula
1.38.5
> - What database (MySQL, ...) you are using and its version. I see you mention
> that it is PostgreSQL.
mysql-4.1.20
> - A list of all the volumes in the pool.
*list volumes
Pool: clients_Pool
+---------+--------------+-----------+----------------+----------+--------------+---------+------+-----------+--------------+---------------------+
| MediaId | VolumeName | VolStatus | VolBytes | VolFiles |
VolRetention | Recycle | Slot | InChanger | MediaType | LastWritten
|
+---------+--------------+-----------+----------------+----------+--------------+---------+------+-----------+--------------+---------------------+
| 1 | clients-0001 | Used | 9,418,659,725 | 2 |
2,592,000 | 1 | 0 | 0 | File_clients | 2006-09-07 22:21:46
|
| 2 | clients-0002 | Used | 10,270,194,708 | 2 |
2,592,000 | 1 | 0 | 0 | File_clients | 2006-09-08 22:25:46
|
| 3 | clients-0003 | Used | 10,301,616,376 | 2 |
2,592,000 | 1 | 0 | 0 | File_clients | 2006-09-09 22:23:12
|
| 4 | clients-0004 | Used | 12,072,651,723 | 2 |
2,592,000 | 1 | 0 | 0 | File_clients | 2006-09-10 23:26:29
|
| 5 | clients-0005 | Full | 56,795,297,313 | 13 |
2,592,000 | 1 | 0 | 0 | File_clients | 2006-09-12 01:08:26
|
| 6 | clients-0006 | Used | 8,396,390,296 | 1 |
2,592,000 | 1 | 0 | 0 | File_clients | 2006-09-12 22:16:49
|
| 7 | clients-0007 | Used | 8,998,545,207 | 2 |
2,592,000 | 1 | 0 | 0 | File_clients | 2006-09-13 22:21:09
|
| 8 | clients-0008 | Used | 9,875,193,176 | 2 |
2,592,000 | 1 | 0 | 0 | File_clients | 2006-09-14 22:22:48
|
| 9 | clients-0009 | Used | 10,315,851,080 | 2 |
2,592,000 | 1 | 0 | 0 | File_clients | 2006-09-15 22:25:12
|
| 10 | clients-0010 | Used | 10,682,234,545 | 2 |
2,592,000 | 1 | 0 | 0 | File_clients | 2006-09-16 22:24:46
|
| 11 | clients-0011 | Used | 8,194,313,190 | 1 |
2,592,000 | 1 | 0 | 0 | File_clients | 2006-09-17 22:22:54
|
| 12 | clients-0012 | Append | 16,773,946,402 | 3 |
2,592,000 | 1 | 0 | 0 | File_clients | 2006-09-18 13:17:16
|
| 13 | clients-0013 | Used | 8,313,488,520 | 1 |
2,592,000 | 1 | 0 | 0 | File_clients | 2006-08-24 11:51:56
|
| 14 | clients-0014 | Used | 9,807,243,068 | 2 |
2,592,000 | 1 | 0 | 0 | File_clients | 2006-08-25 11:50:03
|
| 15 | clients-0015 | Used | 10,655,372,119 | 2 |
2,592,000 | 1 | 0 | 0 | File_clients | 2006-08-26 11:49:35
|
| 16 | clients-0016 | Used | 10,722,190,530 | 2 |
2,592,000 | 1 | 0 | 0 | File_clients | 2006-08-27 11:50:03
|
| 17 | clients-0017 | Used | 21,075,472,080 | 4 |
2,592,000 | 1 | 0 | 0 | File_clients | 2006-08-28 13:12:53
|
| 18 | clients-0018 | Full | 7,812,527,019 | 1 |
2,592,000 | 1 | 0 | 0 | File_clients | 2006-08-28 22:45:10
|
| 19 | clients-0019 | Full | 533,191,592 | 0 |
2,592,000 | 1 | 0 | 0 | File_clients | 2006-08-29 11:11:02
|
| 20 | clients-0020 | Full | 1 | 0 |
2,592,000 | 1 | 0 | 0 | File_clients | 2006-08-28 22:45:22
|
| 21 | clients-0021 | Full | 64,513 | 0 |
2,592,000 | 1 | 0 | 0 | File_clients | 2006-08-29 11:11:03
|
| 22 | clients-0022 | Full | 1 | 0 |
2,592,000 | 1 | 0 | 0 | File_clients | 2006-08-28 22:45:32
|
| 23 | clients-0023 | Used | 15,050,622,781 | 3 |
2,592,000 | 1 | 0 | 0 | File_clients | 2006-08-30 22:17:01
|
| 24 | clients-0024 | Used | 9,756,255,810 | 2 |
2,592,000 | 1 | 0 | 0 | File_clients | 2006-08-31 22:25:38
|
| 25 | clients-0025 | Used | 10,553,888,220 | 2 |
2,592,000 | 1 | 0 | 0 | File_clients | 2006-09-01 22:24:39
|
| 26 | clients-0026 | Used | 10,500,934,163 | 2 |
2,592,000 | 1 | 0 | 0 | File_clients | 2006-09-02 22:24:00
|
| 27 | clients-0027 | Used | 9,740,633,000 | 2 |
2,592,000 | 1 | 0 | 0 | File_clients | 2006-09-03 22:21:19
|
| 28 | clients-0028 | Used | 59,054,789,333 | 13 |
2,592,000 | 1 | 0 | 0 | File_clients | 2006-09-05 01:13:09
|
| 29 | clients-0029 | Used | 7,953,225,365 | 1 |
2,592,000 | 1 | 0 | 0 | File_clients | 2006-09-05 22:20:56
|
| 30 | clients-0030 | Used | 8,865,906,176 | 2 |
2,592,000 | 1 | 0 | 0 | File_clients | 2006-09-06 22:21:52
|
+---------+--------------+-----------+----------------+----------+--------------+---------+------+-----------+--------------+---------------------+
> - An "llist pool=xxx"
*llist pool=clients_Pool
PoolId: 5
Name: clients_Pool
NumVols: 30
MaxVols: 30
UseOnce: 0
UseCatalog: 1
AcceptAnyVolume: 1
VolRetention: 2,592,000
VolUseDuration: 86,400
MaxVolJobs: 0
MaxVolBytes: 0
AutoPrune: 1
Recycle: 1
PoolType: Backup
LabelFormat: clients-
Enabled: 1
ScratchPoolId: 0
RecyclePoolId: 0
LabelType: 0
> - An "llist volume=yyy" where you pick one representative volume, which
> should be the one with the oldest LastWritten date.
*llist volume=clients-0013
MediaId: 13
VolumeName: clients-0013
Slot: 0
PoolId: 5
MediaType: File_clients
FirstWritten: 2006-08-23 22:05:03
LastWritten: 2006-08-24 11:51:56
LabelDate: 2006-08-23 22:05:03
VolJobs: 5
VolFiles: 1
VolBlocks: 128,869
VolMounts: 7
VolBytes: 8,313,488,520
VolErrors: 0
VolWrites: 128,874
VolCapacityBytes: 0
VolStatus: Used
Recycle: 1
VolRetention: 2,592,000
VolUseDuration: 86,400
MaxVolJobs: 0
MaxVolFiles: 0
MaxVolBytes: 0
InChanger: 0
EndFile: 1
EndBlock: 4,018,521,439
VolParts: 0
LabelType: 0
StorageId: 0
> - Your Job resource
JobDefs {
Name = "clients_Job"
Type = Backup
Level = Incremental
Client = backup0-fd
FileSet = "unix-root-only"
Schedule = "clientWeeklyFull"
Storage = Disk_clients
Pool = clients_Pool
Messages = Standard
Priority = 10
}
Job {
Name = "triceratops.lizardarts.com"
Client = triceratops.lizardarts.com-fd
JobDefs = "clients_Job"
FileSet = "freebsd-root-var-d"
Write Bootstrap = "/bacula/bootstraps/triceratops.lizardarts.com.bsr"
}
> - Your Pool resource
Pool {
Name = clients_Pool
Pool Type = Backup
Recycle = yes # Bacula can automatically recycle
Volumes
Recycle Oldest Volume = yes
Purge Oldest Volume = yes
AutoPrune = yes # Prune expired volumes
Volume Retention = 30 days # one year
Volume Use Duration = 24h
Accept Any Volume = yes # write on any volume in the pool
LabelFormat = "clients-"
Maximum Volumes = 30
}
> - The complete output of a job where recycling failed.
I can't do this without increasing maximum volumes, which I can't do right
now. But I could set up a test environment for you if you want ...
--
Jo Rhett
senior geek
SVcolo : Silicon Valley Colocation
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Bacula-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-users