2019-01-02 19:45:21 +01:00
|
|
|
EVOBACKUP-INCL(5) - File Formats Manual
|
2019-01-02 19:40:33 +01:00
|
|
|
|
2019-01-02 19:45:21 +01:00
|
|
|
# NAME
|
2019-01-02 19:40:33 +01:00
|
|
|
|
2019-01-02 19:45:21 +01:00
|
|
|
**evobackup-incl** - incremental backup configuration
|
2019-01-02 19:40:33 +01:00
|
|
|
|
2019-01-02 19:45:21 +01:00
|
|
|
# SYNOPSIS
|
2019-01-02 19:40:33 +01:00
|
|
|
|
2019-01-02 19:45:21 +01:00
|
|
|
> \+%Y-%m-%d.-%day
|
|
|
|
|
|
|
|
# DESCRIPTION
|
|
|
|
|
|
|
|
Located by default in
|
|
|
|
*/etc/evobackup/*,
|
|
|
|
each
|
|
|
|
**evobackup-incl**
|
|
|
|
file is named after the
|
|
|
|
bkctld(8)
|
|
|
|
backup for which the rules it contains must apply.
|
|
|
|
|
|
|
|
The rules it defines decide which incremental backups are kept when running
|
|
|
|
|
|
|
|
# bkctld rm
|
|
|
|
|
|
|
|
Each line defines a single rule.
|
|
|
|
The first part of the rule describes when the backup was taken,
|
|
|
|
the second part decides how long to keep it.
|
|
|
|
Lines beginning with the
|
|
|
|
'#'
|
|
|
|
character are comments and are ignored.
|
|
|
|
The order of the rules does not matter.
|
|
|
|
|
|
|
|
Evobackups that do not have their nominal
|
|
|
|
**evobackup-incl**
|
|
|
|
file use the default rules defined in
|
|
|
|
*/usr/share/bkctld/inc.tpl*
|
|
|
|
|
|
|
|
# EXAMPLES
|
2019-01-02 19:40:33 +01:00
|
|
|
|
|
|
|
Keep today's backup:
|
|
|
|
|
2019-01-02 19:45:21 +01:00
|
|
|
+%Y-%m-%d.-0day
|
2019-01-02 19:40:33 +01:00
|
|
|
|
|
|
|
Keep yesterday's backup:
|
|
|
|
|
2019-01-02 19:45:21 +01:00
|
|
|
+%Y-%m-%d.-1day
|
2019-01-02 19:40:33 +01:00
|
|
|
|
|
|
|
Keep the first day of this month:
|
|
|
|
|
2019-01-02 19:45:21 +01:00
|
|
|
+%Y-%m-01.-0month
|
2019-01-02 19:40:33 +01:00
|
|
|
|
|
|
|
Keep the first day of last month:
|
|
|
|
|
2019-01-02 19:45:21 +01:00
|
|
|
+%Y-%m-01.-1month
|
2019-01-02 19:40:33 +01:00
|
|
|
|
|
|
|
Keep backups for every 15 days:
|
|
|
|
|
2019-01-02 19:45:21 +01:00
|
|
|
+%Y-%m-01.-1month
|
|
|
|
+%Y-%m-15.-1month
|
2019-01-02 19:40:33 +01:00
|
|
|
|
|
|
|
Keep a backup of the first day of january:
|
|
|
|
|
2019-01-02 19:45:21 +01:00
|
|
|
+%Y-01-01.-1month
|
2019-01-02 19:40:33 +01:00
|
|
|
|
|
|
|
Keep backups of the last 4 days and the first day of the last 2 months:
|
|
|
|
|
2019-01-02 19:45:21 +01:00
|
|
|
+%Y-%m-%d.-0day
|
|
|
|
+%Y-%m-%d.-1day
|
|
|
|
+%Y-%m-%d.-2day
|
|
|
|
+%Y-%m-%d.-3day
|
|
|
|
+%Y-%m-01.-0month
|
|
|
|
+%Y-%m-01.-1month
|
|
|
|
|
|
|
|
# SEE ALSO
|
|
|
|
|
|
|
|
bkctld(8),
|
|
|
|
cron(8),
|
|
|
|
*/etc/evobackup/tpl/inc.tpl*
|
|
|
|
|
|
|
|
OpenBSD 6.4 - December 28, 2018
|