[PATCH] Increasing verbosity on prune operation

Gavin Carr gavin at openfusion.com.au
Mon Apr 13 01:08:47 UTC 2009


Committed.

On Wed, Apr 08, 2009 at 02:26:10PM +1000, Gavin Carr wrote:
> I'm maybe just paranoid, but when I turned on pruning on my backups 
> recently I found I wanted more info from --verbose mode to sanity 
> check what was going on.
> 
> The attached patch tweaks the --verbose prune output from:
> 
>   $ brackup-target --dry-run -v server_sftp_home prune
>   3 backups removed from target
> 
> to actually list the backups being pruned e.g.:
> 
>   Pruned:
>     home-1218802043
>     home-1218547242
>     home-1215438281
>   3 backups removed from target
> 
> which is particularly useful in --dry-run mode to compare against
> the list_backups output.
> 
> Any objections to this going in?
> 
> Cheers,
> Gavin
> 


More information about the brackup mailing list