ljwhite

Well-Known Member
Jun 20, 2005
363
0
166
Our server should be shut down for some unknown reason. So we should find a way to backup and download ENTIRE server on to our local machine. How could i do this?
 

designeru

Well-Known Member
Nov 2, 2005
83
0
156
download all the backups (ussually kept under /backups)
 

ljwhite

Well-Known Member
Jun 20, 2005
363
0
166
Thanks for your help!
1. I saw a folder called /backup, but the size of this folder is around 20G, how could i download it on my local machine?
2. If i want to use another server later, i just need to upload this folder to new server and then restore?
 

Anne

Member
Oct 4, 2006
9
0
151
If you are having secure shell login software then you can do it from Option "New File tranfer window"
 

ljwhite

Well-Known Member
Jun 20, 2005
363
0
166
I have "ssh", but it seems impossible to download 20G(it will take a long time). And i have to download it from beginnig if the connection is broken. Also it will take another long time to upload it again to the new server.
 

shopcentar

Well-Known Member
PartnerNOC
Jul 10, 2004
55
1
158
ljwhite said:
I have "ssh", but it seems impossible to download 20G(it will take a long time). And i have to download it from beginnig if the connection is broken. Also it will take another long time to upload it again to the new server.

you can tar files per letter:

here is instructions:

cd /backup/cpbackup/

#create ftpbackup folder
mkdir ftpbackup

#go to your daily backups
cd /backup/cpbackup/daily

#tar files per letter
tar cvzf /backup/cpbackup/ftpbackup/abc.tar a*tar.gz b*tar.gz c*tar.gz

#next d e f g letters
tar cvzf /backup/cpbackup/ftpbackup/defg.tar d* e*tar.gz f* g*tar.gz

and so on....

and last go to your new server and use wget command to get your backups

good luck!

bye, SC
 

shopcentar

Well-Known Member
PartnerNOC
Jul 10, 2004
55
1
158
your say:

"take another long time to upload it again to the new server"

when you make backup transfers, you dont need to download backups local to yoor comp.

You can use wget and pickup backup from old server directly to your new server.
(and this is fastest option).

bye, SC
 

ljwhite

Well-Known Member
Jun 20, 2005
363
0
166
Thanks for your reminder. Actually i know that i can transfer it using whm. I am trying to download it on local computer just in case our server is down and we may not login it again.