How do I do backup from the tar file from SSH?

chris8lunch

Well-Known Member
May 27, 2006
160
0
166
How do I do backup from the tar file from SSH?

Please explain or provide links. The WHM feature to transfer files doesn't always work for some odd reason.

Thanks!
 

chris8lunch

Well-Known Member
May 27, 2006
160
0
166
celliott said:
If you mean how to restore a full backup from ssh you can use:

/scripts/restorepkg backupname.tar.gz

Chris.
Someone sent me a file backup, how do I do this?
 

celliott

Well-Known Member
Jan 2, 2006
459
0
166
United Kingdom
Assuming its a full cPanel generated backup:

Move the backup to a location on your server
cd to that directory
/scripts/restorepkg backupname.tar.gz

Should be that simple.

Let me know if you still don't get it, do you have an MSN contact?

Chris.
 

chris8lunch

Well-Known Member
May 27, 2006
160
0
166
I did this,

cd /home

downloaded the file to there,

type 'dir' and it was there (font color of it was red?)

then i do that backup thing and it says i need to download the file in home, home2, ect (and its in home!) but it acts like its not there
 

angelina_holy

Well-Known Member
Aug 6, 2006
113
0
166
If you need to take backup of user from ssh say userA , login to cd /scripts
run command ./pkacct userA

This will create the backup of userA in /home directory by name cpbackupmove-tar.gz


To restore the backup use
/scripts/restorepkg cpbackupmove-tar.gz
 

soft-t

Member
Jun 3, 2006
7
0
151
So How I can take untar backup for account I have an account 180 giga and this command not worked nice with is

/scripts/pkgacct


Can I backup it untar file and how I can restore it ?