[Borgbackup] file changed while we backed it up

AM-Soft – Thorsten Schöning TSchoening at am-soft.de
Mon May 29 06:42:42 EDT 2023


Borgbackup <borgbackup-bounces+tschoening=am-soft.de at python.org> im Auftrag von Boris Kirkorowicz <bkborg at kirk.de> wrote at Gesendet: Sonntag, 28. Mai 2023 11:03:

> /home/boris/Dokumente/Sicherungen/T560B/T560B-orig-4.img.gz: file changed while we backed it up

> I am pretty sure that these files didn't change since 2016[...]

There was an issue created recently describing the context of that message, it's not
only about really changing blocks within that file, but might be about changed
permissions or stuff as well. It might be the result of some concurrent process doing
things to the files the same time Borg tries to back them up. Especially because you
have written about multiple problems in the last weeks which read like concurrency
issues somewhere, I would start looking at those topics first if I was you.

https://github.com/borgbackup/borg/issues/7558#issuecomment-1546652883

> [...]how to avoid it?

You need to create some sort of read-only snapshot of the filesystem, mount that and
backup the files from that. There is no other realiable way to prevent (accidently)
changing files during backups. With tools like BorgMatic and its hooks this is somewhat
easy to achive:

https://torsion.org/borgmatic/docs/how-to/add-preparation-and-cleanup-steps-to-backups/

--

Für Rückfragen stehe ich Ihnen jederzeit zur Verfügung.

Mit freundlichen Grüßen,

Thorsten Schöning


Telefon: +49 5151 9468-55
Fax: +49 5151 9468-88
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


More information about the Borgbackup mailing list