diff options
author | Matthew Bloch <matthew@bytemark.co.uk> | 2014-11-07 02:12:54 +0000 |
---|---|---|
committer | Matthew Bloch <matthew@bytemark.co.uk> | 2014-11-07 02:12:54 +0000 |
commit | 2345154ff8b4f03cd4288a8523aff9597c35dd1d (patch) | |
tree | 415533df52f905f05c3e5c83ac47ea5fac47f182 /lib | |
parent | 0bc8952ec5bb413132a03a75ff310cc94a91ed94 (diff) |
Tested fix to snapshot path :)
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 9355a1d..e557dfe 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(dir+"/%Y-%m-%dT%H:%M%z") + snapshot_path = time.strftime(dir.path + "/%Y-%m-%dT%H:%M%z") Snapshot.new(self, snapshot_path).create!(current.path) end |