From be576b36599e5f5c31da0477c0ab5913c9582402 Mon Sep 17 00:00:00 2001 From: Patrick J Cherry Date: Fri, 18 Dec 2015 12:14:49 +0000 Subject: Added "." to the rsync restore command This prevents ALL TEH BACKUPS being copied back to the host. --- bin/byteback-receive | 2 ++ 1 file changed, 2 insertions(+) (limited to 'bin') diff --git a/bin/byteback-receive b/bin/byteback-receive index d6fce81..0d7d025 100755 --- a/bin/byteback-receive +++ b/bin/byteback-receive @@ -71,6 +71,8 @@ if (ARGV[0] == 'byteback-restore') Dir.chdir(byteback_host) + args << "." + restore.results.each do |r| args << File.join(".", r.snapshot, r.path) end -- cgit v1.2.1