|
NAMEzelta policy - Execute a list of zelta backup operations from a configuration file. SYNOPSISzelta policy [backup-override-options] [site|host|dataset] ... DESCRIPTIONzelta policy reads from a simple YAML-style configuration file containing parameters for zelta backup. Running zelta policy without parameters will iterate through the entire configuration file. Override options for either zelta policy or zelta backup can be provided on the command line, for example, adding --json will cause that parameter to be passed to all zelta backup calls. Subsequent undashed parameters will be matched against a user-defined site name, host name, or dataset, and the backup processes will be limited to that group or item. OptionsIn the zelta policy configuration file, you may override zelta backup’s default parameters as defined in zelta-backup(8). The following parameters are specific zelta policy:
Backup Job ParametersWithout additional parameters, zelta policy will run a zelta backup job for each dataset in the configuration file. Providing one of the following will limit the backup job. site Run a backup job only for the site listed. A site is a user defined top-level parameter in the configuration file representing a list of one or more hosts. host Run a backup job only for the host listed. Hosts must be accessible via SSH private-key authentication or localhost. dataset Run a backup job only for the dataset listed. Note this parameter can match the source or target dataset, e.g., requesting zroot would run the replication for any matching dataset on any host. host:dataset Specify a source or backup dataset endpoint, equivalent to the paramemters of zelta backup. FILESFor detailed documentation of the zelta policy configuraiton see zelta.conf.example.
ENVIRONMENTFor detailed documentation of the zelta environment variables see zelta.env.example.
SEE ALSOcron(8), ssh(1), zelta(8), zelta-backup(8), zfs(8) AUTHORSDaniel J. Bell bellta@belltower.it WWWhttps://zelta.space
|