[Borgbackup] Repo sync efficiency

Dmitry Astapov dastapov at gmail.com
Wed Nov 1 11:42:48 EDT 2017


I just re-read the docs. Sorry for all the silly questions: nice
description of append-only was not in the docs back when I switched my repo
to append-only mode (~1.5 years ago), and it did not occur to me to
re-check the docs.

Is there any way to disable just the compaction of the segments? I am
keeping offsite copy of my repo in Amazon S3 and I want to minimize number
of (old) files changed as they are being pushed to Glacier storage policy
after a while and I incur higher costs for updating them. At the same time
it would be nice to be able to purge old archives and have them removed.
So, basically, I am looking for "append-or-delete-but-never-rewrite" mode.

On Wed, Nov 1, 2017 at 2:46 PM, Thomas Waldmann <tw at waldmann-edv.de> wrote:

> On 10/31/2017 02:12 PM, Dmitry Astapov wrote:
> > So if I have append-only repo and created archive archive-A with
> > ./file/A in it that occupied more than one segment (lets say those were
> > segments 100 and 101), and then created more archives where that file in
> > absent, and then 'borg prune'd repo::A, the following will happen:
> >
> > - Segment 100 (which contained data from ./file/A and nothing else) will
> > be no longer needed and will be physically removed from disk
> > - Segment 101 (which contained data from ./file/A + some other files as
> > well) will be kept around and will not be compacted/rewritten to get rid
> > of the chunk that corresponds to ./file/A
> >
> > Or am I wrong for segment 100 will be kept around even after archive-A
> > is pruned?
>
> I append-only mode, it does not compact or delete any old segment files.
>
>
> --
>
> GPG ID: 9F88FB52FAF7B393
> GPG FP: 6D5B EF9A DD20 7580 5747 B70F 9F88 FB52 FAF7 B393
>
> _______________________________________________
> Borgbackup mailing list
> Borgbackup at python.org
> https://mail.python.org/mailman/listinfo/borgbackup
>



-- 
D. Astapov
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/borgbackup/attachments/20171101/79dd8377/attachment.html>


More information about the Borgbackup mailing list