# Base directory to where data will be synced.
BASEDIR=/var/lib/opalsync

# Sync action (opalsync foreach sync )
#####################
# Method to use for syncing.
METHOD="rsyncoverssh"
# Directories to sync. Separated by whitespace.
DIRS="/"
# Directory format to where replaced files will be placed.
BACKUP="%Y/%m/%d/%H:%M"
# Where to send mails after a sync.
MAILTO="root"
# Ignore making a sync of the target if the condition string the variable
# is set to returns true. Consider this as an normal condition.
# Not used if it is set to the empty string.
# IGNORESYNCNORMAL="-e $BASEDIR/touched"
# IGNORESYNCNORMAL="-e $DESTINATION/touched"
IGNORESYNCNORMAL=""
# Treat the target as problematic (erroneous) and do not sync it.
# Not used if it is set to the empty string.
# IGNORESYNCERROR="-e $BASEDIR/touched"
# IGNORESYNCERROR="-e $DESTINATION/touched"
IGNORESYNCERROR=""

# Remove old action ( opalsync foreach removeold )
#####################
# What dates to remove
REMOVEOLD=""
# REMOVEOLD="64days 65days 66days 67days"
REMOVEOLDDATE="replaced/%Y/%m/%d"
# REMOVEOLDDATE="reduced/%Y/%m"
# REMOVEOLDDATE="reduced/%Y/%U"

# Reduce actions ( opalsync foreach reduce0 reduce1 reduce2 )
#####################
# First reduce action. By default this reduces from normal replaced files to per month.
REDUCE0=
# REDUCE0="62days 61days 60days 59days 58days 57days 56days 54days 53days
#   52days 51days 50days 49days 48days 47days 46days 44days 43days
#   42days 41days 40days 39days 38days 37days 36days 34days 33days"
REDUCEFROMDATE0="replaced/%Y/%m/%d/*:*/"
# 
REDUCETODATE0="reduced/%Y/%m/"
# Second reduce action. By default this reduces from normal replaced files to
# per week.
REDUCE1=
# REDUCE1="24days 23days 22days 21days 20days 19days 18days 17days 16days 15days"
REDUCEFROMDATE1="replaced/%Y/%m/%d/*:*/"
REDUCETODATE1="reduced/%Y/%U/"
# Third reduce action. By default this reduces from monthly reduction to per
# year.
REDUCE2=
# REDUCE2="13months 14months"
# REDUCEFROMDATE2="reduced/%Y/%m/"
# REDUCETODATE2="reduced/%Y/"
