Backup & Restore Bitnami WordPress MultiSite
Backup
Stop All Services
sudo /opt/bitnami/ctlscript.sh stop
Syntax OK
/opt/bitnami/apache2/scripts/ctl.sh : httpd stopped
/opt/bitnami/php/scripts/ctl.sh : php-fpm stopped
/opt/bitnami/mysql/scripts/ctl.sh : mysql stopped
Create Backup
sudo tar -pczvf application-backup.tar.gz /opt/bitnami
... ... /opt/bitnami/common/build-1/apr_rules.mk /opt/bitnami/common/build-1/make_var_export.awk /opt/bitnami/common/build-1/make_exports.awk
Start All Services
sudo /opt/bitnami/ctlscript.sh start
/opt/bitnami/mysql/scripts/ctl.sh : mysql started at port 3306 /opt/bitnami/php/scripts/ctl.sh : php-fpm started Syntax OK /opt/bitnami/apache2/scripts/ctl.sh : httpd started at port 80
Restore
Stop all services
sudo /opt/bitnami/ctlscript.sh stop
Move Current /opt/bitnami to a different location
sudo mv /opt/bitnami /tmp/bitnami-backup
Restore Backup
sudo tar -pxzvf application-backup.tar.gz -C /
Start All Services
sudo /opt/bitnami/ctlscript.sh start
Related
- WordPress MultiSite Bitnami Essentials
- Import WordPress Site using WordPress Importer
- Export WordPress Website Using Builtin Export Tool