Inventory verification utility

Gavin Carr gavin at openfusion.com.au
Fri Nov 14 05:53:30 UTC 2008


Silence will be taken as acclamation. ;-

-G


On Fri, Nov 07, 2008 at 01:01:28PM +1100, Gavin Carr wrote:
> I've written an inventory verification utility for brackup and 
> want to know if there's interest in including it?
> 
> brackup-verify-inventory validates the inventory database against
> the given target, reporting (and optionally deleting) inventory
> entries that cannot be found on the target.
> 
> This addresses the nasty failure mode (as documented in 
> Brackup::InventoryDatabase) where a chunk missing on the target 
> but in the inventory never gets backed up again. 
> 
> I've been using it in production for a few months now (in --delete
> mode).
> 
> 
> ./brackup-verify-inventory --help
> Usage:
>        brackup-verify-inventory [-q|-v] [--delete] <target_name>
> 
>   Arguments:
>     <target_name>
>         Required. The name of the brackup target whose inventory you wish to
>         verify. This must match a [TARGET:NAME] config section in your
>         ~/.brackup.conf.
> 
>   Options:
>     --delete
>         Optional. Delete orphaned entries found in the inventory.
> 
>     --verbose|-v
>         Optional. Give more verbose output.
> 
>     --quiet|-q
>         Optional. Give no output except for errors.
> 
> 
> 
> Cheers,
> Gavin
> 
> 



More information about the brackup mailing list