Simon L
1dfab726c4
adjust wording what to do if backup creation fails
...
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-08-29 12:02:46 +02:00
Simon L
e03e440653
Use en-dash
...
Signed-off-by: Simon L <szaimen@e.mail.de>
Signed-off-by: Simon L. <szaimen@e.mail.de>
2023-08-28 08:43:01 +02:00
sjjh
9b9f72dcb8
Update backupscript.sh: slight rewording for consistency
...
Added some full stops, changed some wording, changed capitalisation, ...in some "echo"-statements to improve consistency for user outputs.
Signed-off-by: sjjh <2787214+sjjh@users.noreply.github.com>
2023-08-27 21:37:14 +02:00
Simon L
66ce6cb03f
try to fix backup restore
...
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-06-19 14:25:51 +02:00
Simon L
9a207eab29
borg - add progress to initial Backup
...
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-06-07 10:27:32 +02:00
Simon L
bd550313bd
print out borg_prune_opts
...
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-05-30 16:25:24 +02:00
Simon L
ef43d19a27
Merge pull request #2428 from nextcloud/enh/noid/borg-retention-policy
...
allow to adjust borgs retention policy
2023-05-30 11:28:36 +02:00
Simon L
65a9fe4c95
allow to adjust borgs retention policy
...
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-05-26 11:38:25 +02:00
Simon L
9f19026885
allow to include volumes in backup and restore
...
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-05-19 13:28:17 +02:00
Simon L
9035f47611
backup script - a few enhancements and safeguards
...
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-05-09 00:54:15 +02:00
Simon L
4ffed7e23c
move the advice to the correct line
...
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-04-22 11:26:17 +02:00
Simon L
3e2a64e6d4
borg - add advices how to proceed if things get wrong
...
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-04-18 13:22:10 +02:00
Simon L
4df6d2c971
Borg - revert to default checkpoint-interval
...
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-04-14 14:59:02 +02:00
Simon L
4f5062080b
borg script - disable globbing
...
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-03-07 23:15:15 +01:00
Simon L
2a01e9683b
exclude nextcloud and audit log in backup due to GPDR reasons
...
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-03-07 09:22:02 +01:00
Simon L
6787d322cc
also restore configuration.json even if the former restore failed
...
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-02-13 17:00:20 +01:00
ManOki
4c691debf5
add docker cp command to prevent host file paths like /_data/ ( #1773 )
2023-01-17 18:22:37 +01:00
Simon L
8b86294936
borg - substitute prefix with glob-archives
...
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-01-12 23:56:41 +01:00
Simon L
1605431827
substitute borg --progress by borg -v
...
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-01-04 17:10:21 +01:00
Simon L
d8f24b8862
try to fix the borg check
...
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-01-04 16:49:47 +01:00
Simon L
6b91fb7ca2
allow to repair the integrity of the backup archive
...
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-01-04 16:17:04 +01:00
Simon L
f06ce34472
borg - add progress back and add some additional output
...
Signed-off-by: Simon L <szaimen@e.mail.de>
2022-12-29 10:06:50 +01:00
Simon L
756511f16a
This does not work
...
Signed-off-by: Simon L <szaimen@e.mail.de>
2022-12-17 16:46:24 +01:00
Simon L
4ab3520d10
another one
...
Signed-off-by: Simon L <szaimen@e.mail.de>
2022-12-17 16:38:58 +01:00
Simon L
de01850279
another attempt
...
Signed-off-by: Simon L <szaimen@e.mail.de>
2022-12-17 16:20:58 +01:00
Simon L
70b87ed9f8
try to fix it
...
Signed-off-by: Simon L <szaimen@e.mail.de>
2022-12-17 16:14:11 +01:00
Simon L
e389a17a74
try to fix the elasticsearch inclusion
...
Signed-off-by: Simon L <szaimen@e.mail.de>
2022-12-17 16:03:03 +01:00
Simon L
9b3ad32764
fix restoring of elasticsearch volume
...
Signed-off-by: Simon L <szaimen@e.mail.de>
2022-12-15 15:09:39 +01:00
Simon L
79946a876c
remove the redis database once a backup gets restored
...
Signed-off-by: Simon L <szaimen@e.mail.de>
2022-12-15 12:10:55 +01:00
Simon L
c6e45ef378
add exception for elasticsearch and re-order the exceptions
...
Signed-off-by: Simon L <szaimen@e.mail.de>
2022-12-13 15:06:47 +01:00
Simon L
85999c297c
also back up the fulltextsearch volume
...
Signed-off-by: Simon L <szaimen@e.mail.de>
2022-12-12 18:16:24 +01:00
Simon L
a3ed26063c
add hint regarding default borg.config path
...
Signed-off-by: Simon L <szaimen@e.mail.de>
2022-12-02 21:37:48 +01:00
Simon L
6b6500c29d
just exclude the whole dir on restore
...
Signed-off-by: Simon L <szaimen@e.mail.de>
2022-11-21 19:03:17 +01:00
Simon L
4a1539b473
dont restore ocsp folder
...
Signed-off-by: Simon L <szaimen@e.mail.de>
2022-11-21 18:26:36 +01:00
Simon L
41507c05fa
Merge pull request #1274 from nextcloud/enh/1272/session-deduplication
...
rework session deduplication
2022-10-27 12:33:01 +02:00
szaimen
5c25656460
install borg from backports in the future
...
Signed-off-by: szaimen <szaimen@e.mail.de>
2022-10-24 19:46:09 +02:00
szaimen
3118ecf385
rework session deduplication
...
Signed-off-by: szaimen <szaimen@e.mail.de>
2022-10-16 18:12:50 +02:00
Simon L
29f3952713
Merge pull request #1095 from nextcloud/enh/noid/borg-logs
...
do not show progress for borg operations
2022-09-08 15:44:36 +02:00
szaimen
fa4eb44898
Allow to choose a different backup location if the first backup fails
...
Signed-off-by: szaimen <szaimen@e.mail.de>
2022-09-03 15:43:40 +02:00
szaimen
ec1605d29a
do not show progress for borg operations
...
Signed-off-by: szaimen <szaimen@e.mail.de>
2022-08-31 14:22:11 +02:00
szaimen
c29839f65f
also save and restore daily backup time upon restore
...
Signed-off-by: szaimen <szaimen@e.mail.de>
2022-08-26 15:26:51 +02:00
szaimen
b22c239998
fix restoring of addional bakup dirs
...
Signed-off-by: szaimen <szaimen@e.mail.de>
2022-08-26 15:04:52 +02:00
szaimen
40b2e014fb
Fix additional backup dirs
...
Signed-off-by: szaimen <szaimen@e.mail.de>
2022-08-25 19:03:29 +02:00
szaimen
2ee63dbe42
allow to back up additional directories
...
Signed-off-by: szaimen <szaimen@e.mail.de>
2022-08-25 13:44:04 +02:00
szaimen
9f6c532170
don't allow the Nextcloud container to start if the update failed
...
Signed-off-by: szaimen <szaimen@e.mail.de>
2022-08-17 12:24:01 +02:00
szaimen
b5d5b1f4bc
allow to lock the backup archive for external scripts
...
Signed-off-by: szaimen <szaimen@e.mail.de>
2022-06-22 14:33:35 +02:00
szaimen
3358f53b84
Do not break the borg lock automatically
...
Signed-off-by: szaimen <szaimen@e.mail.de>
2022-06-01 15:10:39 +02:00
Simon L
0bd106e44a
Merge pull request #527 from nextcloud/enh/525/instance-restore-process
...
make the instance restore process better understandable
2022-04-26 21:59:09 +02:00
szaimen
8e00812e0d
update data fingerprint when restore was done
...
Signed-off-by: szaimen <szaimen@e.mail.de>
2022-04-26 15:44:13 +02:00
szaimen
d288bdd023
make the instance restore process better understandable
...
Signed-off-by: szaimen <szaimen@e.mail.de>
2022-04-24 14:12:03 +02:00