Web Hosting Talk







View Full Version : How to Restore/Extract Full VPS backup


FH-VM
03-23-2011, 04:04 AM
Hi, Guys!

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.

lordspace
03-24-2011, 04:22 AM
tar is not compressed and will be a large file.
if you can wait and your host allows you you could do

gzip backup.tar

the compressed file will be a lot smaller.

VPS prividers such as: linode, slicehost allow backup and restore from within their control panels.
backup is an addon service and needs to be purchased separately.

hostmonsterz
03-24-2011, 05:19 AM
Hi, Guys!

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.

Great Info

FH-VM
03-25-2011, 03:36 PM
tar is not compressed and will be a large file.
if you can wait and your host allows you you could do

gzip backup.tar

the compressed file will be a lot smaller.

VPS prividers such as: linode, slicehost allow backup and restore from within their control panels.
backup is an addon service and needs to be purchased separately.

Once I compressed a 37GB file in tar it works like a charm