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

Plug-in management

A plug-in is an add-on for a program that adds a specific feature or service to it. For...

Sheduler (cron) (ISPmanager)

ISPmanager allows automatic execution of scheduled jobs using Cron. Cron is a daemon that...

Name servers scenario

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

Administrator accounts. Technical details. (ISPmanager)

While creating a new administrator account, a new system user with the same name is...

How the "PHP settings" module works when modifying parameters

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