• Halloween is coming! To celebrate the occasion, we dusted off a couple of old skins, and even created a brand new one (Pixel).
    To get into the festive spirit, install the Skins extension.
  • The new Python extension is now available. It allows customers to deploy and manage WSGI-based Python applications on their websites directly from Plesk.
  • The Plesk Mobile apps for iOS and Android and the Plesk Mobile Center extension have been deprecated, and are no longer available for new installations. In Plesk Obsidian 18.0.84, the Plesk Mobile Center extension will be removed from servers during the upgrade, and the Plesk Mobile apps will lose their server management features.
  • The Social Login extension has been deprecated and will be removed in Plesk Obsidian 18.0.84. After that, it will no longer be possible to log in to Plesk with a Google, Facebook, GitHub account, or with a passkey. Plesk usernames and passwords, as well as logging in with a WebPros Account, are not affected.

Restore Database through plesk PHPMyAdmin

M

MahmoudS

Guest
Hello
We lost our VM so the provider provide new one with information + mounted content at /mnt/1
linux+plesk

i copy all of the website content from mnt to new VM same address :
var/www/vhosts/ourdomain/httpdocs/website content is HERE
just same the old one was...

also i can found our previously DATABASE backup file at this address at the mounted directory:
/mnt/1/var/lib/psa/dumps/domains/ourdoman.com/Here! tgz files database

how can i restore that database backup through plesk and phpmyadmin to get back website working again?!
and isthere anything else i should managed to get website working?

thank you very much in advance
 
Hey,

There are a couple different options depending on the site of the database you're trying to restore.

Through phpMyAdmin:
1) Recreate the database through Plesk
2) Download the tar file and untar it
3) Open the SQL backup file through a text editor
4) Then copy that info into the "SQL" tab within phpMyAdmin from the database you're trying to restore.

If you're dealing with a large database, you're better off doing this via the command line:
1) Recreate database through Plesk
2) Untar the database backup file using something like this: tar -zxvf yourfile.tar.gz
3) Locate the SQL backup file and run a command similar to this: mysql -u *username* -p -h localhost *databasename* < backup.sql (replacing the username, database and SQL file with yours)

Hope this helps!
 
Back
Top