Shell Synthesis Example (i)
To back up the system configuration file:
1, scheduled task service configuration file/var/spool/cron/root
2. Boot from boot profile/etc/rc.local
3, the Daily script directory
4, Firewall iptables configuration file/etc/sysconfig/iptables
Configure files, programs, and logs to be packaged separately
All-network server data backup scheme is proposed and implemented
1, for the company's important data backup chaotic situation and the leader proposed backup network data backup scheme
2, through the local packaging backup, and then rsync combined with the inotify application to the whole network data backup to a fixed storage server, and then on the storage server through the script check and alarm administrator backup results
3, regularly back up the IDC computer room data to the company's internal server, to prevent the computer room for fire and other causes of data loss
Shell Synthesis Example