Linux shell command to backup configuration files

postcd

Well-Known Member
Oct 22, 2010
721
21
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.
 

Breezehost

Member
Aug 21, 2010
7
0
51
You meant to say enable backup from shell? Just like you do from GUI interface??