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!

Create a backup from a snapshot...

Discussion in 'Data Protection' started by Raf, Oct 2, 2012.

  1. Raf

    Raf Registered

    Mar 28, 2006
    Likes Received:
    Trophy Points:
    Philadelphia, PA

    In a bit of a bind. One of our client's CPanel site became infected w/ Malware. We've tried as much as we can to help them clean themselves up and I now realize the error of my ways... I hadn't configured CPanel Backups prior to the infection, however I do have Filesystem Snapshots enabled and retain daily copies, 2 weeks worth. Our CPanel's Root (/) is on our SAN; thus SAN snapshots...

    I can mount the snapshot back onto the server under /mnt/temp_snap_dir and view the contents of the CPanel server as they were 2 weeks ago. My question is, is there a way for me to grab a backup of that account (as it appears on the mounted snapshot from two weeks ago) that's in /mnt/tmp_snap_dir? I guess I'm asking if I can chroot cpbackup? I'm guessing its not as easy as simply coping the old homedir in place of the current one.

    What will it do about the Databases? Would it simply copy the .db file? Would I even need to bother?

    Any advice would be appreciated it.


  2. cPanelMichael

    cPanelMichael Technical Support Community Manager Staff Member

    Apr 11, 2011
    Likes Received:
    Trophy Points:
    cPanel Access Level:
    Root Administrator
    Hello :)

    You will not be able to create a cPanel backup file from that data alone. Do you have another server that you can use to restore the filesystem snapshot to? That way, you could restore it to another server, and then generate a cPanel backup file that you can use to restore the account.

    Thank you.
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...

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