Author Topic: Restore CWP7 pro from weekly.  (Read 148 times)

0 Members and 2 Guests are viewing this topic.

Offline
*
Restore CWP7 pro from weekly.
« on: March 03, 2025, 04:05:13 PM »
Hello,
I did a massive mistakes and i need to restore my files from backup.
I did try from the CWP panel but noting happen.
Is there a way to restore from console or a way i can watch the progress ?

Please my websites stop working.

Offline
*****
Re: Restore CWP7 pro from weekly.
« Reply #1 on: March 03, 2025, 04:57:29 PM »
CWP's internal backup system is good for filesystem-level restores, especially if clients shoot themselves in the foot. Also MySQL (MariaDB) version backups so you can roll back a DB to a previous state. But if you need to roll back the whole system, a snapshot/system image is a better choice. Are you doing snapshots of your VM/VPS/bare metal server?

Offline
*
Re: Restore CWP7 pro from weekly.
« Reply #2 on: March 03, 2025, 05:23:45 PM »
Hello, i dont need whole system.
Just databases and user files.
i just need to know how to do it.
Doesn't work from main cwp panel.


Please help me out.

Offline
*
Re: Restore CWP7 pro from weekly.
« Reply #3 on: March 03, 2025, 06:10:26 PM »
CWP's internal backup system is good for filesystem-level restores, especially if clients shoot themselves in the foot. Also MySQL (MariaDB) version backups so you can roll back a DB to a previous state. But if you need to roll back the whole system, a snapshot/system image is a better choice. Are you doing snapshots of your VM/VPS/bare metal server?

Well, please how to do this from the console is there a way ? Because does not work from main panel.
I didnt activate New Backup system.
So how to restore DB to previous state ?


Offline
***
Re: Restore CWP7 pro from weekly.
« Reply #4 on: March 03, 2025, 06:57:46 PM »
If you did not create backups of the accounts using "new" or "standard" backup system provided by CWP then there is no way restore the account from backup using CWP features. In this case you will have to recreate the accounts incuding their objects (databases, email address, domains) manually and then upload database content using phpMyAdmin, upload all files over FTP. Anyway, it requires some local backup.

UPD:
How to restore the databases from backups created by mysqldump check this page:
https://docs.bitnami.com/aws/infrastructure/mariadb/administration/backup-restore-mysql-mariadb/
« Last Edit: March 03, 2025, 07:01:32 PM by cyberspace »

Offline
*
Re: Restore CWP7 pro from weekly.
« Reply #5 on: March 03, 2025, 07:05:36 PM »
Thanks. i fix my problem for about 5 seconds.
I just put the old password to  the user from $config['db_dsnw'].

All work now