How to restore data in ISPmanager 5

Data recovery consists of several steps. Input parameters: version includes the data, data identifier from the database and recovery mode. For more details refer to the article Backup archives

Defining parent dependencies

First, you need to define parent dependencies and make sure that they are present in the system. For a web-domain this is a user, for a user - a user template, admins do not have parent dependencies.

If there no parent dependencies, they will be put on the list for recovery. Version of parent dependencies - the version must not be later than input version.

Recovery object will be put on the recovery list.

Defining child dependencies

Child dependencies are defined based on description of a "module" in backup.list: users - for a database; redirects, error pages - for web-domains; mailboxes - for mail domains, etc.

Each child dependency will be put on the recovery list.

Object recovery

Depending on the object and version, required archives may vary: for full backup - one archive from the full copy, for differential - two archives, one from the full copy and one from differential, for incremental backup - several copies, from the full copy and all the incremental copies including the latest version.

Execute the function backup_storage.{storage} to download archives from the storage.

The archives will be extracted, if the separate node is not specified. Saved file privileges will be set.

restore.<type> will be called, where <type> - is an object type (user, db, ftp.user, etc.). is specified by The author of the backup process specifies how the function restore.<type> works depending on a certain module, in general new data will be created (or existing data will be edited), for example, a user and a web-domain will be created, and files from the archives will be placed into required directories.


Was this answer helpful?

 Print this Article

Also Read

How the "PHP settings" module works when modifying parameters

Introduction The user directory~/php-bin/ by default contains the following files:...

How the Firewall module works

Introduction Firewall is a standard security system for operating systems on which ISPmanager is...

External name servers

This module can be used to manage your external name servers. You may use a remote server with...

Enabling disk quotas

Enabling disk quotas in ISPmanager To enable disk quotas in ISPmanager, browse to the "Software"...

Applications (ISPmanager)

In this module you can manage a wide range of server applications available to you and...