You can look in the XferLOG file to see whether a file is transferred or
not, and whether it matches the pool.
You can also use BackupPC_ls to list the contents of an existing client
backup. It prints the digest of each file. If you run it on two different
backups, and /bin/ls has the same digest then you can be sure those backups
point to the same pool file.
Mixing uncompressed and compressed backups is a bad idea (ie: changing the
compress level between non-zero and zero. BackupPC stores the compressed
and uncompressed pool files separately, so you'll end up with two copies of
many or every file. It's ok to change the compression level (eg, from 3 to
1). That will just mean new pool files will use the new compression.
Overall, file compression adds very little overhead, since when a pool file
matches, it does't have to be compressed.
No, there isn't a way to convert compressed or uncompressed backups or
pools to/from the opposite.
Craig
On Mon, Sep 18, 2017 at 2:03 AM, Gandalf Corvotempesta <
[email protected]> wrote:
> Hi to all.
> I'm testing BPC4 by backing up a couple of hosts.
> These hosts are mostly identical, thus I would expect that most of the
> files
> are shared between the pool.
>
> How can I check this ? In example, /bin/ls should be the same on all hosts,
> how can I check if /bin/ls is seen from the pool or if BPC is
> transferring it again?
>
> Second question: by disabling compression (i'm using ZFS with native
> compression),
> and I don't want to resync everything again by disabling the
> compression, what if I set
> it to "1" ? It should be very very fast and less CPU-intesive than 3
> (default), right ?
>
> Any way to remove compression automatically from the whole pool
> without resync everything?
> Our first sync requires 1 or 2 days (on certain servers) to be
> completed, I don't want to start
> backups from scratch.
>
> May be something like this proof-of-concept ?
>
> find /var/backups/backuppc/cpool -type f - exec gunzip {} \;
>
> ------------------------------------------------------------
> ------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> BackupPC-users mailing list
> [email protected]
> List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
> Wiki: http://backuppc.wiki.sourceforge.net
> Project: http://backuppc.sourceforge.net/
>
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
BackupPC-users mailing list
[email protected]
List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki: http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/