Estimating backup usage with dir-merge filter

Kevin Korb kmk at sanitarium.net
Wed Oct 5 11:08:23 MDT 2011


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Why not do the du on the backup where the excluded files aren't there?

On 10/05/11 12:57, Paul Dugas wrote:
> I use --filter='dir-merge .backup-filter" to allow my users to
> designate portions of their home directories that should be excluded
> from my rsync-based backup system.  I'm looking for a way to
> periodically generate a report that shows the amount of backup space
> being used by each user.  I've tinkered with writing my own script
> that processes any filter files into --exclude parameters for "du" but
> recently, I've been wondering if there's an easier way that would use
> rsync itself, the --filter argument, and --dry-run.  Anyone ever run
> into something like this?
> 
> P

- -- 
~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~
	Kevin Korb			Phone:    (407) 252-6853
	Systems Administrator		Internet:
	FutureQuest, Inc.		Kevin at FutureQuest.net  (work)
	Orlando, Florida		kmk at sanitarium.net (personal)
	Web page:			http://www.sanitarium.net/
	PGP public key available on web site.
~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk6MjwcACgkQVKC1jlbQAQdXmwCg4svGXZBq0uUFfbRdkJW7gvWe
LDcAnj1ZbtjppnU2wh84LL+ps7Q5iT78
=7t6m
-----END PGP SIGNATURE-----


More information about the rsync mailing list