Table of Contents

FileBackupValve

Note

This valve is used to take a backup of a specific file, with a configurable retention

Properties

Name Description Default value Mandatory Supports property expansion
path (Relative) path of the file to take a backup of Yes No
dir (Relative) target path of the directory where to place the backups backups No No
count The maximal number of backups to keep 10 No No
dt_format A directory will created with the current date and time, using this format, in the target directory YYYYMMddHHmmss No No
keep_ext Backup directories ending with this name will not be deleted automatically .keep No No

Example Configuration

  {
    "name" : "FileBackupValve",
    "config" : {
      "path" : "./config/phenix-store.json",
      "count" : "7"
    }
  }