We use cookies
We use cookies to optimize our website. By continuing to browse the site, you agree to our use of cookies.
Control panel
  • Русский
  • Українська
  • English
  • UAH
  • USD
  • RUB
  • EUR
  • 0-800-307-307 Hotline
  • +38 (044) 392-74-33 Kiev
  • +38 (057) 728-39-00 Kharkiv
  • +38 (056) 794-38-31 Dnipro
  • +38 (032) 229-58-93 Lviv
  • +38 (048) 738-57-70 Odessa
  • +38(093) 170-15-42  Life
  • +38 (067) 400-88-44 Kievstar
  • +1(888)393-24-51  USA, Toll free
  • +44(131)507-01-14  Great Britain
  • +7 (499) 348-28-61 Moscow

2.7.1.12. Recovering a deleted database

The article describes how to recover accidentally remote databases for cases when a little time has passed since the deletion and the database backup is still available in the list of automatic backups.

To restore a deleted database, do the following:

  1. Create a new database with the same name as the remote database.
  2. Restore a remote database from an automatic backup. If an error like "User not defined" occurs, then the previous step was skipped or the database does not have users (you can create a user by instructions).
  3. So that the site can connect to the restored database:
    • Or specify a new one password database user in site config file.
    • Or change the password of the database user to the one specified in the site's configuration file.
  4. Check the site is working.

Alternative way:

  1. Order creating a backup copy of a remote database.
  2. Download archive with the created backup.
  3. Create a new database with any name.
  4. Import dump from the downloaded archive to the created database.
  5. Indicate the actual connection data to the database in site config file.
  6. Check the site is working.