Correct (path) to backups

Hello,

I set the path on my USB stick: restic init --repo /run/media/ellie/0e33c4d5-202a-4aea-8e3c-37ef41f6e409/abc/

but I get an error when using the command exclude

[ellie@manjaro ~]$ sudo -u resticellie /home/resticellie/bin/restic --exclude={/dev,/media,/mnt,/proc,/run,/sys,/tmp,/var/tmp} -r /run/media/ellie/0e33c4d5-202a-4aea-8e3c-37ef41f6e409/abc/
[sudo] heslo pro ellie:
unknown flag: --exclude
[ellie@manjaro ~]$

https://restic.readthedocs.io/en/stable/080_examples.html#backing-up-your-system-without-running-restic-as-root

You seem to be missing the backup subcommand

2 Likes