Hi Matthias,

Le 24/08/2018 à 12:36, Matthias Leopold a écrit :
.) I want to increase job and file retention times for existing entries. I didn't fully understand if
(a) this possible at all
Sure it is.
(b) involves database updates (didn't find a way) or
Job / File retention changes should only be made through configuration files + bconsole reload. Anyway, modifying these two parameters will make the catalog's size increase.

If you change volume retention, you would probably have to update your volumes in pools you modified.

(c) is simply a matter of updating Client or Pool resources.
Job / File retention can be defined in both parts.
Pool's parameters takes precedence over Client's ones.

.) I have the simple situation where a full backup for a job exists and since then only incremental backups where made, there are no further full backups scheduled. What happens when Job/File/Volume retention times (all the same in this case) start to expire ("prune expired volume yes" + "purge volume action=truncate allpools storage=foo" are executed)? Will new incremental backups fail as soon as the initial full backup expires?
Will the next incremental backup be upgraded to full?
Will the existing incremental backups be accessible in any way when there is no full backup any more?

As soon as the full will expire, the next incremental will be upgraded to full. Incremental backups without prior full backup won't be easily accessible then. And you could quickly face troubles :  - you won't be able to restore files which have never been backed up by incremental jobs <=== data loss  - the restore command in bconsole will often block you because it will be unable to build the directory tree. <=== hard to restore

You have several options:
 - ensure you always have enough full backups. If you want to be able to restore a 1 month old backup job, that means, you should keep the full backup more than 2 months (or it will be purged wherease some incremental / diffs still need it). You would have to use different pools to manage different retentions.  - use Progressive Virtual Full backup. It may help you to manage the space you need to do your backups. I don't use this option yet so I won't be able to help you more.

Hope this helps.
Jérôme.

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to