shell> systemctl stop glassfishd
shell> systemctl stop mysqld
shell> systemctl stop openldap
shell> mkdir /usr/local/backups
shell> cp /etc/hosts /usr/local/backups
shell> cp /etc/sysconfig/network-scripts/ifcfg-* /usr/local/backups
shell> cp -r /etc/firewalld/zones/public.xml /usr/local/backups
shell> firewall-cmd --list-all >> firewallrules
shell> cp /etc/bashrc /usr/local/backups
shell> cat /etc/bashrc
shell> cp /etc/sakarc /usr/local/backups
shell> cp /etc/ssh/ssh_config /etc/ssh/sshd_config /usr/local/backups
shell> cp /etc/init.d/glassfishd /etc/init.d/mysqld /usr/local/backups
If using opendj, make a backup of opendjd.
shell> cp -r /etc/init.d/opendjd /usr/local/backupsIf using openldap, make a backup of slapd.
shell> cp -r /etc/systemd/system/multi-user.target.wants/slapd.service /usr/local/backups
shell> cp /etc/my.cnf /usr/local/backups
shell> slapcat -n 0 -l /usr/local/strongauth/dbdumps/slapdbackup-<DATE>.conf
shell> slapcat -n 2 -l /usr/local/strongauth/dbdumps/databackup-<DATE>.ldif
shell> zip -r /usr/local/backups/strongauth.zip /usr/local/strongauth
shell> zip -r /usr/local/backups/saka.zip /usr/local/software/saka