Another SOC website related posting – this time on the subject of backup. The website is backed up by the club’s current hosting provider (Krystal – who, a year in, I can highly recommend) but I was informed that the club had bought a large quantity of cloud storage for the purpose of storing its map archive and, for belt and braces, it made sense to also include backups of the website there.
As it turned out, the cloud storage was courtesy of pCloud who
Install on hosting provider was straightforward. The configuration process is interactive (opening a browser to log in to pCloud) but the docs also cover how to create the configuration on one machine and copy them across to another. A copy is then as simple as:
1 |
rclone copy public_html remote:website_archive |
I started out looking to use drush arb
to create a backup but, as the same hosting is used for a WordPress site, it was easiest in the end just to write a script using tar
and mysqldump
to create the archive of the file system and database tables. This is then triggered nightly on a