On Nov 23, 2014 9:50 PM, "Max Wendel" <m...@profilercorp.com> wrote:
> If I don't really need WAL files in the weekly backup, am I likely to run into other problems? Are these "foreign" WAL files inside the daily bucket going to be deleted eventually? Do they interfere with the "proper" daily backups?
This is not correct. You need WAL to be able to restore a backup, hence, your backups that use a different prefix than the archive command are incomplete unless you happen to have the retention of WAL somewhere else. As you are deleting "daily" more aggressively than "weekly", that doesn't seem like it's going to happen.
I would like some form of generational backup retention, but am not sure how to write the UI for it, so for now I think you are left writing a bespoke program to do your own pruning.