Backups of Tiki community sites | |
For backups of Tiki community sites, the default backup actions of console.php are being used. The resulting backups are then uploaded via SFTP into the directory ~/incoming/ on the Tiki community backup server bkp.tiki.org. Each tiki.org subdomain has a dedicated account on that server. Information If you are responsible for running a Tiki community site, please contact amette for an account on bkp.tiki.org.
|
Example backup script | |
The following is an example script to back up multiple Tikis and then SFTP the resulting backups into the correct directory on bkp.tiki.org. Script to back up dev/doc/themes.tiki.org Copy to clipboard
|
Backend of bkp.tiki.org | |
bkp.tiki.org is a completely bare-bones machine with nothing but OpenSSH running and jailing users into SFTP allowing login only via SSH keys. Every Tiki subdomain has it's own user, that can write into the directory ~/incoming/ to upload backups. These backups are rotated daily into the directory ~/archive/, which is read-only. This way every Tiki site administrator can access all backups of the last 31 days from the directory ~/archives, but in case her server gets hacked and a malicious attacked wants to delete data, it's not possible. |
Backup testing on nxt.tiki.org | |
The next-doc/dev/themes fetch the latest backup from bkp.tiki.org and install it afresh each night. This way we always test the latest code with the latest data and also test our backups at the same time. |