Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

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:
    151
    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:
    4
    Trophy Points:
    193
    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
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. paulstav416

    paulstav416 Registered

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

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice