opensubscriber
   Find in this group all groups
 
Unknown more information…

r : rsync@lists.samba.org 23 October 2011 • 11:43AM -0400

Re: With rsync --link-dest, how can you tell how much space is actually used?
by Kevin Korb

REPLY TO AUTHOR
 
REPLY TO GROUP




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

du -shc backup1 backup2 ...............

du -s will not count the same file twice even if it appears 50 times.

On 10/22/11 23:32, Eric Shubert wrote:
> On 10/22/2011 12:32 PM, Kevin Korb wrote:
>> 2.  I wanted to know what files were unique to a backup and therefore
>> consuming disk space and why they were different.
>
> Which begs another question that I've struggled a bit with lately.
>
> I've considered making a series of snapshots by using --link-dest, and
> moving(/copying) the backup directory prior to (in between) each run.
> Once that's done, and there are several snapshots and thus files with
> link counts of up to the number of snapshots, how can I tell how much
> space is being used by all of the snapshots (and current backup) put
> together, counting each file only once. du doesn't appear to cut it. ;)
>
> I think I have a solution, but am curious to know what others may think
> of the problem.
>

- --
~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~
Kevin Korb Phone:    (407) 252-6853
Systems Administrator Internet:
FutureQuest, Inc. Kevin@Futu...  (work)
Orlando, Florida kmk@sani... (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/

iEYEARECAAYFAk6jjU0ACgkQVKC1jlbQAQf23QCcCgPkRirDP+6/9+UEGmDlT/vm
F3YAoMiAFM8pyZVtkPO6Zz0WXMODtZ9d
=lKhT
-----END PGP SIGNATURE-----
--
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Bookmark with:

Delicious   Digg   reddit   Facebook   StumbleUpon

Related Messages

opensubscriber is not affiliated with the authors of this message nor responsible for its content.