summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick J Cherry <patrick@bytemark.co.uk>2015-01-19 13:21:16 +0000
committerPatrick J Cherry <patrick@bytemark.co.uk>2015-01-19 13:21:16 +0000
commitbb1489d783cc50b0253cbadd3f5d0ba750347acf (patch)
tree438eb4ef58a8046d98a5d5198cd76259147bdfac
parentb92141d597f786c91fa57647e3acb6f05d6f90ef (diff)
Fixed up calls to trigger the snapshot.
-rwxr-xr-xbyteback-backup2
-rwxr-xr-xbyteback-receive2
2 files changed, 2 insertions, 2 deletions
diff --git a/byteback-backup b/byteback-backup
index 20ef746..3b6a040 100755
--- a/byteback-backup
+++ b/byteback-backup
@@ -253,6 +253,6 @@ info("Backup completed, requesting snapshot")
# Mark the backup as done on the other end
#
fatal("Backup could not be marked complete") unless
- ssh("byteback-snapshot", "--snapshot", @verbose) == 0
+ ssh("byteback-receive", "--complete", @verbose) == 0
info("Finished")
diff --git a/byteback-receive b/byteback-receive
index d412bea..2c85005 100755
--- a/byteback-receive
+++ b/byteback-receive
@@ -42,7 +42,7 @@ end
error("Please only choose one mode") if opts[:ping] && opts[:complete]
if opts[:complete]
- system("byteback-snapshot", byteback_root)
+ system("byteback-snapshot", "--root", byteback_root)
elsif opts[:ping]
exit 0
else