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!

Linux shell command to backup configuration files

Discussion in 'General Discussion' started by postcd, Mar 22, 2011.

  1. postcd

    postcd Well-Known Member

    Joined:
    Oct 22, 2010
    Messages:
    694
    Likes Received:
    15
    Trophy Points:
    68
    Hello,

    we can use command

    cd /home
    /scripts/pkgacct USERNAME

    .. cpanel account backup is made to the /home directory

    cd /home
    /scripts/restorepkg USERNAME

    .. backup file is restored

    ---
    But how can i make configuration files backup from command line (like /etc/my.cnf) etc.? Im at Centos.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. Breezehost

    Breezehost Member

    Joined:
    Aug 21, 2010
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    51
    You meant to say enable backup from shell? Just like you do from GUI interface??
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
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