PDA

View Full Version : SolusVM Backup



DAuser4
03-12-2011, 08:14 AM
Hi !
I have a vps, with SolusVM Cp, and I can make backup with Quick Backup option. The backup file (in tar.gz format) appear in /panelbackup folder. My problem is how to restore it? I ask for help, how can I restore with SSH commands. I think, in case if must to restore will be too late to learn this thing, or to ask for help. I wait for opinions!Thanks!

syslint
03-13-2011, 03:36 AM
Hi !
I have a vps, with SolusVM Cp, and I can make backup with Quick Backup option. The backup file (in tar.gz format) appear in /panelbackup folder. My problem is how to restore it? I ask for help, how can I restore with SSH commands. I think, in case if must to restore will be too late to learn this thing, or to ask for help. I wait for opinions!Thanks!

That is the backup of entire vps. So you need to extract it and copy your files. If you are going to restore this backups to a new vps, then it is easy too.,

DAuser4
03-13-2011, 03:46 AM
Thanks you Syslint !
I tried to extract in ssh, with -tar -zxvf filename.tar.gz - command, but the files appears in ./root folder. From here I must to copy to ./ .But don't know how.What command I must to use, to extracting in base ./folder? Thank you!

toml
03-13-2011, 08:41 AM
tar will extract the files in the current working directory, unless it was created with a rooted path (i.e. files passed in contained /xxx instead of ./xxx or just xxx). So if you wanted to extract files in their original location, it looks like you might have to do something similar to this:

cd /
tar xvzf filename.tar.gz [/path/of/files/I/want]
If you don't pass something like /path/of/files/I/want then it will extract everything in the file.

DAuser4
03-13-2011, 09:14 AM
Thank You toml!
I tried , and restored succefully!
Thanks for help!