borgbase / vorta

Desktop Backup Client for Borg Backup
https://vorta.borgbase.com
GNU General Public License v3.0
1.93k stars 128 forks source link

FR: Run as root #1482

Open lamyergeier opened 1 year ago

lamyergeier commented 1 year ago

The problem

As per borg's documentation: [Quick Start — Borg - Deduplicating Archiver 1.2.2 documentation](https://borgbackup.readthedocs.io/en/stable/quickstart.html)

If you want to backup files of other users or the operating system, running borg as root likely will be required (otherwise you’ld get Permission denied errors). If you only back up your own files, you neither need nor want to run borg as root, just run it as your normal user.

Requested Solution

How to run Vorta as root? I am not sure as it is a GUI.

[bit-team/backintime: Back In Time - A simple backup tool for Linux](https://github.com/bit-team/backintime), another popular backup tool with a GUI, solves this problem by providing 2 desktop files, one that can be run as a root, and the other which runs without root.

Alternatives

Additional context

real-yfprojects commented 1 year ago

This is in planning for a long time. However we haven't decided on a way of implementing it. Feel free to join the discussion in #801.