Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.toolbox
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
6
Merge Requests
6
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
slapos.toolbox
Commits
00b26ae9
Commit
00b26ae9
authored
Nov 13, 2018
by
Nicolas Wavrant
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixup! resilient: port the export script of the webrunner to python
parent
0191b857
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
slapos/resilient/runner_exporter.py
slapos/resilient/runner_exporter.py
+2
-2
No files found.
slapos/resilient/runner_exporter.py
View file @
00b26ae9
...
@@ -149,6 +149,6 @@ def runExport():
...
@@ -149,6 +149,6 @@ def runExport():
with
CwdContextManager
(
backup_runner_path
):
with
CwdContextManager
(
backup_runner_path
):
if
backupFilesWereModifiedDuringExport
(
export_start_date
):
if
backupFilesWereModifiedDuringExport
(
export_start_date
):
print
(
"ERROR: Some backups are not consistent, exporter should be re-run."
print
(
"ERROR: Some backups are not consistent, exporter should be re-run."
" Let's sleep %s minutes, to let the backup end..."
%
backup_wait_time
)
" Let's sleep %s minutes, to let the backup end..."
%
args
.
backup_wait_time
)
time
.
sleep
(
backup_wait_time
*
60
)
time
.
sleep
(
args
.
backup_wait_time
*
60
)
system
.
exit
(
1
)
system
.
exit
(
1
)
\ No newline at end of file
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