How to Back Up Your Website Automatically for Free
Set up free automatic website backups for files and databases using plugins, cron jobs, rclone, or GitHub Actions, and test restores before you need them.

Every site owner believes they have backups until the day they need one and discover the last copy is eight months old, stored on the same server that just failed, or missing the database entirely. A website backup is a complete, restorable copy of everything your site needs to run, which means its files, its database, and its configuration, stored somewhere independent of the live server. Doing this manually never lasts, so this guide shows how to automate backups for free on the most common setups and, just as importantly, how to prove they restore.
Quick Answer: To back up a website automatically for free, schedule a job that copies both site files and a database dump, using a plugin like UpdraftPlus for WordPress or a cron script with mysqldump and rclone for custom sites. Send copies to off-server storage such as Google Drive or Backblaze B2, keep several versions, and test a restore regularly.
What a Complete Website Backup Includes
A complete website backup includes three things: the files, the database, and the configuration that ties them together. Missing any one of them turns a restore into a rebuild.
Files are your code, themes, plugins, uploaded images, and documents. On WordPress, the uploads folder is often the largest and most irreplaceable part. The database holds content, users, orders, and settings. A file-only backup of a dynamic site is nearly useless, because the posts and accounts live in the database. Configuration covers environment variables, web server settings, cron jobs, and DNS records, which are often forgotten because they live outside the project folder.
Who is responsible for each layer depends on your hosting model. On shared hosting, the provider may keep server backups, but terms rarely guarantee them for your use; on a VPS, everything is on you. This breakdown of shared hosting versus VPS backup responsibilities helps you see where the gaps are on your plan.



