This Server: Difference between revisions
Jump to navigation
Jump to search
| Line 16: | Line 16: | ||
component [Postgray] as [Postgray] <<anti spam>> | component [Postgray] as [Postgray] <<anti spam>> | ||
database Mailbox | database Mailbox | ||
} | |||
package "IOT" { | |||
component [Mosquitto\nport: 1883] as [Mosquitto] <<MQTT Broker>> | |||
} | } | ||
| Line 28: | Line 31: | ||
[Nginx] .. [NodeJS] | [Nginx] .. [NodeJS] | ||
[Eth0] .. [Postfix] | [Eth0] .. [Postfix] : smtp\nimap | ||
[Postfix] .. [Dovecot] | [Postfix] .. [Dovecot] | ||
[Dovecot] .. Mailbox | [Dovecot] .. Mailbox | ||
| Line 38: | Line 41: | ||
[MySQL] .. MediaWiki_DB | [MySQL] .. MediaWiki_DB | ||
[Eth0] .. [Mosquitto] : mqtt | |||
} | } | ||
WEB -- [Eth0] | WEB -- [Eth0] | ||
Revision as of 06:38, 29 January 2016
Installed Components
Backup strategy
Postulates
- More important than having a very fancy backup mechanism is to have some backup mechanism
States and Status
Strategy A: Simple ZIP
Using ssh:
# backup changes of files and folders
#mkdir /backup
rsync -av --relative /var/www/html/wiki/LocalSettings.php /var/www/html/wiki/extensions/ /var/www/html/wiki/htmlets/ /backup/mediawiki/
# export the wikimedia database
mysqldump -h localhost -u root --xml mediawiki >/backup/mediawiki/wiki_mysql_database.xml
# zip it
zipfile="mediawiki_$(date +'%Y%m%d-%H%M%S').zip"
pushd /backup/; zip -r $zipfile mediawiki/*; popd
echo "The latest backup is in /backup/$zipfile"
Now navigate to https://www.playfulexploration.com/backup and download the zip file.
Strategy B: ...
a