Compare commits

..

No commits in common. "0bc0f8e5f9442537755a9c85927a699ddf99b038" and "61e505952d7bcc4d9aa2d3d966671732edf12e58" have entirely different histories.

5 changed files with 15 additions and 16 deletions

View File

@ -36,13 +36,12 @@ borgRepoPassphrase="p@ssW0rd"
# FULL PATH where the associated keyfile for your repo is located -- relevant
# only if your repo requires a keyfile (i.e. 'keyfile' vs 'repokey') and if you
# are not using the default keyfile location
#borgKeyfileLocation="/var/borgbackup/.config/borg/keys/server_address__repo_name"
borgKeyfileLocation="/var/borgbackup/.config/borg/keys/server_address__repo_name"
# additional files to backup
# by default, the script will only backup your mailcow program directory
# (e.g. /opt/mailcow-dockerized) and your mailcow data volumes. If you would
# like additional files included (perhaps certificates, system configuration,
# etc.) include those locations listed one item per line in the file below
# REQUIRED: path to text file containing a list (one per line) of files/
# directories to include in your backup. Since this is a generic backup script,
# nothing is defined by default. Therefore, ONLY files specified in this file
# will be backed up!
# see repo wiki for more details
borgXtraListPath="/scripts/backup/xtraLocations.borg"
@ -59,4 +58,4 @@ borgPruneSettings="--keep-within=14d --keep-daily=30 --keep-weekly=12 --keep-mon
# location of borg instance on your remote backup server
# this is very often just "borg1"
borgRemote="borg1"
borgRemote="borg1"

View File

@ -49,12 +49,12 @@
# include the paths to important configuration files/directories and/or
# data directories
# mailcow configuration
# mailcow configuration (example)
/opt/mailcow-dockerized/
# NGINX (if this host is a reverse proxy, for example)
# NGINX (example)
/etc/nginx/
/usr/share/nginx/html/
# LetsEncrypt
# LetsEncrypt (example)
/etc/letsencrypt/

View File

@ -11,4 +11,4 @@ Archive = /path/to/your/logfile.ext.?.gz
# You don't need to change this unless you have altered the 'stamp' variable in
# the script in which case you will want to update the regex in the custom pl
# script below
*sqFullStampAnywhere
*sqFullStampAnywhere

View File

@ -6,4 +6,4 @@ Title = "System and Mailcow Backup"
# Override the detail level for this service
# Remember the levels are: 0, 1-4, 5, 6+
# Detail = 0
# Detail = 0

View File

@ -3,8 +3,8 @@
#############################################################################
# $Id$
#############################################################################
# Log: mailcow backup
# Revision 1.1 2019/07/20
# Log: Backup script (backup)
# Revision 1.0 2018/10/16
# Written by Asif Bacchus
#############################################################################
@ -34,7 +34,7 @@ if ($detailLevel == 0) {
elsif ($ThisLine =~ /\-- \[WARNING\] /) {
$summaryWarn++;
}
elsif ($ThisLine =~ /All processes completed/) {
elsif ($ThisLine =~ /All processes completed successfully/) {
$summarySuccess++;
}
}
@ -109,4 +109,4 @@ exit (0);
# mode: perl
# perl-indent-level: 3
# indent-tabs-mode: nil
# End:
# End: