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!

backup issue urgent

Discussion in 'General Discussion' started by jcase, Sep 27, 2005.

  1. jcase

    jcase Well-Known Member

    Jun 1, 2004
    Likes Received:
    Trophy Points:
    ok, so I by accident wipped out all of my /usr/lib files, the server is useless without them but I do have the /usr/home directory where all the sites reside and all other files on this disk. I am going to get a new disk with the same OS (freebsd) then mount the old drive as /olddata or whatever.

    My question is this, can I make cpanel use this old drive where all the files are, I do not have backup.tar.gz files of all of these but I do have the old httpd.conf and all the namedb files etc... Am i screwed if I dont have actual tar.gz backups? Again I have the data, but I simply need to know what configuration files I need to cp over from the old drive to their appropriate place.

  2. Well-Known Member

    Feb 6, 2004
    Likes Received:
    Trophy Points:
    Bucharest, Romania
    cPanel Access Level:
    DataCenter Provider
    if it's the same freebsd version, i'd suggest starting the server with the new hard drive as boot trive, and the old one as secondary.

    copy the files you've deleted from /usr/lib from the good drive to the same location on the secondary drive, then reboot server and switch the drives :)
    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