[Borgbackup] lzma, 3-2-1 rule

Thorsten Schöning tschoening at am-soft.de
Sun Apr 2 13:19:39 EDT 2023


Guten Tag Boris Kirkorowicz,
am Freitag, 31. März 2023 um 11:36 schrieben Sie:

> This is new to me, maybe I overlooked something when choosing "-C
> lzma,9".

You most likely missed the following warning:

> Giving levels above 6 is pointless and counterproductive because it
> does not compress better due to the buffer size used by borg - but
> it wastes lots of CPU cycles and RAM.

https://manpages.debian.org/testing/borgbackup/borg-compression.1.en.html

> So should I stop backing up using lzma and start again with an other
> compression method, or is it safe to continue?

I don't think that reading LZMA will be removed too soon, using it for
new data might be. OTOH, different compression methods can be mixed
freely, so you don't need to care too much:

> It is no problem to mix different compression methods in one
> repo[...]

https://manpages.debian.org/testing/borgbackup/borg-compression.1.en.html

There was a thread recently about compression performance, regarding
that you should definitely stop using LZMA for performance reasons.

https://mail.python.org/pipermail/borgbackup/2023q1/002165.html

> Second question: the article says that it is no good idea to
> fulfill the 3-2-1 rule by copying the borg repositories, since
> errors might be copied. This sounds plausible, but on the other hand
> it would multiply the time of backup. In my case it could take more
> than one year, so I wonder how to do this. Any advice how to handle this?

Don't waste backup time with LZMA anymore and run multiple individual
backups to different repos one after another. Besides that and
depending on the performance of your source system, you might run
multiple BORG processes concurrently as long as they use different
target repos. If I remember correctly you discussed that for your
initial backup yourself already.

Mit freundlichen Grüßen

Thorsten Schöning

-- 
AM-SoFT IT-Service - Bitstore Hameln GmbH
Mitglied der Bitstore Gruppe - Ihr Full-Service-Dienstleister für IT und TK

E-Mail: Thorsten.Schoening at AM-SoFT.de
Web:    http://www.AM-SoFT.de/

Tel:   +49 5151-  9468- 0
Tel:   +49 5151-  9468-55
Mobil: +49  178-8 9468-04

AM-SoFT IT-Service - Bitstore Hameln GmbH, Brandenburger Str. 7c, 31789 Hameln
AG Hannover HRB 221853 - Geschäftsführer: Janine Galonska
Für Rückfragen stehe ich Ihnen jederzeit zur Verfügung. 

Mit freundlichen Grüßen, 

Thorsten Schöning


Telefon: +49 5151 9468-55
Fax: 
E-Mail: TSchoening at am-soft.de

AM-Soft IT-Service - Bitstore Hameln GmbH
Brandenburger Straße 7c
31789 Hameln

Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte Informationen und ist ausschliesslich für den Adressaten bestimmt. Jeglicher Zugriff auf diese E-Mail durch andere Personen als den Adressaten ist untersagt. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und vernichten Sie diese E-Mail. Sollten Sie nicht der für diese E-Mail bestimmte Adressat sein, ist Ihnen jede Veröffentlichung, Vervielfältigung oder Weitergabe wie auch das Ergreifen oder Unterlassen von Massnahmen im Vertrauen auf erlangte Information untersagt. 

This e-mail may contain confidential and/or privileged information and is intended solely for the addressee. Access to this email by anyone else is unauthorized. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. 

Hinweise zum Datenschutz: bitstore.group/datenschutz
-------------- next part --------------
A non-text attachment was scrubbed...
Name: BORBACKUP_COMPRESSION_TESTS.explic
Type: application/octet-stream
Size: 7051 bytes
Desc: not available
URL: <https://mail.python.org/pipermail/borgbackup/attachments/20230402/74b255e0/attachment.obj>


More information about the Borgbackup mailing list