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
Roque
slapos
Commits
4577f666
Commit
4577f666
authored
Aug 27, 2013
by
Romain Courteaud
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Only keep the latest status in the rss.
parent
7716c147
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
software/backupserver/software.cfg
software/backupserver/software.cfg
+1
-1
software/backupserver/template-backup-script.sh.in
software/backupserver/template-backup-script.sh.in
+1
-0
No files found.
software/backupserver/software.cfg
View file @
4577f666
...
@@ -196,7 +196,7 @@ mode = 0644
...
@@ -196,7 +196,7 @@ mode = 0644
[template-backup-script]
[template-backup-script]
recipe = slapos.recipe.template
recipe = slapos.recipe.template
url = ${:_profile_base_location_}/template-backup-script.sh.in
url = ${:_profile_base_location_}/template-backup-script.sh.in
md5sum =
92183f2d42e8ffb8112f26ecab2cdcbc
md5sum =
8a076962fc4df7f154572543899328e3
output = ${buildout:directory}/template-backup-script.sh.in
output = ${buildout:directory}/template-backup-script.sh.in
mode = 0644
mode = 0644
...
...
software/backupserver/template-backup-script.sh.in
View file @
4577f666
...
@@ -22,6 +22,7 @@ ${rdiff-backup-output:rdiff-backup} \
...
@@ -22,6 +22,7 @@ ${rdiff-backup-output:rdiff-backup} \
RESULT=$?
RESULT=$?
# Inform about backup status
# Inform about backup status
${coreutils-output:rm} -f $${:status_log}
if [ $RESULT -eq 0 ]
if [ $RESULT -eq 0 ]
then
then
${coreutils-output:echo} "`${coreutils-output:date} -u`, $${:hostname} backup success" >> $${:status_log}
${coreutils-output:echo} "`${coreutils-output:date} -u`, $${:hostname} backup success" >> $${:status_log}
...
...
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