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

Working with API

Authentication methods Session unique ID authentication You can use this method when working...

Email templates(ISPmanager)

An email template is a predefined text message with macros that can replaced...

Postfix configuration file

Example of the postfix/ configuration file Following is the example of Postfix...

Name servers scenario

ISPmanager 5 + 2 DNSmanager as slave name servers This is standard configuration. The server...

How to easily create a site on the server with ISPmanager

Creating user Create a user who will own the site. ISPmanager --- Accounts...