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.

How Do I retrieve my backups?

Discussion in 'General Discussion' started by paulstav416, Sep 21, 2006.

  1. paulstav416

    paulstav416 Registered

    Joined:
    Sep 21, 2006
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    So one of the files on my server magically stopped doing its job the other day. How would I go and retrieve one of the backups made by cPanel so I can get the older version of the file? I remember being taught by someone how to do it with SSH, but I forgot to keep notes. This time I will:)

    Thanks,
    Paul
     
  2. AndyReed

    AndyReed Well-Known Member
    PartnerNOC

    Joined:
    May 29, 2004
    Messages:
    2,222
    Likes Received:
    3
    Trophy Points:
    38
    Location:
    Minneapolis, MN
    I am not sure if I understand your question correctly, but to get a copy of a file from a tar.gz backup, do the following (Assuming you store your backup data in /backup):
    cd /backup/cpbackup/<daily> or <weekly>
    ls -al | more
    tar xzf USERNAME.tar.gz
    cd USERNAME/homedir
     
  3. paulstav416

    paulstav416 Registered

    Joined:
    Sep 21, 2006
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    thanks man, I figured it out
     
Loading...

Share This Page