Saturday, April 30, 2011

How to Restore/Extract Full VPS backup

I've seen many people asking that how they can restore full VPS backup. Because some times due to any prob we got kicked out of our host and we are left nothing (except our backup)

Ask your host to give your full VPS backup in .tar format.


If its big like 50+ GB then it will be hard for you to upload and download, you must ask them to put it on their servers so that you can wget it easily.


Now that you've backup located remote location like ->
http://domain.com/backup.tar

Get a fresh new box and install cpanel on it.


now go to ssh.


and put following command -> wget
http://domain.com/backup.tar

After transferring full backup, you need to extract it.


Now put following command to extarct your backup -> If its in tar format, then first re-install OS at your new box.

reinstall cPanel.

Now go to SSH, and wget your backup (wget
http://backup.domain.com/backup.tar)

after getting it on new machine you need to extract files from it.


Use this command to extract files -> tar tvf file.tar (In place of file put the name of backup)


Now wait for it to get restored.


hope it helps.

No comments:

Post a Comment