Error when trying to write to local backup drive

Hi folks,

I’m getting permissions error that wasn’t there before and not sure how to resolve. I’ve looked through the forum and online and cannot find the solution, if you have a moment to point me in the right direction to help fix, would be most appreciated:

Back up /mnt/user/Ciarans Files@localhost to storage BackupDrive, status: Failed, log file: backup-20240523-123626.log


Running backup command from /cache/localhost/0 to back up /mnt/user/Ciarans Files

Options: [-log backup -storage BackupDrive -threads 1 -stats]

2024-05-23 12:36:26.766 INFO REPOSITORY_SET Repository set to /mnt/user/Ciarans Files

2024-05-23 12:36:26.767 INFO STORAGE_SET Storage set to /mnt/disks/5QH2UBVF

2024-05-23 12:36:26.767 ERROR STORAGE_CREATE Failed to load the file storage at /mnt/disks/5QH2UBVF: mkdir /mnt/disks: permission denied Failed to load the file storage at /mnt/disks/5QH2UBVF: mkdir /mnt/disks: permission denied

Back up /mnt/user/Lindsays Files@localhost to storage BackupDrive, status: Failed, log file: backup-20240523-123625.log


Running backup command from /cache/localhost/1 to back up /mnt/user/Lindsays Files

Options: [-log backup -storage BackupDrive -threads 1 -stats]

2024-05-23 12:36:25.768 INFO REPOSITORY_SET Repository set to /mnt/user/Lindsays Files

2024-05-23 12:36:25.768 INFO STORAGE_SET Storage set to /mnt/disks/5QH2UBVF

2024-05-23 12:36:25.768 ERROR STORAGE_CREATE Failed to load the file storage at /mnt/disks/5QH2UBVF: mkdir /mnt/disks: permission denied Failed to load the file storage at /mnt/disks/5QH2UBVF: mkdir /mnt/disks: permission denied

Back up /mnt/user/appdata@localhost to storage BackupDrive, status: Failed, log file: backup-20240523-123624.log


Running backup command from /cache/localhost/4 to back up /mnt/user/appdata

Options: [-log backup -storage BackupDrive -threads 1 -stats]

2024-05-23 12:36:24.762 INFO REPOSITORY_SET Repository set to /mnt/user/appdata

2024-05-23 12:36:24.762 INFO STORAGE_SET Storage set to /mnt/disks/5QH2UBVF

2024-05-23 12:36:24.762 ERROR STORAGE_CREATE Failed to load the file storage at /mnt/disks/5QH2UBVF: mkdir /mnt/disks: permission denied Failed to load the file storage at /mnt/disks/5QH2UBVF: mkdir /mnt/disks: permission denied

Back up /mnt/user/pictures@localhost to storage BackupDrive, status: Failed, log file: backup-20240523-123627.log


Running backup command from /cache/localhost/6 to back up /mnt/user/pictures

Options: [-log backup -storage BackupDrive -threads 1 -stats]

2024-05-23 12:36:27.768 INFO REPOSITORY_SET Repository set to /mnt/user/pictures

2024-05-23 12:36:27.768 INFO STORAGE_SET Storage set to /mnt/disks/5QH2UBVF

2024-05-23 12:36:27.769 ERROR STORAGE_CREATE Failed to load the file storage at /mnt/disks/5QH2UBVF: mkdir /mnt/disks: permission denied Failed to load the file storage at /mnt/disks/5QH2UBVF: mkdir /mnt/disks: permission denied

Back up /Users/Games@localhost to storage BackupDrive, status: Failed, log file: backup-20240523-123623.log


Running backup command from /cache/localhost/8 to back up /Users/Games

Options: [-log backup -storage BackupDrive -threads 1 -stats]

2024-05-23 12:36:23.754 INFO REPOSITORY_SET Repository set to /Users/Games

2024-05-23 12:36:23.755 INFO STORAGE_SET Storage set to /mnt/disks/5QH2UBVF

2024-05-23 12:36:23.755 ERROR STORAGE_CREATE Failed to load the file storage at /mnt/disks/5QH2UBVF: mkdir /mnt/disks: permission denied Failed to load the file storage at /mnt/disks/5QH2UBVF: mkdir /mnt/disks: permission denied

Back up /Users/music audio@localhost to storage BackupDrive, status: Failed, log file: backup-20240523-123622.log


Running backup command from /cache/localhost/10 to back up /Users/music audio

Options: [-log backup -storage BackupDrive -threads 1 -stats]

2024-05-23 12:36:22.763 INFO REPOSITORY_SET Repository set to /Users/music audio

2024-05-23 12:36:22.763 INFO STORAGE_SET Storage set to /mnt/disks/5QH2UBVF

2024-05-23 12:36:22.764 ERROR STORAGE_CREATE Failed to load the file storage at /mnt/disks/5QH2UBVF: mkdir /mnt/disks: permission denied Failed to load the file storage at /mnt/disks/5QH2UBVF: mkdir /mnt/disks: permission denied

Obviously, check permissions: does the user that is running duplicacy has write access, and check mount: does it mounted read/write?

I’m new at Linux, but have spent today learning about permissions and users etc. and I believe I have it all set correctly.

I have the PID and the GID as 0:100 for root

and then my permissions list is here:

image

all seems to be correct, but like i said I dont know 100%

What is your backup target?

It seems you are trying to backup to /mnt/disks that duplicacy does not have write permission to

Are you running webgui directly or in the container? Does the container or the user duplicacy runs as have write access to the mounted target volume?

trying to backup to a local hard drive.

Its odd because I have included it as a path in the setup:

I’m using the web gui to try and trigger the backups. I am running the container as root and I have the drive set to share:

What am I missing?

Your path to storage in the container is /import/disks/XXXX but your Duplicacy storage is configured to backup to /mnt/disks/XXXX

Change container path to /mnt/disks/XXXX