Custom Backup Location Issues

Hi together,

I have issues with setting the custom Backup location.
After following the guide from IceOfWraith I always get the access is denied issue.

My Amp Server is just a few days old, so up to date. It runs on a minimal Debian VM OS virtualized on my Unraid server. The Instances themselves are dockered.
The new Backup location is a share hosted on the Unraid Host and mounted with the following
fstab command:

backup        /mnt/user/Backup/AMPServerBackup            9p         trans=virtio,version=9p2000.L,_netdev,rw 0 0

Error Log Entry:

Exception is: UnauthorizedAccessException - Access to the path '/mnt/user/Backup/AMPServerBackup/Testinstanz0501/' is denied.

My instances.json:

"CustomMountBinds": {"/mnt/user/Backup/AMPServerBackup":"/mnt/user/Backup/AMPServerBackup"},

Deployment defaults:

LocalFileBackupPlugin.Storage.StorePath // /mnt/user/Backup/AMPServerBackup/{{InstanceName}}/

The directory is owned by Amp with the sufficient permissions. Also, I’m able to create files and folder manually in the CLI just fine, which proves that permissions are set correctly. I don’t get what’s wrong. Does someone have an Idea?

Thank you

What type of share is it? If it’s SMB it won’t work.

It’s the 9P protocol.
In modern
virtualization environments such as
QEMU/KVM, 9P is often used in combination with the Virtio protocol. This makes it possible to share directories or file systems between the host and virtual machines (VMs). This allows VMs to access host file systems efficiently and with low overhead.

Hello. I am also not having any luck changing the location using the link below from @IceOfWraith. Standard Ubuntu build. I am trying to use a separate drive mounted to /mnt/data_disk. Have the steps been tested since the latest Amp release?

I found a solution.
After changing the fstab to the following:

backup /mnt/user/Backup/AMPServerBackup/ 9p trans=virtio,version=9p2000.L,_netdev,uid=amp,gid=amp,rw 0 0

Everything worked fine. So for all Unraid users, this is the way to go.

Do you have the same issue I had?

Hello,

I am not sure if it is the same issue. Where did you find that error message?
When I tried to customize the backup location and went back into the Amp admin console, all of the backup options were gone. I had to revert the settings to get them to reappear. And, when I did that, the scheduled and historical backups were not showing in the console. I was able to see the backups in the folder via file listing.

Thanks,
Steve