Run borgitory as normal user but backup process as root #170
Stefan-Olt
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
I want to use borgitory to make backups of a server system, including user data and configurations. To be able to access all data the backup process of course needs to run as root (as some configuration files are only readable by root). But I don't really want to run the webinterface as root.
I don't think Docker is a good solution, as it would need access to basically everything to be able to make the backups.
Wouldn't it be possible to have a borgitory background-deamon that runs as root, that only starts borg to make the backups?
It would also be nice if the passwords to backups are stored in a way only this root process can access them and when you want to access your backup in borgitory you have to enter the password.
Any other ideas? I think for now I'll write systemd timers that will do the backups instead of the borgitory timer
All reactions