cannot get systemd [email protected] working #855
Replies: 3 comments
-
Would you mind posting the contents of your systemd service and any errors you're seeing? I don't run arch personally, but I'm particularly curious about why the AUR package might be failing. This is a community maintained package, not something I maintain personally, but I'd like to look into making it official over time / be sure it stays working. |
Beta Was this translation helpful? Give feedback.
-
Hi Gareth, Just today a further Update from the Backrest-AUR came in. But the systemd service cannot start after this update. And yes, within my limits I will support your project by answering your question: When I tried to start systemd service for backrest by The systemd Unit-file [email protected] contains: [Service] [Install] The systemd unit-file from AUR, which is installed on my machine is:
Then I discovered, that the symlink to OK it seems, that the symlink is wrong here and systemd can run this service without such a symlink. I removed the symlink and tried again and I got again: As I mentioned in my first post, I thought, that the code in this unit may be incorrect. It differs from the code, you show in the installation script on github. So I copied this code of the unit into the file on my machine and tried again. But the result keeps the same. |
Beta Was this translation helpful? Give feedback.
-
BTW: it makes no difference, if I try to start the service by ; The answer keeps: |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I am on Manjaro-Linux (Arch) and it sits on a btrfs volume. I installed Backrest and let it fetch Restic als dependency. Then I tried several backups manually and everything was nice. But then I wanted to schedule backups and I discovered that I cannot get systemd backrest.service to work. After installation from AUR, I found the systemd Unit which had an unususal file name: [email protected] – Maybe that it is in connection, that I am running btrfs filesystem?
Then I found, that there was no Symlink, pointing to the systemd Unit. I created one manually and started the service manually in the terminal. This brought up an error message of systemd: It refuses to accept the Unit backrest.service.
OK, I looked at the install script on Github, which creates the Unit backrest.service. There are some differencies between the Unit, I got by installing from AUR and the Unit, the Github installer would create.
So I created a new Unit by copying the code from the Github installer and then tried again. But also in this case systemd refused to accept the Unit.
Yesterday there was an update of Backrest in the AUR. This time it created the necessary backrest@service file as a symlink to the systemd unit. But still it did not work.
What can I do, to get backrest.service / systemd to work properly?
Beta Was this translation helpful? Give feedback.
All reactions