@acuity/directus-extension-acuity-backup 2.1.6 → 2.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -5
- package/dist/api.js +7 -7
- package/dist/app.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Directus Backup Extension
|
|
2
2
|
|
|
3
|
-
A powerful Directus bundle extension that provides full or selective backup of collections, schema, media files, and relations into ZIP archives. Backups are stored
|
|
3
|
+
A powerful Directus bundle extension that provides full or selective backup of collections, schema, media files, and relations into ZIP archives. Backups are stored on disk under a configurable path (`BACKUP_PATH`), with support for automatic scheduled backups.
|
|
4
4
|
|
|
5
5
|
> **Provided free, courtesy of [Acuity Consulting Inc.](https://acuityconsulting.net)** 🚀
|
|
6
6
|
>
|
|
@@ -16,7 +16,7 @@ A powerful Directus bundle extension that provides full or selective backup of c
|
|
|
16
16
|
- **ZIP Archives** — Compressed, portable backup format with metadata
|
|
17
17
|
- **Restore Functionality** — Import backups with optional data truncation
|
|
18
18
|
- **Scheduled Backups** — Automatic backups via cron expressions
|
|
19
|
-
- **File Storage** — Backups saved
|
|
19
|
+
- **File Storage** — Backups saved to a configurable local directory (`BACKUP_PATH`)
|
|
20
20
|
- **Admin Dashboard** — Intuitive Vue module for managing backups and schedules
|
|
21
21
|
|
|
22
22
|
## Installation
|
|
@@ -108,14 +108,12 @@ RUN pnpm install @acuity/directus-extension-acuity-backup@2.1.4
|
|
|
108
108
|
|
|
109
109
|
### Environment Variables
|
|
110
110
|
|
|
111
|
-
- `BACKUP_PATH` — Directory where backup ZIP files are stored (default: `/directus/backups/`)
|
|
112
|
-
- `STORAGE_DEFAULT` — Directus storage location for uploaded backup files (default: `local`)
|
|
111
|
+
- `BACKUP_PATH` — Directory where backup ZIP files are stored (default: `/directus/backups/`). This is the single source of truth for backups; make sure it is mounted to a persistent volume.
|
|
113
112
|
|
|
114
113
|
Example `.env`:
|
|
115
114
|
|
|
116
115
|
```env
|
|
117
116
|
BACKUP_PATH=/backups
|
|
118
|
-
STORAGE_DEFAULT=local
|
|
119
117
|
```
|
|
120
118
|
|
|
121
119
|
## Usage
|