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... :
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