Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
slapos
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Iliya Manolov
slapos
Commits
44f3e021
Commit
44f3e021
authored
Aug 29, 2016
by
Nicolas Wavrant
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
resilient: adds promise for testing integrity of backups files in PBS
parent
c7f71ecf
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
0 deletions
+14
-0
stack/resilient/instance-pull-backup.cfg.in
stack/resilient/instance-pull-backup.cfg.in
+14
-0
No files found.
stack/resilient/instance-pull-backup.cfg.in
View file @
44f3e021
...
@@ -8,6 +8,7 @@ parts =
...
@@ -8,6 +8,7 @@ parts =
cron-entry-logrotate
cron-entry-logrotate
sshkeys-authority
sshkeys-authority
sshkeys-openssh
sshkeys-openssh
backup-transfer-integrity-promise
## Monitor for pbs
## Monitor for pbs
monitor-base
monitor-base
...
@@ -237,6 +238,19 @@ monitor-title = PBS Instance
...
@@ -237,6 +238,19 @@ monitor-title = PBS Instance
monitor-password = $${htpasswd:passwd}
monitor-password = $${htpasswd:passwd}
monitor-username = $${htpasswd:username}
monitor-username = $${htpasswd:username}
#----------------
#--
#-- Resiliency promises.
[backup-transfer-integrity-promise]
recipe = slapos.recipe.template:jinja2
template = inline:
#!${dash:location}/bin/dash
cd $${directory:pbs-backup}
diff proof.signature $(find . -name backup.signature -maxdepth 2)
rendered = $${basedirectory:promises}/backup-transfer-integrity-promise
mode = 700
#----------------
#----------------
#--
#--
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment