diff options
author | Matthew Bloch <matthew@bytemark.co.uk> | 2014-11-06 10:28:41 +0000 |
---|---|---|
committer | Matthew Bloch <matthew@bytemark.co.uk> | 2014-11-06 10:28:41 +0000 |
commit | 0bc8952ec5bb413132a03a75ff310cc94a91ed94 (patch) | |
tree | 148cc39e80d566239c57ae765a761dd943397f25 /lib | |
parent | 25ac1a979ab6c85e00c3bbc0ff47bc6af7870f6d (diff) |
Corrected snapshot path for new backups (was missing hostname).
Diffstat (limited to 'lib')
-rw-r--r-- | lib/byteback/backup_directory.rb | 2 |
1 files changed, 1 insertions, 1 deletions
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 |