How I Backup this Website

Once a week a cron job generates a database dump of the WordPress installation.

Then, another cron generates a tar within the /backup folder. This is the first copy of the original files stored in the same location of the originals.

Every week another cron will clean up the folder of tars older than 3 weeks.

Once a week a cron in my local server will run an lftp script that downloads the files. This is the second copy of the original files in a second media and in a second location from the original files.

Finally, Duplicati sends the files to a Wasabi bucket, making them the third copies of the original files stored in a third location.

tags