summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Bloch <matthew@bytemark.co.uk>2014-11-20 10:43:22 +0000
committerMatthew Bloch <matthew@bytemark.co.uk>2014-11-20 10:43:22 +0000
commit8c331e97947712af1af66de393d60bf75c6cc5f1 (patch)
tree0cd4dbca20c1b6756b3bf9439ef89c43e05eed1b
parent863dfb339bdae4a94813011585707c86c36794d0 (diff)
Tweaked default backup retention.
-rw-r--r--lib/byteback/backup_directory.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/byteback/backup_directory.rb b/lib/byteback/backup_directory.rb
index e557dfe..fc11840 100644
--- a/lib/byteback/backup_directory.rb
+++ b/lib/byteback/backup_directory.rb
@@ -8,7 +8,7 @@ module Byteback
# Order backups by their closeness to defined backup times, which are
# listed in a set order (i.e. today's backup is more important than yesterday's).
#
- BACKUP_IMPORTANCE = [0, 1, 2, 3, 7, 14, 21, 28, 56, 112]
+ BACKUP_IMPORTANCE = [0, 1, 2, 7, 14, 21, 28, 56, 112]
def sort_by_importance(snapshots_unsorted, now=Time.now)
snapshots_sorted = []