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.

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:
    620
    Likes Received:
    6
    Trophy Points:
    18
    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.
     
  2. Breezehost

    Breezehost Member

    Joined:
    Aug 21, 2010
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    1
    You meant to say enable backup from shell? Just like you do from GUI interface??
     
Loading...

Share This Page