forked from viktorstrate/embassyos-photoview-wrapper
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* update new navigation path in readme * save history of postgresql15 migration * add broken postgresql14 bin, fix reset admin user action, fix backups, reorganize * increase health check timeout * fix backups to spersist database; cleanup * update release notes
- Loading branch information
Showing
11 changed files
with
129 additions
and
64 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
#!/bin/sh | ||
|
||
set -ea | ||
|
||
case "$1" in | ||
backup-create) | ||
mkdir -p /mnt/backup/media | ||
compat duplicity create /mnt/backup/media /media | ||
|
||
mkdir -p /mnt/backup/database | ||
compat duplicity create /mnt/backup/database /var/lib/postgresql/14 | ||
|
||
mkdir -p /mnt/backup/dbconfig | ||
compat duplicity create /mnt/backup/dbconfig /etc/postgresql/14 | ||
;; | ||
backup-restore) | ||
compat duplicity restore /mnt/backup/media /media | ||
compat duplicity restore /mnt/backup/database /var/lib/postgresql/14 | ||
compat duplicity restore /mnt/backup/dbconfig /etc/postgresql/14 | ||
;; | ||
*) | ||
esac | ||
|
||
exit 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters