Borg does not work, where did I make a mistake?

Hi, I have a two fresh servers :

  1. Main server with Yunohost for various apps and Borg for backup.
  2. Secondary server only for backup, with Yunohost and Borg Server.

Here is the installation screenshot for the main server:

I get the ssh key in the installation log.

Here is the installation screenshot for the backup server:

Installation finish without error.
I run this command for backup testing:
systemctl start borg

And after 2 minutes, I get this error:

Job for borg.service failed because the control process exited with error code.
See "systemctl status borg.service" and "journalctl -xe" for details.

In “systemctl status borg.service”, I find this:

● borg.service - Run backup borg
     Loaded: loaded (/etc/systemd/system/borg.service; static)
     Active: failed (Result: exit-code) since Sun 2023-12-03 18:59:51 GMT; 33s ago
TriggeredBy: ● borg.timer
    Process: 41761 ExecStart=/usr/bin/sudo /usr/local/bin/backup-with-borg borg (code=exited, status=1/FAILURE)
   Main PID: 41761 (code=exited, status=1/FAILURE)
        CPU: 1min 42.166s

Dec 03 18:59:50 *****.fr sudo[48428]: pam_unix(sudo:session): session opened for user root(uid=0) by (uid=0)
Dec 03 18:59:50 *****.fr sudo[48428]: pam_unix(sudo:session): session closed for user root
Dec 03 18:59:51 *****.fr sudo[48430]:     root : PWD=/ ; USER=root ; COMMAND=/usr/bin/yunohost app setting borg state -v failed
Dec 03 18:59:51 *****.fr sudo[48430]: pam_unix(sudo:session): session opened for user root(uid=0) by (uid=0)
Dec 03 18:59:51 *****.fr sudo[48430]: pam_unix(sudo:session): session closed for user root
Dec 03 18:59:51 *****.fr sudo[41761]: pam_unix(sudo:session): session closed for user root
Dec 03 18:59:51 *****.fr systemd[1]: borg.service: Main process exited, code=exited, status=1/FAILURE
Dec 03 18:59:51 *****.fr systemd[1]: borg.service: Failed with result 'exit-code'.
Dec 03 18:59:51 *****.fr systemd[1]: Failed to start Run backup borg.
Dec 03 18:59:51 *****.fr systemd[1]: borg.service: Consumed 1min 42.166s CPU time.

And in “journalctl -xe”, I find this:


Dec 03 18:59:51 clooud.fr systemd[1]: borg.service: Main process exited, code=exited, status=1/FAILURE
░░ Subject: Unit process exited
░░ Defined-By: systemd
░░ Support: https://www.debian.org/support
░░
░░ An ExecStart= process belonging to unit borg.service has exited.
░░
░░ The process' exit code is 'exited' and its exit status is 1.
Dec 03 18:59:51 clooud.fr systemd[1]: borg.service: Failed with result 'exit-code'.
░░ Subject: Unit failed
░░ Defined-By: systemd
░░ Support: https://www.debian.org/support
░░
░░ The unit borg.service has entered the 'failed' state with result 'exit-code'.
Dec 03 18:59:51 clooud.fr systemd[1]: Failed to start Run backup borg.
░░ Subject: A start job for unit borg.service has failed
░░ Defined-By: systemd
░░ Support: https://www.debian.org/support
░░
░░ A start job for unit borg.service has finished with a failure.
░░
░░ The job identifier is 1795 and the job result is failed.
Dec 03 18:59:51 clooud.fr systemd[1]: borg.service: Consumed 1min 42.166s CPU time.
░░ Subject: Resources consumed by unit runtime
░░ Defined-By: systemd
░░ Support: https://www.debian.org/support
░░
░░ The unit borg.service completed and consumed the indicated resources.

Could you help me?
Thank you in advance!

Hmokay but your title mentionned “not found” … what do you mean “not found”, can’t see any stuff that would be “not found” in the log you are sharing

It’s a mistake, sorry, I changed the title.

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.