• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Issue How to restore a external backup if the backup tool doesn't work?

alvmv

New Pleskian
Hello,
Accidentally I delete a log folder from /var/log/
After this I can't enter the plesk panel and the server is down.
I have backed up using onedrive tool just 1 hour before but I can't restore the backup either unzip it in my computer (it is in .tar format with multiple files...)

I only need to restore the log folder but I can't! any ideas?

If I try to use there repair & backup tool via terminal... :
Bash:
root@serv:~# systemctl restart plesk - repaird


Failed to restart plesk.service: Unit plesk.service not found.


Failed to restart -.service: Unit -.service not found.


Failed to restart repaird.service: Unit repaird.service not found.

Bash:
root@serv:~# plesk bin pleskrestore -i
Warning: Current locale is unusable. Using 'C' instead.
[2021-09-13 00:16:26.111] ERR [panel] DB query failed: SQLSTATE[HY000] [2002] No such file or directory:
0: /opt/psa/admin/plib/Db/Adapter/Pdo/Mysql.php:64
    Db_Adapter_Pdo_Mysql->query(string 'SET sql_mode = ''')
1: /opt/psa/admin/plib/CommonPanel/Application/Abstract.php:103
    CommonPanel_Application_Abstract::initDbAdapter()
2: /opt/psa/admin/plib/api-common/AbstractCu.php:1520
    AbstractCu::initDb()
3: /opt/psa/admin/plib/api-common/AbstractCu.php:1546
    AbstractCu::initCLI()
4: /opt/psa/admin/plib/backup/pleskrestore.php:6
ERROR: Plesk\Exception\Database: DB query failed: SQLSTATE[HY000] [2002] No such file or directory (Mysql.php:64)
exit status 1
 
DB query failed: SQLSTATE[HY000] [2002] No such file or directory
The directory /var/log/mariadb is missing on the server.
Create the directory /var/log/mariadb:

# mkdir /var/log/mariadb

Assing correct user and group:

# chown mysql:mysql /var/log/mariadb

Start MariaDB:

# systemctl start mariadb
 
The directory /var/log/mariadb is missing on the server.
Create the directory /var/log/mariadb:

# mkdir /var/log/mariadb

Assing correct user and group:

# chown mysql:mysql /var/log/mariadb

Start MariaDB:

# systemctl start mariadb
With this and doing other fixes the Plesk installation is working. Repair kit did the last details. Thanks
Anyway, I lost many time because I have had the hability of restore a backup from the cloud... this should be warned in the plesk documentation because people could think that they are safe but they arent...
 
Anyway, I lost many time because I have had the hability of restore a backup from the cloud... this should be warned in the plesk documentation because people could think that they are safe but they arent...
/var/log is OS related directory. Plesk doesn't backup the whole OS.
You can find information about what is backed up by Plesk Backup Manager here: Backing Up Data
 
Back
Top