Database BackupRestore AddOn

Database Backup add-on is compatible with all the standalone and clustered (replica set) MongoDB databases in the Virtuozzo Application Management. It works in tandem with Backup Storage to help users automatically create and store database backups at the remote storage.

Before the add-on installation, you need to create a dedicated storage instance to keep all the backup data.

1. If you don’t have one, it can be created in a few minutes using the dedicated Backup Storage package in the platform Marketplace.

marketplace backup storage

If you already have such storage, you can skip to the fourth step.

2. Within the installation window, you can choose between the Standalone and Cluster storage options. Next, specify the preferred Number of nodes (for Cluster option) and Storage size. Finalize by providing the standard data:

backup storage installation

3. Click the Install button and wait several minutes for the storage to be created. It will be automatically added to the “Backup storage nodesgroup.

backup storage environment
Tip: One storage can be used by as many databases as needed.

4. Once the storage is ready, you can install the backup add-on. Hover over your database and click the Add-Ons icon.

backup restore add-on

Locate the required Database Backup/Restore Add-On and click Install.

5. Provide the following data:

  • Choose scheduling option
    • Pre-defined – select from a list of standard backup intervals (hourly, daily, weekly, monthly)
    • Custom – choose the exact Time, required Days of the week, and Time Zone
      custom backup schedule
    • Manual (crontab) – provide a simple cron-based expression (using the UTC zone) to schedule backups
      crontab backup schedule
  • Backup storage – choose from the list of the backup storages installed on the account
  • Number of backups – set the number of the newest backups to keep for the current database
  • Database User and Database Password – provide user credentials to access the database
backup restore add-on installation

6. In a minute, you’ll see the installation success pop-up.

add-on installed

Your backup add-on is already working. Just wait for the specified time for backups to be created or trigger it manually (see the section below).

After the installation, the add-on gives you the options to:

  • Backup Now – creates an immediate backup
  • Configure – adjusts parameters specified during the creation (schedule, storage node, quantity of backups, user credentials)
  • Restore – restores from backup
  • Uninstall – removes the backup add-on
managing add-on

During the backup process, a snapshot of the database is created using the standard mongodump utility. It is stored on the Backup Storage under the dedicated folder (named based on the backed-up database) and uses a distinct name (execution timestamp). Such a structure helps keep backups organized, especially when working with multiple databases.

During the restore process, the corresponding directory on the storage server is mounted to the master node of the target database. Next, the SQL dump from the required backup snapshot is restored (using the standard mongorestore utility) and applied to the database.

Note: Take into consideration that all the operations are performed on the database layer’s master node only. So, for the non-clustered databases with multiple nodes, the data will be restored on one node only.

Database restoration from the backup overrides all the existing data. Any recent changes that were made since the backup creation will be permanently lost.

In order to restore a database from a backup, you need to select the Restore option for the add-on. A dialogue window with the following options will be opened:

  • Restore from – choose the target environment (multiple options may be available if the backup add-on is used on several environments)
  • Backup – select from a list of backups for the selected environment (names contain timestamps for quick identification)
restore from backup

Click Restore and confirm via pop-up. Once initiated, the action cannot be canceled or reverted. You’ll see the success notification in the dashboard after the process completion.

Share this:
FacebookXWhatsAppTelegramLinkedInGmailCopy Link
Updated on March 10, 2026
Was this article helpful?

Related Articles

Need Support?
Can't find the answer you're looking for?
Contact Support