You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- harmonized with Laravel 12 and October CMS 4,
- removed Doctrine at all,
- added automatic backup using prepared URL for external cron jobs,
- added the ability to backup more than the default theme.
---------
Co-authored-by: Jan Vince <jan@vince.cz>
Copy file name to clipboardExpand all lines: README.md
+18-2Lines changed: 18 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,11 @@
1
1
# Small Backup
2
2
> Simple backup for database (MySQL, SQLite), active theme and CMS storages
3
3
4
+
## Compatibility
5
+
6
+
* plugin in version from 2.0.0. is intended **only for OctoberCMS v4 and newer**
7
+
*[older versions](https://github.com/webula-cz/smallbackup/tree/v1) (1.x.x) will run fine only on OctoberCMS v1, v2 and v3
8
+
4
9
5
10
## Installation
6
11
@@ -61,7 +66,18 @@ There are default scheduler jobs for database and active theme to be backed up o
61
66
62
67
### Automatic backup (without scheduler)
63
68
64
-
If you cannot run Cron command directly on your server/hosting, you can create custom CMS page like this:
69
+
If you cannot run Cron command directly on your server/hosting, you can:
70
+
71
+
#### Use prepared URL
72
+
73
+
In plugin's backend settings page go to Settings tab and copy fixed part of the URL (which can be changed in plugin's `config/config.php` file) and a variable part (which can be changed here in Settings tab).
74
+
75
+
The final URL is in form: `https://www.domain.com/webula/smallbackup/run/trigger-46d62cbc-5e27-4bb0-87dd-19bb0012345678`
76
+
77
+
Don't forget to allow backups from external URL in plugin's settings tabs (Database, Theme, Storage).
78
+
79
+
#### Use custom CMS page
80
+
65
81
66
82
```
67
83
title = "artisan"
@@ -82,7 +98,7 @@ is_hidden = 0
82
98
83
99
### Manual backup
84
100
85
-
You can create manual backup in plugin's Settings by clicking button `Backup now` on Databaseor Theme tab.
101
+
You can create manual backup in plugin's Settings by clicking button `Backup now` on Database, Theme or Storage tab.
0 commit comments