Search our documentation...

Simply enter what you are looking for!

NOTICE: THIS IS OLD LEGACY DOCUMENTATION FOR JETBACKUP 3.1 (EOL), FOR THE NEWER MOST UPDATED DOCUMENTATION PLEASE VISIT: http://docs.jetbackup.com

Backup generic files and server config files

Besides cPanel accounts backup, JBM can also backup generic files & folders on the server. This is very useful if you want to backup important files and server config files that not directly related to cPanel accounts.In the following example, we created a job that will backup mostly important backup folders on a cPanel server. The job is so to be executed right after the full accounts backup job finishes.

Backup generic files and server config files

Backup generic files and server config files

We choose the “Directory incremental” backup type, so we can have a 2 days backup retention of these files. A “replicate” type will also work, but it will run over the files on the destination backup server every time the job is executed.

Files / Folders we backup –

/etc/cpanel
/etc/proftpd
/etc/ssl
/etc/valiases
/etc/vdomainaliases
/etc/vfilters
/usr/local/cpanel/3rdparty/mailman
/var/cpanel
/var/lib/rpm
/var/lib/mysql
/var/named
/var/spool/cron
/etc/dovecot/sni.conf
/etc/exim.conf
/etc/exim.conf.local
/etc/exim.conf.localopts
/etc/fstab
/etc/group
/etc/httpd/conf/httpd.conf
/etc/ips
/etc/localdomains
/etc/mail/sni/map
/etc/my.cnf
/etc/named.conf
/etc/passwd
/etc/pure-ftpd.conf
/etc/quota.conf
/etc/remotedomains
/etc/reservedipreasons
/etc/reservedips
/etc/rndc.conf
/etc/secondarymx
/etc/shadow
/etc/wwwacct.conf
/root/.my.cnf
/usr/local/apache/conf/httpd.conf
/etc/sysconfig/network-scripts/ifcfg*
/etc/rc.d/rc.local
/etc/sysconfig/network
/etc/resolv.conf

You can copy & paste this list and use it for your own backup jobs.
Note that “/var/lib/mysql” folder will backup the entire mysql directory. This will backup the mysql folder “as is”, without proper mysql dumps. This backup type should be used only to recover from disaster, when the mysql dumps are not useful.