The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

server issue

Discussion in 'General Discussion' started by ljwhite, Oct 3, 2006.

  1. ljwhite

    ljwhite Well-Known Member

    Joined:
    Jun 20, 2005
    Messages:
    363
    Likes Received:
    0
    Trophy Points:
    16
    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?
     
  2. designeru

    designeru Well-Known Member

    Joined:
    Nov 2, 2005
    Messages:
    83
    Likes Received:
    0
    Trophy Points:
    6
    download all the backups (ussually kept under /backups)
     
  3. ljwhite

    ljwhite Well-Known Member

    Joined:
    Jun 20, 2005
    Messages:
    363
    Likes Received:
    0
    Trophy Points:
    16
    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?
     
  4. Anne

    Anne Member

    Joined:
    Oct 4, 2006
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    1
    If you are having secure shell login software then you can do it from Option "New File tranfer window"
     
  5. ljwhite

    ljwhite Well-Known Member

    Joined:
    Jun 20, 2005
    Messages:
    363
    Likes Received:
    0
    Trophy Points:
    16
    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.
     
  6. shopcentar

    shopcentar Well-Known Member
    PartnerNOC

    Joined:
    Jul 10, 2004
    Messages:
    55
    Likes Received:
    1
    Trophy Points:
    8

    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
     
  7. ljwhite

    ljwhite Well-Known Member

    Joined:
    Jun 20, 2005
    Messages:
    363
    Likes Received:
    0
    Trophy Points:
    16
    Thanks for your detailed information.
     
  8. shopcentar

    shopcentar Well-Known Member
    PartnerNOC

    Joined:
    Jul 10, 2004
    Messages:
    55
    Likes Received:
    1
    Trophy Points:
    8
    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
     
  9. ljwhite

    ljwhite Well-Known Member

    Joined:
    Jun 20, 2005
    Messages:
    363
    Likes Received:
    0
    Trophy Points:
    16
    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.
     
Loading...

Share This Page