So I have a system on server but when I go to it, it doesnt show. I should point out this server was hacked through a wordpress website in 2020 but I still have very important data in /var/sentora that wasnt touched and I need to recover it to another server. Please note I cannot access sentora on the compromised server. I was thinking of using rsync to recover but need the databse too. Is there an easy way to move this to another server??I've already rsynced it to my local machine but dont have the database logins which are on sentora. Any help on this would be appriciated??
Clone a website from one sentora install to another server
|
(05-23-2024, 04:07 AM)kevwebbie Wrote: So I have a system on server but when I go to it, it doesnt show. I should point out this server was hacked through a wordpress website in 2020 but I still have very important data in /var/sentora that wasnt touched and I need to recover it to another server. Please note I cannot access sentora on the compromised server. I was thinking of using rsync to recover but need the databse too. Is there an easy way to move this to another server??I've already rsynced it to my local machine but dont have the database logins which are on sentora. Any help on this would be appriciated??Ok, I just typed out all the info below (Expanded info 1 + 2) then realized what you were asking in the LAST line or two. Next time, please post the actual issue FIRST (Lost/no DB login). It would have saved me a lot of time by not having to create the 'Expanded info 1 + 2' notes. Yet, they may help somebody else So, the site is online? No errors show? Did your host upgrade their php or change settings with their hosting? Do you have access to the site? Check the log files for errors? I should have asked more questions before replying. Expanded info 1: If you have a copy of the DB that you need, you can just import that file into any mysql db on any server and access it that way. DB logins are not an issue if you have a copy of the database saved. On Sentora you would create a DB and DB user, use phpMyAdmin and log in with the new db and user and then import your saved database file. For the site, you would just edit it's config file to use the new db. Expanded info: 2: The big question is if you had site backups enabled. If you did then there should be complete site backups in: /var/sentora/hostdata/[client_name]/backups/. If there are ZIP files in there with something like: [clientname]_May-19-2020_3455789.zip you just might be in luck! Those ZIP files contain complete site files AND a DB dump. You used rsync. For what? You have an original rsync of the compromised server? And if you do, what files/folders did you rsync? ALL Sentora related files/services? (/var/lib/mysql/* folder being the most important.) Example: /var/lib/mysql/[dbname]/*.idb If you do not have the backup files but do have the above mentioned files, there's a lot on Google on how to restore from those files: restore mysql database with .idb files --I Have sooo many questions.. LOL But, I hope the answers above will help somebody. (05-31-2024, 04:16 AM)kevwebbie Wrote: I havent had time to get to it yet. I need to install sentora on a debian server to create the database and ftp accounts but I'm working on it. We have not yet setup the installer to work on Debian. Ubuntu 20.04 would be your best OS to use right now. The panel FQDN? That's in the sentora_core database which is setup during install. If it needs to be changed after install, the info is in our Docs HERE |
« Next Oldest | Next Newest »
|
Possibly Related Threads… | |||||
Thread | Author | Replies | Views | Last Post | |
SMTPTLS port 587 Close after fresh Install | franmm25 | 6 | 2 ,003 |
10-23-2024, 09:33 PM Last Post: Ekwadorin23 |
|
\debian 12 install sript? | kevwebbie | 1 | 581 |
08-20-2024, 07:45 AM Last Post: TGates |
|
Problem Install Sentora 2.0.1 | franmm25 | 11 | 3 ,835 |
06-24-2024, 10:53 AM Last Post: TGates |
Users browsing this thread: 1 Guest(s)