This plugin let you create backups of your files and databases. It uses the amazing laravel package spatie/laravel-backup.
This backup package requires PHP 7 or higher with the ZIP module and Laravel 5.5 or higher. It's not compatible with Windows servers.
The plugin needs free disk space where it can create backups. Ensure that you have at least as much free space as the total size of the files you want to backup.
mysqldump is installed on your system if you want to backup MySQL databases.
pg_dump is installed on your system if you want to backup PostgreSQL databases.
mongodump is installed on your system if you want to backup Mongo databases.
- With just a click you can:
- Create backups of the whole application.
- Create backups of the database only.
- Create backups of the files only.
- Currently support local and dropbox storage driver.
- Support various Database Driver (MySQL, PostgreSQL, SQLite and Mongo).
- You can easily include and exclude some files using the UI.
- Support gzip to reduce the database size.
Latest updated documentation: https://github.com/panakour/oc-backup-plugin/blob/master/README.md
- To configure the backup system navigate to the Settings > System > Backup.
- You can navigate to the backup section from the top main menu. From there you can create and download your backups.
Dumping the database
pg_dump are used to dump the database. If they are not installed in a default location, you can add a key named
dump.dump_binary_path in October's own
database.php config file. Only fill in the path to the binary. Do not include the name of the binary itself.
If your database dump takes a long time, you might exceed the default timeout of 60 seconds. You can set a higher (or lower) limit by providing a
dump.timeout config key which specifies, in seconds, how long the command may run.
Here's an example for MySQL:
//config/database.php 'connections' => [ 'mysql' => [ 'driver' => 'mysql' ..., 'dump' => [ 'dump_binary_path' => '/path/to/the/binary', // only the path, so without `mysqldump` or `pg_dump` 'use_single_transaction', 'timeout' => 60 * 5, // 5 minute timeout 'exclude_tables' => ['table1', 'table2'], 'add_extra_option' => '--optionname=optionvalue', ] ],
Also you can create backups from the command line using
Found the plugin useful on 19 Dec, 2017
after install create dir in storage/app/panakour-backup
Panagiotis Koursaris author
Replied on 19 Dec, 2017
thank you for your review. with the new updated version, if the directory does not exist will be created automatically.
Support Dropbox storage driver (Fix if not configured yet)
Jan 08, 2018
Support Dropbox storage driver
Jan 07, 2018
Settings button directly in toolbar of backup list. Fixed monitored backups name
Dec 19, 2017
Fixes bug when no backup folder exist
Dec 19, 2017
First version of backup plugin.
Dec 16, 2017