Hello guys,
let me inform you that issue was resolved. There was misunderstanding
using New Features in 5.0.0 - Pool File and Job retention.
New Pool directives, FileRetention and JobRetention used for exmaple in
the INC pool can purge File Records/Job Records over whole Client backup
not only
for INC backup!
If somebody understood wrong this new features can be destructive and
purge File/Job Records over whole Client backup. Be carefull!
B.rgds, Ondrey.
Ondrej PLANKA (Ignum profile) napsal(a):
> Hello John, all,
>
> thanks for response, pleasee see below technical information:
>
> Configuration:
> Client {
> Name = exchange-fd
> Address = 192.168.1.99
> FDPort = 9102
> Catalog = Catalog_backup
> Password = "xxx"
> File Retention = 60 days
> Job Retention = 6 months
> AutoPrune = no
> Maximum Concurrent Jobs = 50
> }
>
> Pool
> {
> Name = EXCHANGE-Full-pool
> Pool Type = Backup
> Maximum Volumes = 100
> Maximum Volume Jobs = 1
> Maximum Volume Bytes = 100 000 000 000
> AutoPrune = yes
> Volume Retention = 60 days
> Recycle = yes
> File Retention = 60 days
> Job Retention = 60 days
> Label Format = EXCHANGE_FULL_volume-
> }
>
> Pool
> {
> Name = EXCHANGE-Inc-pool
> Pool Type = Backup
> Maximum Volumes = 15
> Maximum Volume Jobs = 1
> Maximum Volume Bytes = 50 000 000 000
> AutoPrune = yes
> Volume Retention = 15 days
> Recycle = yes
> File Retention = 15 days
> Job Retention = 15 days
> Label Format = EXCHANGE_INC_volume-
> }
>
>
> This issue appears for FULL Volume:
> +-------+-------+----------+-----------------+---------------------+---------------------------+
> | JobId | Level | JobFiles | JobBytes | StartTime |
> VolumeName |
> +-------+-------+----------+-----------------+---------------------+---------------------------+
> | 835 | F | 115,208 | 113,250,547,693 | 2010-05-08 19:00:16 |
> EXCHANGE_FULL_volume-0314 |
> | 835 | F | 115,208 | 113,250,547,693 | 2010-05-08 19:00:16 |
> EXCHANGE_FULL_volume-0315 |
> +-------+-------+----------+-----------------+---------------------+---------------------------+
> You have selected the following JobId: 835
>
> Building directory tree for JobId(s) 835 ...
>
> For one or more of the JobIds selected, no files were found,
> so file selection is not possible.
> Most likely your retention policy pruned the files.
>
> Do you want to restore all the files? (yes|no):
>
>
> mysql> SELECT
> Slot,MaxVolBytes,VolCapacityBytes,VolStatus,Recycle,VolRetention,
> -> VolUseDuration,MaxVolJobs,MaxVolFiles
> -> FROM Media
> -> WHERE VolumeName='EXCHANGE_FULL_volume-0314';
> +------+--------------+------------------+-----------+---------+--------------+----------------+------------+-------------+
> | Slot | MaxVolBytes | VolCapacityBytes | VolStatus | Recycle |
> VolRetention | VolUseDuration | MaxVolJobs | MaxVolFiles |
> +------+--------------+------------------+-----------+---------+--------------+----------------+------------+-------------+
> | 0 | 100000000000 | 0 | Full | 1 |
> 5184000 | 0 | 1 | 0 |
> +------+--------------+------------------+-----------+---------+--------------+----------------+------------+-------------+
> 1 row in set (0.00 sec)
>
> mysql> SELECT Path.Path,Filename.Name FROM File,Filename,Path WHERE
> File.JobId=835
> -> AND Filename.FilenameId=File.FilenameId
> -> AND Path.PathId=File.PathId ORDER BY
> -> Path.Path,Filename.Name;
> Empty set (0.00 sec)
>
>
> +---------+---------------------------+-----------+---------+----------------+----------+--------------+---------+------+-----------+-----------+---------------------+
> | MediaId | VolumeName | VolStatus | Enabled |
> VolBytes | VolFiles | VolRetention | Recycle | Slot | InChanger |
> MediaType | LastWritten |
> +---------+---------------------------+-----------+---------+----------------+----------+--------------+---------+------+-----------+-----------+---------------------+
> | 314 | EXCHANGE_FULL_volume-0314 | Full | 1 |
> 99,999,983,461 | 23 | 5,184,000 | 1 | 0 | 0 |
> File | 2010-05-08 20:37:50 |
> | 315 | EXCHANGE_FULL_volume-0315 | Used | 1 |
> 13,384,221,174 | 3 | 5,184,000 | 1 | 0 | 0 |
> File | 2010-05-08 20:49:15 |
>
>
> For FULL backup was used both EXCHANGE_FULL_volume-0314 and
> EXCHANGE_FULL_volume-0315 volumes but purged.
> Any any why files were purged out of this media?
>
> Thanks, Ondrey.
>
>
> John Drescher napsal(a):
>
>>> this is very strange issue which doesn't appear in previous Bacula
>>> version. This came with Bacula 5.0.2. Does anybody observe this
>>> "automatic purging" of FULL volumes in Bacula 5.0.2?
>>>
>>>
>>>
>> Post your configuration files. Also the output of list media for the
>> pool that has the volume in question. Also tell us what volume was
>> purged.
>>
>> John
>> .
>>
>>
>>
>
> ------------------------------------------------------------------------------
> ThinkGeek and WIRED's GeekDad team up for the Ultimate
> GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the
> lucky parental unit. See the prize list and enter to win:
> http://p.sf.net/sfu/thinkgeek-promo
> _______________________________________________
> Bacula-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/bacula-devel
> .
>
>
------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the
lucky parental unit. See the prize list and enter to win:
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
Bacula-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-devel