Backups
Applejack¶
To prevent accidental deletion, we have a Cronjob to create backup of everything on Applejack's /var/www
as it was yesterday. This can be found at /vol/archive/backups
. If you lost data >1 day ago, the missing data will also have been removed from the backup location.
Lightning¶
The situation for Lightning containers is more complicated:
- user data: if you want to secure databases and user data, we have a data disk that can be accessed inside all containers via
/data
. For this disk, we use C&CZ's backup service, to store the situation as it was yesterday AND last week elsewhere. - code and configuration: while you probably have your code elsewhere (like Github), it might be a pain to get your web application up and running again. We therefore recommend a workflow where you develop an install script in a dev container, and then run that install script on the prod container; see this manual for more details.
Alternative approach (not recommended): if your container is <2G, it can also be backed up as a whole. Please contact the admin for this.