All Projects → panakour → oc-backup-plugin

panakour / oc-backup-plugin

Licence: MIT license
Backup system for October CMS

Programming Languages

PHP
23972 projects - #3 most used programming language
HTML
75241 projects

Projects that are alternatives of or similar to oc-backup-plugin

oc-responsive-images-plugin
Adds reponsive images capabilities to October CMS
Stars: ✭ 37 (+105.56%)
Mutual labels:  octobercms, octobercms-plugin
oc-site-search-plugin
Adds global search capabilities to October CMS.
Stars: ✭ 39 (+116.67%)
Mutual labels:  octobercms, octobercms-plugin
contenteditor-plugin
Edit your content in page - plugin for OctoberCMS
Stars: ✭ 32 (+77.78%)
Mutual labels:  octobercms, octobercms-plugin
oc-gdpr-plugin
October CMS plugin to make websites GDPR and ePrivacy compliant
Stars: ✭ 32 (+77.78%)
Mutual labels:  octobercms, octobercms-plugin
oc-speedy-plugin
Website optimization plugin for October CMS
Stars: ✭ 18 (+0%)
Mutual labels:  octobercms, octobercms-plugin
oc-sortablerelations-plugin
Adds drag and drop sorting functionality to the view list of the relations controller in October CMS
Stars: ✭ 16 (-11.11%)
Mutual labels:  octobercms, octobercms-plugin
octobercms-backendskin
Backend Skin Plugin For OctoberCms
Stars: ✭ 21 (+16.67%)
Mutual labels:  octobercms, octobercms-plugin
oc-api-plugin
Tools for building RESTful HTTP + JSON APIs for OctoberCMS.
Stars: ✭ 28 (+55.56%)
Mutual labels:  octobercms, octobercms-plugin
debugbar-plugin
Integrates PHP Debugbar with October CMS
Stars: ✭ 36 (+100%)
Mutual labels:  octobercms
oc-api-plugin
Base API Plugin for OctoberCMS
Stars: ✭ 26 (+44.44%)
Mutual labels:  octobercms
Bash-Backup-Script
A small script to upload backup tar to an external storage service
Stars: ✭ 21 (+16.67%)
Mutual labels:  backup
Docktober
🍂 Simple: Docker + OctoberCMS
Stars: ✭ 57 (+216.67%)
Mutual labels:  octobercms
dbaTDPMon
dbaTDPMon - Troubleshoot Database Performance and Monitoring
Stars: ✭ 20 (+11.11%)
Mutual labels:  backup
arctee
Atomic tee
Stars: ✭ 22 (+22.22%)
Mutual labels:  backup
BackupAssistant
Backup Assistant helps you to backup your files (like database backups or log files) to FTP Server. It works on any platform. ( Windows, Linux and Mac.)
Stars: ✭ 32 (+77.78%)
Mutual labels:  backup
browserexport
backup and parse browser history databases (chrome, firefox, safari, and other chrome/firefox derivatives)
Stars: ✭ 54 (+200%)
Mutual labels:  backup
evernote-backup
Backup & export all Evernote notes and notebooks
Stars: ✭ 104 (+477.78%)
Mutual labels:  backup
QQ-History-Backup
QQ聊天记录备份导出,支持无密钥导出,图片导出。无需编译有GUI界面。Backup Chating History of Instant Messaging QQ.
Stars: ✭ 300 (+1566.67%)
Mutual labels:  backup
authy-extractor
Extract 2FA tokens from Authy.
Stars: ✭ 30 (+66.67%)
Mutual labels:  backup
Backup-Scripts
PowerShell Scripts and Automation Manager Policies for N-able Backup
Stars: ✭ 26 (+44.44%)
Mutual labels:  backup

Backup system for October CMS

Introduction

This plugin let you create backups of your files and databases. It uses the amazing laravel package spatie/laravel-backup.

Requirements

This backup package requires PHP 7.1 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.

Make sure mysqldump is installed on your system if you want to backup MySQL databases.

Make sure pg_dump is installed on your system if you want to backup PostgreSQL databases.

Make sure mongodump is installed on your system if you want to backup Mongo databases.

Features

  • 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.

Usage

  1. To configure the backup system, from backend navigate to Settings > System > Backup.
  2. To create your first backup, from backend navigate to the backup section from the top main menu. From there you can create and download your backups by click the buttons.

Storage

Dropbox usage

The first thing you need to do is get an authorization token at Dropbox. A token can be generated in the App Console for any Dropbox API app. You'll find more info at the Dropbox Developer Blog.

Then add to the config/filesystems.php file the followed array with your token and app name:

'disks' => [
    ...
    'dropbox' => [
        'driver' => 'dropbox',
        'app' => 'app-name',
        'authorizationToken' => 'generated-access-token',
    ]
]

Be sure that you select Dropbox option from settings.

Webdav usage

Then add to the config/filesystems.php file the followed array with your token and app name:

'disks' => [
    ...
            'webdav' => [
            'driver' => 'webdav',
            'baseUri' => 'YOUR_WEBDAV_DOMAIN',
            'path_prefix' => '/remote.php/dav/files/USERNAME/', //for nextcloud
            'path_alias' => '',
            'userName' => 'USER',
            'password' => 'PASSWORD',
        ],
]

Be sure that you select Webdav option from settings.

Dumping the database

mysqldump and 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 Artisan. image image image

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].