-
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #97 from jkaninda/multi-backup
Add multi database backup
- Loading branch information
Showing
11 changed files
with
211 additions
and
16 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
title: Update deprecated configurations | ||
layout: default | ||
parent: How Tos | ||
nav_order: 11 | ||
--- |
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,40 @@ | ||
--- | ||
title: Run multiple database backup schedules in the same container | ||
layout: default | ||
parent: How Tos | ||
nav_order: 11 | ||
--- | ||
|
||
Multiple backup schedules with different configuration can be configured by mounting a configuration file into `/config/config.yaml` `/config/config.yml` or by defining an environment variable `BACKUP_CONFIG_FILE=/backup/config.yaml`. | ||
|
||
## Configuration file | ||
|
||
```yaml | ||
#cronExpression: "@every 20m" //Optional, for scheduled backups | ||
cronExpression: "" | ||
databases: | ||
- host: postgres1 | ||
port: 5432 | ||
name: database1 | ||
user: database1 | ||
password: password | ||
path: /s3-path/database1 #For SSH or FTP you need to define the full path (/home/toto/backup/) | ||
- host: postgres2 | ||
port: 5432 | ||
name: lldap | ||
user: lldap | ||
password: password | ||
path: /s3-path/lldap #For SSH or FTP you need to define the full path (/home/toto/backup/) | ||
- host: postgres3 | ||
port: 5432 | ||
name: keycloak | ||
user: keycloak | ||
password: password | ||
path: /s3-path/keycloak #For SSH or FTP you need to define the full path (/home/toto/backup/) | ||
- host: postgres4 | ||
port: 5432 | ||
name: joplin | ||
user: joplin | ||
password: password | ||
path: /s3-path/joplin #For SSH or FTP you need to define the full path (/home/toto/backup/) | ||
``` |
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
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