how to restore website file backup in new server												
												
												
		
				Share
				
			
		1,111,111 TRP = 11,111 USD
1,111,111 TRP = 11,111 USD
Reset Your New Password Now!
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this memory should be reported.
Please briefly explain why you feel this user should be reported.
Upload Backup Files:
Transfer your backup files (e.g., via FTP, SFTP, or cPanel’s File Manager) to the new server’s root directory (e.g., /public_html ). Use tools like FileZilla or scp for large files.
Extract Files:
If the backup is compressed (e.g., .zip or .tar.gz ), extract it on the server using commands like:
unzip backup.zip
or
tar -xzvf backup.tar.gz
Database Restoration (if applicable):
Import your database backup ( .sql file) via phpMyAdmin or command line:
mysql -u username -p dbname < backup.sql
Update the website’s configuration file (e.g., wp-config.php for WordPress) with the new database credentials.
Verify Permissions:
Ensure file permissions are correct (e.g., folders 755 , files 644 ):
chmod -R 755 public_html
Test the Website:
Check functionality, links, and DNS propagation. Temporarily use the server’s IP or edit your hosts file to preview before updating DNS.
Tip: Always test backups locally first. For CMS sites, ensure server compatibility (PHP/MySQL versions).
Get your backup ready – you need your website files (like HTML, PHP, images) and your database backup if your site uses one (like WordPress or Joomla).
2. Upload your files to the new server – you can do this via FTP (like FileZilla) or through your hosting panel (cPanel, Plesk). Usually, you put them in the public_html folder or the main folder for your domain.
3. Restore the database – create a new database on the new server, then import your backup .sql file into it using something like phpMyAdmin.