Posts: 3
Threads: 1
Joined: Jun 2016
Reputation:
0
Sex: Male
Thanks: 0
Given 0 thank(s) in 0 post(s)
RE: Restore backup made in Zpanel/Sentora
06-04-2016, 10:10 AM
Thanks Apinto,
I have managed to restore websites and DBs, is there any way to restore mailboxes and mails?
========================================
for any one trying to restore, please use below step by step;
1 First execute a backup of existing system (it can either be direct backup or via ZPANEL/SENTORA)
2 extract content of archive into a folder (you can use any archiving tool or download from 7zip.org)
you should now have DB Files : one per database (ends with sql extension)
also inside archive you will have a folder per domain
3 login to existing system and goto Databases section and note down names of all required DBs
4 also note down list of all DB Users and their passwords (passwords are shown next to usernames)
5 make list of all domains that you want to port (make sure you noted down location as its required in step 12)
6 now login to new system and create the domains you noted earlier
7 goto Databases and create databases
8 Cretae DB users and assign to relative databases (note system will not ask you to set password, it will generate random password)
9 edit user and set password to one you noted before
10 click on PHPMyADMIN, system will ask you to login, Enter root username and MYSQL ROOT password (this should be noted down during install or check password files in folder when you executed setup)
11 Click on each database and click on import and restore the database
if restore complains file is too big, you can upload to /var/sentora/temp and it will appear under "select from webserver" section
12 using you favourite ftp/SFTP program, upload all domain folder from archive to /var/sentora/hostdata/zadmin/public_html/
verify folder names on old and new system, check step 5&6
13 once all files are copied, SSH to server and execute following;
below will set permission correctly so your files can be browsed.
cd /var/sentora/hostdata/zadmin/public_html/
chown -R apache:apache *
14 now from each domain folder delete index.html
15 system is all setup now, if your DNS and Nameservers are pointing to this new server, you will be able to browse nicely to new server.
thanks,
kaleem