From 8c331e97947712af1af66de393d60bf75c6cc5f1 Mon Sep 17 00:00:00 2001 From: Matthew Bloch Date: Thu, 20 Nov 2014 10:43:22 +0000 Subject: Tweaked default backup retention. --- 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 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 = [] -- cgit v1.2.1