[Borgbackup] Crontab

Ralf Fechner info at rfechner.de
Thu Jun 1 06:42:53 EDT 2023



--
Mit freundlichen Grüßen
Ralf Fechner




> Am 01.06.2023 um 10:27 schrieb Boris Kirkorowicz <bkborg at kirk.de>:
> 
> Hi,
> make sure that you always give full paths, even if you don't need when invoked in a terminal session. This refers to crontab entries as well as scripts.
> 



Unfortunately, the specification of the full path does not lead to the desired result, it remains the same, if I start the script manually, Borg works normally, if the script is started from the Crontab, the job is not executed.





> 
> Am 31.05.23 um 17:12 schrieb Ralf Fechner via Borgbackup:
>> Sorry in advance for the deepl-English.
>> I have set up Borg on MacOS X and it runs as it should.
>> Now I have created a new SSH key to access the server. I no longer have this Key in the .ssh directory, but I load this key into the ssh agend using KeepassXC.
>> Unfortunately the script is no longer executed correctly via the configured crontab, here it always says, Remote: Permission denied, please try again.
>> But if I execute this crontab manually in the terminal, it works fine. Why does it not work when the crontab is executed automatically?
>> --
>> Mit freundlichen Grüßen
>> Ralf Fechner
>> Ende-zu-Ende-Verschlüsselung:
>> PGP-Fingerprint: 48E9 23AE E27A BAB7 A68D  76F9 3483 D501 0AB9 9E0E
>> _______________________________________________
>> Borgbackup mailing list
>> Borgbackup at python.org
>> https://mail.python.org/mailman/listinfo/borgbackup
> 
> --
> Mit freundlichem Gruß                                 Best regards
>                                 Kirkorowicz
> _______________________________________________
> Borgbackup mailing list
> Borgbackup at python.org
> https://mail.python.org/mailman/listinfo/borgbackup

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: Message signed with OpenPGP
URL: <https://mail.python.org/pipermail/borgbackup/attachments/20230601/55cd9b0e/attachment.sig>


More information about the Borgbackup mailing list