Skip to content
Snippets Groups Projects
mentat-backup.py.conf 2.47 KiB
Newer Older
#-------------------------------------------------------------------------------
#
# CONFIGURATION FILE FOR MENTAT-BACKUP.PY MODULE
#
#-------------------------------------------------------------------------------

Jan Mach's avatar
Jan Mach committed
{
    #---------------------------------------------------------------------------
    # Custom script configurations
    #---------------------------------------------------------------------------

    # Do not upload the backup file to remote storage (flag).
    #   default: false
    #   type:    boolean
    #
    # Name of the local mount point directory for remote storage.
    #   default: "/media/ds-store"
    # Name of the local temporary file directory.
    #   default: "/var/mentat/tmp"
    # Name of the local database backup directory.
    #   default: "/var/mentat/backups"
    #"backup_dir": "/var/mentat/backups",
    # SSH connection string for the remote host to which to sychronize backups.
    #"remote_host": "user@host.domain.org",

    # Directory path on the remote host to which to sychronize backups.
    #   default: None
    #   type:    string
    #
    #"remote_dir": "/var/backups/mentat/",
    #---------------------------------------------------------------------------
    # Common script configurations
    #---------------------------------------------------------------------------

    #"regular": false,
    #"shell": false,
    "interval": "daily",
    #"adjust_thresholds": false,
    #"time_high": null,

    #---------------------------------------------------------------------------
    # Common application configurations
    #---------------------------------------------------------------------------

    #"quiet": false,
    #"verbosity": 0,
    #"log_file": "/var/mentat/log/mentat-backup.py.log",
    #"log_level": "info",
    #"runlog_dir": "/var/mentat/run/mentat-backup.py",
    #"runlog_dump": false,
    #"runlog_log": false,
    #"pstate_file": "/var/mentat/run/mentat-backup.py.pstate",
    #"pstate_dump": false,
    #"pstate_log": false,
    #"action": null,
    #"user": "mentat",
    #"group": "mentat",

    # This is a dummy last configuration so that the user does not have to fix
    # the commas in the whole configuration file after each change.
    "_dummy_": "_dummy_"
Jan Mach's avatar
Jan Mach committed
}