[Borgbackup] not running borg as root
Thomas Waldmann
tw at waldmann-edv.de
Sat Feb 6 09:10:34 EST 2021
> After a disk disaster in which I had backed up my home directory, but
> not /etc, I decided I should add /etc to my backup.
Yup.
Alternatively, make 2 backups:
- hostname-system-timestamp with all except home (also exclude /proc /sys)
- hostname-home-timestamp with just your home(s)
When pruning that, you MUST use --prefix accordingly (use --dry-run
until you are sure).
> Problem is I run
> backups as my normal user and many things in /etc are not readable by
> that user.
You can run the borg client as root and still connect to the borg server
as non-root, just use ssh://borg@borgserver or so.
> I suppose to read the files on the client side borg would need to run
> as root, but the server side does not need root.
Exactly.
--
GPG ID: 9F88FB52FAF7B393
GPG FP: 6D5B EF9A DD20 7580 5747 B70F 9F88 FB52 FAF7 B393
More information about the Borgbackup
mailing list