pierreozoux/indiehosters

backups

Closed this issue · 0 comments

For wordpress backends (and in the future for the other lamp applications as well), a systemd service that runs every hour, and:

  • dumps the mysql database
  • commits the mysql dump, the wordpress .env file, and the php files of the plugins, to a git repo
  • if /BACKUPDEST is specified in the user-data folder, push to that (presumably private) git server