Ignore:
Timestamp:
02/25/14 10:55:49 (18 months ago)
Author:
Kris Moore <kris@…>
Branches:
master, enter/10, releng/10.0.1, releng/10.0.2, releng/10.0.3, releng/10.1, releng/10.1.1, releng/10.1.2, releng/10.2
Children:
4f9718b
Parents:
c24d6287
Message:
  • Major update to life-preserver backend

Add new "automatic" mode for creating snapshots

When enabled, this will create snapshots in the following manner:

  • Snapshots will be created every 5 minutes and kept for an hour.
  • A hourly snapshot will be kept for a day.
  • A daily snapshot will be kept for a month.
  • A Monthly snapshot will be kept for a year.
  • The life-preserver daemon will also keep track of the zpool disk space, if the capacity falls below 75%, the oldest snapshot will be auto-pruned.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src-sh/lpreserver/backend/functions.sh

    r44bdd65 r9cd0fa0  
    113113       30min) cLine="0,30    *       *       *       *" ;; 
    114114       10min) cLine="*/10    *       *       *       *" ;; 
    115         5min) cLine="*/5     *       *       *       *" ;; 
    116           *) exit_err "Invalid time specified" ;;  
     115   5min|auto) cLine="*/5     *       *       *       *" ;; 
     116           *) exit_err "Invalid time specified" ;; 
    117117   esac  
    118118 
Note: See TracChangeset for help on using the changeset viewer.