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

Software licensing policy

ISPsystem software products v.5 have a new licensing policy. There are two ways for activating...

ISPmanager installation guide

Installation from system repository ISPsystem software products 5.15.0 and later can be...

Background tasks

A Background task is a task performed in the system for a long period of time. In the...

Name servers scenario

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

External name servers

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