-
Hi, currently I am using a systemd timer for my hourly backups using rustic and used to manually do a copy using restic to a cloud backup about once a day. Though I now want to migrate to The problem I currently have with this is, for systemd I generally use systemd credentials. So the path to the passwordfile is not known in advance. I can use So I am searching for a flag or environment variable that I can use to specify the targets password. From my first experiments it seems as if I can use Also using Also how would I specify a different location for the "profiles"? It seems that by default |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 7 replies
-
Yes, for the target repositories, there are no command line flags nor env variables. For the password, you could use something like About systemd: I think you can set |
Beta Was this translation helpful? Give feedback.
-
I thought a bit about the problem:
The only thing which I'm irritated about is why your |
Beta Was this translation helpful? Give feedback.
-
Ah, ok I found the problem - you were right about a "tokenizing" problem: |
Beta Was this translation helpful? Give feedback.
-
Now that #383 is merged, setting |
Beta Was this translation helpful? Give feedback.
Now that #383 is merged, setting
password-command
to "bash -c 'cat $HOME/.config/rustic/password'" should work.