OS Name/Version: Ubuntu 22.04.5
Product Name/Version: AMP Release “Phobos” v2.6.1.6
Problem Description:
Can’t see Backups on Host
I had issues with taking backups, as in the whole backup menu being missing. After doing some research, I figured it might have been an issue with the Deployment Settings and overall directory/mount binding for my setup.
I currently have set the default settings to:
CustomMountBinds = {"/home/amp/backups":"/LocalBackups"}
LocalFileBackupPlugin.Storage.StorePath = /home/amp/backups/{{InstanceName}}/
Doing this now shows me the Backups Menu in new instances, I can schedule and create backups manually. However I can’t see the backup files in my host system, since I am using Docker for all of my instances. I can see the Backups in the Web GUI and can download them but I’d prefer having them on my physical storage as well so I can copy them onto my fileserver (cronjob).
Leaving that aside for now, I’d like to resolve the issue that the Backup files are being shown physically as well. I also checked for the permissions, the amp user has everything it needs:
drwxr-xr-x 2 amp amp 4096 Apr 20 08:13 backups
It is worth to note that the Backups aren’t being written to the “default” Backups folder, that is being created with the instance, as well as that I use a seperate mounting directory on my nvme to store my instances.
Path: /mnt/nvme/amp_data/
Here’s also an output of the current LocalFileBackupPlugin.kvp
for a test-instance that I created:
root@gameserver:/mnt/nvme/amp_data/test01# cat LocalFileBackupPlugin.kvp
Limits.MaxTotalSizeMB=20280
Limits.MaxIndividualSizeMB=10140
Limits.MaxBackupCount=28
Limits.ReplacePolicy=DoNothing
Limits.MaxDirectoryTraversalDepth=8
Limits.CompressionLevel=Optimal
Limits.UseAutomaticExclusions=False
Limits.ShutdownTimeout=60
Storage.StorePath=/home/amp/backups/{{InstanceName}}/
Storage.OverrideOriginDirectory=False
Storage.OriginDirectory=
Storage.UseVDS=True
Steps to reproduce:
- Log in to AMP
- Manage an instance and see no Backups menu
- In an instance, add a trigger then add a task and see there is no Take a backup option.
- Adjust default settings with values as shown above
- Adjust permissions of directories if not already created
- Search for backup in the search bar in the top right and nothing is found.
Actions taken to resolve so far:
- Changed default settings
- Tried different directories (failure on nvme)
- Changed permissions of directories
- Confirmed that the amp user has all necessary permissions
- Checked several AMP_Logs with no hints on what the issue behind this could be