duplicity-talk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Duplicity-talk] duplicity and crontab


From: Kenneth Loafman
Subject: Re: [Duplicity-talk] duplicity and crontab
Date: Fri, 6 Nov 2020 09:33:19 -0600

One other thing to check:  Cron jobs run as root by default.  You'll need to check that duplicity has access to ~root/.gnupg and that your keys are there.

...Ken


On Fri, Nov 6, 2020 at 6:19 AM edgar.soldin--- via Duplicity-talk <duplicity-talk@nongnu.org> wrote:
On 11/6/2020 12:45, Giuliano Franchetti via Duplicity-talk wrote:
> Hello to all, 
>
> I have made a shell script to perform a backup with duplicity, the script works well if I run it from xterm. 
> However, when I try to run the script with cron for automatising the backup something does not work 
> with duplicity. I looked in the web but it is not clear what is the way out. 
>
> Has anyone succeeded to do this? 

indeed some did :) i can give you some hints.

there's probably an error in your /var/log/messages or syslog. check that.

did you provide a proper PATH variable in your crontab? most crons have only a limited path set initially.

ordinary cron daemons support MAILTO so any output is send via mail too the given address. you might want to set set for debugging or generally.

..ede/duply.net


_______________________________________________
Duplicity-talk mailing list
Duplicity-talk@nongnu.org
https://lists.nongnu.org/mailman/listinfo/duplicity-talk

reply via email to

[Prev in Thread] Current Thread [Next in Thread]