From 0bc8952ec5bb413132a03a75ff310cc94a91ed94 Mon Sep 17 00:00:00 2001 From: Matthew Bloch Date: Thu, 6 Nov 2014 10:28:41 +0000 Subject: Corrected snapshot path for new backups (was missing hostname). --- lib/byteback/backup_directory.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/byteback/backup_directory.rb b/lib/byteback/backup_directory.rb index e5ab8c0..9355a1d 100644 --- a/lib/byteback/backup_directory.rb +++ b/lib/byteback/backup_directory.rb @@ -139,7 +139,7 @@ module Byteback # Create a new snapshot of 'current' # def new_snapshot!(time = Time.now) - snapshot_path = time.strftime("%Y-%m-%dT%H:%M%z") + snapshot_path = time.strftime(dir+"/%Y-%m-%dT%H:%M%z") Snapshot.new(self, snapshot_path).create!(current.path) end -- cgit v1.2.1