MrGeneration

MrGeneration / Backup Zammad with restic

Last active 3 months ago

Like 0

As shown on https://youtu.be/P-Pr7Dy6mP8

MrGeneration revised this gist 11 months ago · 580547c

No changes

MrGeneration revised this gist 11 months ago · 168bcb0

No changes

MrGeneration revised this gist 11 months ago · 65b1fa2

3 files changed, 426 insertions, 1 deletion

README (file created)
@@ -0,0 +1,16 @@
1 + Last change: 2025-09-10 Marcel Herrguth
2 + As shown on https://youtu.be/P-Pr7Dy6mP8
3 + Attribution back to this GIST is required!
4 +
5 + Parts of this script are oriented from https://github.com/zammad/zammad/tree/develop/contrib/backup
6 + Only PostGreSQL is supported; No symlinks are supported
7 +
8 + Restoration only works on a pre-installed Zammad installation of the same version (or higher).
9 + During Restore, this script will remove the existing (local) Zammad database without any warning; if it's an external one, ensure it's empty.
10 +
11 +
12 + COMMAND REFERENCE
13 + - backup: creates a new snapshot and backs up database and storage.
14 + - restore <snapshot>: Restore a given snapshot from your backup. If you omit the snapshot ID, latest will be used.
15 + - list_snapshots: List all available snapshot IDs.
16 + - verify_health <percentage>: Verify the health of your backup repository. If you omit percentage, 100% will be assumed.
init (file deleted)
@@ -1 +0,0 @@
1 - TODO
restic_zammad.sh (file created)

Diff is too large to be shown

MrGeneration revised this gist 11 months ago · f12e3b9

1 file changed, 1 insertion

init (file created)
@@ -0,0 +1 @@
1 + TODO