AMP Backups menu and Take a backup task missing

OS Name/Version: Ubuntu 24.04.2

Product Name/Version: AMP 2.6.1.6

Problem Description:

The Backup menu isn't visible. The Take a backup task for triggers also isn't available.

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.
  • Search for backup in the search bar in the top right and nothing is found.
  • The main Support and Updates page has this: Loaded Plugins FileManagerPlugin, EmailSenderPlugin, WebRequestPlugin, LocalFileBackupPlugin, CommonCorePlugin, AnalyticsPlugin

Actions taken to resolve so far:
Based on an entire day of searching and testing:

  • I’ve confirmed amp has full access to the backup folder.
  • I’ve added an entry for LocalFileBackupPlugin.Storage.StorePath with value /mnt/md1/amp/backups/{{InstanceName}}/ in Deployment Defaults.
  • I’ve edited LocalFileBackupPlugin.kvp to ensure it has the following, which it already did: Storage.StorePath=/mnt/md1/amp/backups/{{InstanceName}}/
  • I’ve edited FileManagerPlugin.kvp to have this line: FileManager.AdditionalVirtualDirectories={“Backups”:“/mnt/md1/amp/backups”}
  • I initially had “backups” but when that didn’t work, I noticed the relevant folder already had a Backups folder to I tried the upper case B but it didn’t make a difference.
  • I’ve looked in various AMP_Logs. At one point I noticed this:
[03:50:58] [Loader Info/1]        : Loaded FileManagerPlugin by CubeCoders Limited
[03:50:58] [Loader Info/1]        : Loaded EmailSenderPlugin by CubeCoders Limited
[03:50:58] [Loader Info/1]        : Loaded WebRequestPlugin by CubeCoders Limited
[03:50:58] [Loader Error/1]       : Container failed to resolve plugin LocalFileBackupPlugin
[03:50:58] [Loader Error/1]       : Resolution failed with error: Exception has been thrown by the target of an invocation.

For more detailed information run Unity in debug mode: new UnityContainer().AddExtension(new Diagnostic())
[03:50:58] [Loader Fatal/1]       : 'LocalFileBackupPlugin' does not implement abstract class 'ModuleShared.AMPPlugin'
[03:50:58] [Core Error/1]         : Could not load plugin LocalFileBackupPlugin
[03:50:58] [Loader Info/1]        : Loaded CommonCorePlugin by CubeCoders Limited
[03:50:58] [Loader Info/1]        : Loaded AnalyticsPlugin by CubeCoders Limited
[03:50:58] [System Error/7]       : Missing plugin/assembly: MaxMind.Db (/AMP/Plugins/MaxMind.Db/MaxMind.Db.dll) for 
[03:50:58] [Core Info/1]          : Licence Present: AMP Professional Edition - Lifetime Licence

but that was quite early in the process before I had taken the above action. Since taking the above steps, I haven’t seen any more errors logged. So I doubt this error is relevant.

  • I’ve restarted the instance and AMP after making these changes but that also had no effect. The Backups menu still isn’t visible.
  • I’ve seen other posts that I’ve either already referenced and tried what they said or they didn’t have any response.

At this point, I’ve run out of things to try that I’m aware of.

@CubeCoders-Bot I’m pretty sure @davidsalias has a permissions issue. If the path given for the backup storage can’t be read/written to by the amp user then the backup plugin won’t init. {{InstanceName}} is a template value that gets replaced with the name of the instance.

Also check if the instance is being run in a container (ask the user for their support info) as the storage path will need mapping. Ping me if you need the steps to do this.

Alright, let’s dig into this. First, the error about the LocalFileBackupPlugin failing to load seems pretty critical—if that plugin doesn’t load, you won’t see the Backup menu or functionality. Yeah, you haven’t seen the error again, but let’s be sure! Here’s what to do next:

  1. Go to the ADS01 instance in AMP.
  2. Right-click it and View Logs.
  3. If you see any recent errors related to LocalFileBackupPlugin, share the text logs here (no screenshots or links, just plain text).

This will help figure out if the plugin is still causing issues or if it’s something else messing up. Over to you.


:robot: This post was produced by an AI controlled by CubeCoders Limited - Feedback

While the permissions wasn’t an issue as I had already checked this, it is running in a container and you did make me think I should check the container mapping again and it looked wrong. So after some tweaks, I managed to get it working. Basically, I went to LocalFileBackupPlugin.kvp and changed the following line to:
Storage.StorePath=/Backups/{{InstanceName}}/
and went to Edit Settings for the instance from the Instances page, then Storage and fixed the Container Path Binding to
Physical Path: /mnt/md1/amp/backups
Virtual Path: /Backups

I then restarted the instance.

I now see the Backups menu and I’ve set a schedule for Take a backup.

Just as a suggestion for improvement, I think it might be helpful if LocalFileBackupPlugin logged a reason why it couldn’t load. For instance, I guess in this case it couldn’t find the incorrect virtual path. At the moment, it didn’t seem to log anything.

Thanks for the help Mike :slight_smile: