[Borgbackup] init repo question

Thorsten Schöning tschoening at am-soft.de
Thu Jul 28 03:28:11 EDT 2022


Guten Tag Vaughan Wickham,
am Donnerstag, 28. Juli 2022 um 00:11 schrieben Sie:

> When I create the remote repository, do I need to specify anything
> in relation to the keyfile during the borg init, to ensure that the
> existing local repository keys are not overwritten?

Your question implies you are really storing keys using "keyfile"
inside your home directory, correct? If so, have a look at their file
names in "~/.config/borg/keys". The names depend on the path to the
repo, so in the easiest case you only need to make sure to have
different paths per repo.

There's as well the following FAQ:

> Can I back up to multiple, swapped backup targets?

> It is possible to swap your backup disks if each backup medium is
> assigned its own repository by creating a new one with borg init.

https://borgbackup.readthedocs.io/en/stable/faq.html#can-i-back-up-to-multiple-swapped-backup-targets

While "init" is documented to "create" a keyfile, other places of the
doc read to me like an existing one is kept. Otherwise a scenario with
swapped backup targets using the same path wouldn't be possible at
all.

> When initialized with the init -e keyfile command, Borg needs an
> associated file in $HOME/.config/borg/keys to read and write the
> repository.[...]

https://borgbackup.readthedocs.io/en/stable/internals/data-structures.html#key-files

It just says "needs".

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





More information about the Borgbackup mailing list