adlibre/adlibre-backup — pull request #5 by saintaardvark (2014-01-31 23:35:57+00:00)
Title: A simple way to temporarily exclude a host from snapshot pruning.

Hi there -- this is a very simple way to temporarily exclude a host from snapshot pruning, by creating the file ``./hosts//NO_SNAPSHOT_PRUNING_PLEASE``. It ain't elegant, but it works for me.

There are a couple use cases for me:

- A workstation is being reinstalled; in the meantime, I don't want its old backups to fall off the edge.
- I have some simple Samba servers in front of scientific instruments runninng Windows, and I back up the Samba shares with Adlibre to get the data. Occasionally those instruments are turned off, sometimes for extended periods (weeks), and I don't want the old backups to fall off the edge.

I'm not sure if this will fit in with your plans for Adlibre, or if the mechanism is something you like (I like the file 'cos it's nice and obvious, but you may want to put everything in backup.conf), but on the off chance it's useful here you go.

Thanks for your time!