This Server: Difference between revisions
Jump to navigation
Jump to search
| Line 95: | Line 95: | ||
Now navigate to https://www.playfulexploration.com/backup and download the zip file. | Now navigate to https://www.playfulexploration.com/backup and download the zip file. | ||
=== | == Cost Structure == | ||
{| class="wikitable" | |||
|- | |||
! Product !! Cost !! Detail | |||
|- | |||
| Virtual Private Server || $6.99 / month || [https://www.ovh.com/us/vps/vps-ssd.xml OVH] | |||
* 1 vCore 2.4 GHz | |||
* 4 GB RAM | |||
* 20 GB SSD Local RAID 10 | |||
* 1 static IP, all ports open | |||
* Control Panel | |||
|- | |||
| .COM Domain Name || $12 / year || [https://domains.google.com/registrar Google] | |||
* domain privacy | |||
* full control over all DNS records | |||
* awesome control panel | |||
|- | |||
| Software || $0 || all open source :] | |||
|} | |||
Revision as of 06:48, 16 February 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.
Cost Structure
| Product | Cost | Detail |
|---|---|---|
| Virtual Private Server | $6.99 / month | OVH
|
| .COM Domain Name | $12 / year | Google
|
| Software | $0 | all open source :] |