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

Dovecot configuration files

Details of the dovecot Following is the example of Dovecot on Debian. You can see the lines that...

Enabling disk quotas

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

ISPmanager Panel System Requirements

The ISPmanager control panel requirements are minimal. The panel is more universal with broad...

Migration from ISPmanager 4

Introduction Migration from ISPmanager 4 is supported only on Unix-based operating systems. The...

Logs rotation

How logs rotation works By default for logs rotation ISPmanager 5 uses...