WP Manifestindependent plugin directory
manifest / updates / freebackup

Free Backup

Free WordPress database backup plugin allowing scheduled backup to be sent via sFTP

★ 5stars

Install

Download source zip No release zip yet

This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.

Install straight from GitHub with WP-CLI:

wp plugin install https://github.com/fallen/freebackup/archive/refs/heads/main.zip
No built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.

This plugin is a very basic one that basically does one thing: creates a daily database backup and uploads it to a destination of your choice via sFTP. It is your responsability to have some kind of automated task on the remote server to backup and secure your data (using borg or borgmatic for instance). This plugins supports sFTP via either username/password or public/private key.

Why would you need this plugin?

This kind of plugin is needed if you are using a web hosting service instead of VPS or dedicated server. When you don't have access to SSH or cron, you can't run "mysqldump" yourself to dump your database.

This plugin allows to do just that: automate the production of a database backup and the extraction of it to another server.

I developped this plugin for the internal use of an organization (RAP), therefore its features are tailored to what we need:

  • only works on Linux web hosts
  • only works with PHP 5.3.3+ (because of phpseclib used for sFTP)

License: GPLv3 or later

Thanks to updraftplus plugin, I took some code from it for mysqldump tool path detection and for the actual sql dump function.