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.

Uploading and Restoring Backup

Discussion in 'General Discussion' started by linuxman, May 22, 2004.

  1. linuxman

    linuxman Well-Known Member

    Joined:
    Sep 20, 2003
    Messages:
    84
    Likes Received:
    0
    Trophy Points:
    6
    I have a question about the restore process of a backup. I have a backup that is 128MB in size. It took about 1.5 hours to upload and then the screen changed to Restoring Files. I can go to the root directory and see the backup folder, I can open it and see the homedir and inside of it my entire web site. Is the system going to put these files back in place or do I need to manually copy them.
     
  2. moz_donor

    moz_donor Registered

    Joined:
    May 23, 2004
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    hey bud, do this:

    make sure the file that you uploaded is in the /home/ directory and in the form: cpmove-username.tar.gz then in ssh:

    /scripts/restorepkg username

    and then change permissions for /home/username/public_html
    In SSH
    cd /home/username/
    chmod 755 public_html
     
  3. moz_donor

    moz_donor Registered

    Joined:
    May 23, 2004
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    this was my first post, but im not here to only answer ppl :P i have my own questions hehe

    Im doing this transfer thing and my problem is that Ive got 190 parts to a .tar.gz file and dont know how to put them together...

    file.tar.gz.part1
    file.tar.gz.part2
    file.tar.gz.part3
    and so on...

    i tried:

    tar zxvf file.tar.gz then i got an error that the file isnt there
    then i tried
    tar zxvf xx.tar.gz.part1 then it started unziping and it said that there was an unexpected end! i guess it didnt start with part2 once part1 was completed
     
  4. 65535

    65535 Member

    Joined:
    Jul 15, 2003
    Messages:
    16
    Likes Received:
    0
    Trophy Points:
    1
    Did the system split the file or did you? You might be able to recombine it by doing

    cat file.tar.gz.part* > /home/file.tar.gz

    Rus
     
  5. moz_donor

    moz_donor Registered

    Joined:
    May 23, 2004
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    i did it, lets what happens!
     
  6. moz_donor

    moz_donor Registered

    Joined:
    May 23, 2004
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    it was a faliure :(
     
Loading...

Share This Page