Ignore:
Timestamp:
02/25/14 10:55:49 (9 months ago)
Author:
Kris Moore <kris@…>
Branches:
master, releng/10.0.1, releng/10.0.2, releng/10.0.3, releng/10.1
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/lpreserver

    r9558561 r9cd0fa0  
    313313   
    314314  action = start / stop 
    315   frequency = daily@XX / hourly / 30min / 10min / 5min 
    316                     ^^ Hour to execute 
     315  frequency = auto / daily@XX / hourly / 30min / 10min / 5min 
     316                           ^^ Hour to execute 
    317317  numToKeep = Number of snapshots to keep total 
     318 
     319  NOTE: When frequency is set to "auto" the following will take place: 
     320    * Snapshots will be created every 5 minutes and kept for an hour. 
     321    * A hourly snapshot will be kept for a day. 
     322    * A daily snapshot will be kept for a month. 
     323    * A Monthly snapshot will be kept for a year. 
     324    * The life-preserver daemon will also keep track of the zpool disk space, 
     325      if the capacity falls below 75%, the oldest snapshot will be auto-pruned. 
    318326 
    319327Example: 
Note: See TracChangeset for help on using the changeset viewer.