-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
APPS-1032 Update configuration and restore examples (#85)
- Loading branch information
Showing
3 changed files
with
47 additions
and
32 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,31 @@ | ||
--- | ||
aerospike-clusters: | ||
cluster1: | ||
absCluster1: | ||
host: "localhost" | ||
port: 3000 | ||
# user: "tester" | ||
# password: "psw" | ||
|
||
user: tester | ||
password: psw | ||
storage: | ||
s3: | ||
minioStorage: | ||
# type 1 for s3 and type 0 for local storage. | ||
type: 1 | ||
s3-endpoint-override: "http://localhost:9000" | ||
s3-region: "eu-central-1" | ||
s3-profile: "minio" | ||
path: "s3://as-backup-bucket/test-backup" | ||
|
||
# Before you start the service, create a bucket called as-backup-bucket in Minio. | ||
path: s3://as-backup-bucket/minioStorage | ||
s3-region: eu-central-1 | ||
s3-profile: minio | ||
s3-endpoint-override: http://localhost:9000 | ||
backup-policies: | ||
policy1: | ||
type: 1 | ||
keepFilesPolicy: | ||
# Run the backup in one thread. | ||
parallel: 1 | ||
# Full backups will not be deleted when a new one will be created. | ||
remove-files: false | ||
|
||
backup-routines: | ||
routine1: | ||
interval: 30000 | ||
incr-interval: 5000 | ||
backup-policy: "policy1" | ||
source-cluster: "cluster1" | ||
storage: "s3" | ||
namespace: "test" | ||
minioKeepFilesRoutine: | ||
# 24 hours interval for full backups. | ||
interval: 86400000 | ||
# 1 hour interval for incremental backups. | ||
incr-interval: 3600000 | ||
source-cluster: absCluster1 | ||
storage: minioStorage | ||
namespace: source-ns1 | ||
backup-policy: keepFilesPolicy |
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 |
---|---|---|
@@ -1,6 +1,13 @@ | ||
{ | ||
"host": "localhost", | ||
"port": 3000, | ||
"directory": "./testout/backup", | ||
"set_list": ["set1"] | ||
"destination": { | ||
"host": "localhost", | ||
"port": 3000 | ||
}, | ||
"policy": { | ||
"set_list": ["set1"], | ||
"no-generation": true | ||
}, | ||
"source": { | ||
"path": "./testout/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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,16 @@ | ||
{ | ||
"host": "localhost", | ||
"port": 3000, | ||
"directory": "s3://as-backup-bucket/test-backup", | ||
"s3_region": "eu-central-1", | ||
"s3_profile": "minio", | ||
"s3_endpoint_override": "http://localhost:9000", | ||
"set_list": ["set1"] | ||
"destination": { | ||
"host": "localhost", | ||
"port": 3000 | ||
}, | ||
"policy": { | ||
"set_list": ["set1"], | ||
"no-generation": true | ||
}, | ||
"source": { | ||
"path": "s3://as-backup-bucket/minioStorage", | ||
"s3_region": "eu-central-1", | ||
"s3_profile": "minio", | ||
"s3_endpoint_override": "http://localhost:9000" | ||
} | ||
} |