[Borgbackup] Does BORG take --file-cache into account when --read-special is used?

Thorsten Schöning tschoening at am-soft.de
Mon May 2 04:44:01 EDT 2022


Hi everyone,

I've implemented a backup setup in which database dumps are executed
remotely using SSH, data is forwarded using STDOUT and redirected by
SSH into some created named pipe. Those pipes are read using
"--read-special" and looking at the contents of the restored archives,
things seem to work as expected.

Just to be sure, those pipes always get re-created by deleting them
after a backup and creating them before. Though, from my understanding
in theory I could keep created ones and re-attach readers and writers
as necessary. OTOH, those e.g. don't have a size, which is checked by
default as part of the file-cache.

So, how does BORG handle file-cache and special files like pipes? I
would expect those to be ignored entirely? What's with other block
devices, which might have e.g. a size always? Like in the following
example:

> $ borg create --read-special --chunker-params fixed,4194304 /path/to/repo::my-sdx /dev/sdX

I guess you simply don't care and handle all of those non-file things
the same, as it's easier and one can't know if a size is available at
all in theory?

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:   05151-  9468- 0
Tel:   05151-  9468-55
Fax:   05151-  9468-88
Mobil:  0178-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 (0)515 94 68 - 0
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