duplicity-talk
[Top][All Lists]
Advanced

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

Re: [Duplicity-talk] permission error running from cron.hourly


From: edgar . soldin
Subject: Re: [Duplicity-talk] permission error running from cron.hourly
Date: Thu, 16 Nov 2023 16:33:24 +0100
User-agent: Mozilla Thunderbird

hey Brendan,

On 16.11.2023 16:25, Brendan Carroll via Duplicity-talk wrote:
Good morning, I am running Ubuntu Server 22.04. I am attempting to run
duplicity hourly from cron.hourly. I get the following error in the
duplicity log:

WARNING 1
. Attempt of put Nr. 1 failed. PermissionError: Permission denied

The text of the script in cron.hourly is:
/usr/bin/duplicity --full-if-older-than 1M --log-file
/home/brendan/backup.log  --name media-backup /storage file:///backup

The permissions on the source and destination are:
drwxrwxr-x   6 root family 4.0K Nov 10 16:55 storage
drwxrwxr-x   3 root root   564K Nov 16 10:20 backup

 From research, cron.hourly runs under root permissions, so I think my
source/destination permissions should be good. The destination drive is
the same size as the source drive, so space is not an issue.

Any thoughts would be appreciated!

1. does running
 /usr/bin/duplicity --full-if-older-than 1M --log-file /home/brendan/backup.log 
 --name media-backup /storage file:///backup
in a root shell work flawlessly?

2. add '-v9' for maximum verbosity. maybe it tells you which file access 
results in the permission error.

..ede/duply.net



reply via email to

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