网站备份大全

上文罗列了从设置系统到导入数据用到的所有脚本,这里梳理下需要备份的各种脚本及文件,顺便也算是梳理了下网站的架构。

├── Software
│     ├── /etc/apache2/apache2.conf
│     ├── /etc/apache2/ports.conf
│     ├── /etc/ngnix/nginx.conf
│     ├── /root/www/nginx/*    
│     ├── /var/www/html/.htaccess
│     └── /var/www/content
├── System
│     ├── /etc/crontab
│     │     ├── /root/shell/renew_csr.sh
│     │     ├── /root/shell/install_wordpress.sh
│     │     ├── /root/shell/upgrade_system.sh
│     │     └── /root/shell/backup_db_and_files.sh
│     └── /etc/rc.local
│           ├── /root/shell/set_iptable.sh
│           └── /root/shell/start_services.sh
└── Else
      └── /root/www/ssl

Leave a Reply

Your email address will not be published. Required fields are marked *