[Borgbackup] PULL+SSHFS: Avoid CHROOT with --numeric-owner?
Thorsten Schöning
tschoening at am-soft.de
Tue Jul 6 15:35:58 EDT 2021
Hi all,
one example in the docs uses SSHFS to make the client to be backed up
available to some server and CHROOT because of UID/GID mapping. I'm
aware already of INODE-related problems, but though would like to
understand that setup.
https://borgbackup.readthedocs.io/en/stable/deployment/pull-backup.html?highlight=pull#creating-a-backup
The point is that the whole paragraph reads like its absolutely
necessary to do the CHROOT-stuff, while I'm not sure if I really need
names of users and groups at all. RSYNC only stored IDs in the past as
well and looking at your data structures, you seem to be able to store
IDs. Though, it's not clear to me if IDs only can be stored as well or
names are always needed. The docs don't say those fields are optional
or alike:
> user
> group
> uid
> gid
https://borgbackup.readthedocs.io/en/stable/internals/data-structures.html#items
OTOH, I've found the argument "--numeric-owner" to "borg create",
which exactly seems to imply that user and group names are optional.
> --numeric-owner only store numeric user and group identifiers
https://borgbackup.readthedocs.io/en/stable/usage/create.html
So, is the CHROOT-stuff really only needed for that mapping or is it
serving an additional purpose I simply didn't understand yet? In the
first case, can CHROOT be skipped entirely by simply creating backups
using "borg create --numeric-owner [...]"? Things sound easier to
setup when not needing to care about CHROOT.
Thanks!
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 sehr gerne zur Verfügung.
Mit freundlichen Grüßen
Thorsten Schöning
Tel: 05151 9468 0
Fax: 05151 9468 88
Mobil:
Webseite: https://www.am-soft.de
AM-Soft IT-Service - Bitstore Hameln GmbH i.G. ist ein Mitglied der Bitstore Gruppe - Ihr Full-Service-Dienstleister für IT und TK
AM-Soft IT-Service - Bitstore Hameln GmbH i.G.
Brandenburger Str. 7c
31789 Hameln
Tel: 05151 9468 0
Bitstore IT-Consulting GmbH
Zentrale - Berlin Lichtenberg
Frankfurter Allee 285
10317 Berlin
Tel: 030 453 087 80
CBS IT-Service - Bitstore Kaulsdorf UG
Tel: 030 453 087 880 1
Büro Dallgow-Döberitz
Tel: 03322 507 020
Büro Kloster Lehnin
Tel: 033207 566 530
PCE IT-Service - Bitstore Darmstadt UG
Darmstadt
Tel: 06151 392 973 0
Büro Neuruppin
Tel: 033932 606 090
ACI EDV Systemhaus - Bitstore Dresden GmbH
Dresden
Tel: 0351 254 410
Das Systemhaus - Bitstore Magdeburg GmbH
Magdeburg
Tel: 0391 636 651 0
Allerdata.IT - Bitstore Wittenberg GmbH
Wittenberg
Tel: 03491 876 735 7
Büro Liebenwalde
Tel: 033054 810 00
HSA - das Büro - Bitstore Altenburg UG
Altenburg
Tel: 0344 784 390 97
Bitstore IT – Consulting GmbH
NL Piesteritz
Piesteritz
Tel: 03491 644 868 6
Solltec IT-Services - Bitstore Braunschweig UG
Braunschweig
Tel: 0531 206 068 0
MF Computer Service - Bitstore Gütersloh GmbH
Gütersloh
Tel: 05245 920 809 3
Firmensitz: AM-Soft IT-Service - Bitstore Hameln GmbH i.G. , Brandenburger Str. 7c , 31789 Hameln
Geschäftsführer Janine Galonska
More information about the Borgbackup
mailing list