Commit graph

49 commits

Author SHA1 Message Date
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
Simon L 888d16d790
Merge pull request #455 from nextcloud/enh/47/auto-backup
add option to enable daily backups
2022-04-06 13:54:00 +02:00
szaimen bcf36406a8 add option to enable daily backups
Signed-off-by: szaimen <szaimen@e.mail.de>
2022-04-06 00:59:55 +02:00
szaimen 68fd14bc86 improve instance restore for when nextcloud_datadir is set/not set
Signed-off-by: szaimen <szaimen@e.mail.de>
2022-04-03 20:46:28 +02:00
szaimen f5e8e5630d improve the restore process
Signed-off-by: szaimen <szaimen@e.mail.de>
2022-03-30 16:35:04 +02:00
szaimen 3eede90e86 fix the restore UX flow and some other small improvements
Signed-off-by: szaimen <szaimen@e.mail.de>
2022-03-22 23:18:46 +01:00
szaimen 6c6c56fa1b allow to restore the whole instance from backup
Signed-off-by: szaimen <szaimen@e.mail.de>
2022-03-22 20:31:06 +01:00
szaimen 15a289e820 fix typo in backup script
Signed-off-by: szaimen <szaimen@e.mail.de>
2022-03-11 09:27:38 +01:00
szaimen 8f1fcde006 fix selecting a backup container
Signed-off-by: szaimen <szaimen@e.mail.de>
2022-02-16 16:26:35 +01:00
szaimen 63e0849215 allow to select the archive to restore from
Signed-off-by: szaimen <szaimen@e.mail.de>
2022-02-16 12:00:54 +01:00
szaimen d927e5a226 fix the restore process
Signed-off-by: szaimen <szaimen@e.mail.de>
2021-12-29 19:57:26 +01:00
szaimen 2ab0480f59 skip any update procedure if nextcloud was just restored and more
Signed-off-by: szaimen <szaimen@e.mail.de>
2021-12-10 14:57:59 +01:00
szaimen 17e1c0250f exclude the session and certs folder from restore
Signed-off-by: szaimen <szaimen@e.mail.de>
2021-12-07 17:49:00 +01:00
Nextcloud Team 2295a33590 Initial import 2021-11-30 11:20:42 +01:00