Hi all,
I’m looking for advice from experienced Restic users.
I’ve been using Restic for a couple of months now, and it’s been working well for backing up my /home/user directory.
Now I have a new folder located at the root level: /DATA (CasaOS). I need to include it in my backups as well, but I can’t change its location. I do have read access to it, though.
Is there a clean way to tell Restic to back up only /home/user and /DATA, and nothing else?
I tried backing up / with a long list of --exclude rules, but I keep running into permission errors like:
readdirnames permission denied
I also found this discussion about using mounts and symlinks, but as pointed, the mount solution requires root privileges for the backup script, which I don’t have.