Compare commits
No commits in common. "0bc0f8e5f9442537755a9c85927a699ddf99b038" and "61e505952d7bcc4d9aa2d3d966671732edf12e58" have entirely different histories.
0bc0f8e5f9
...
61e505952d
@ -36,13 +36,12 @@ borgRepoPassphrase="p@ssW0rd"
|
|||||||
# FULL PATH where the associated keyfile for your repo is located -- relevant
|
# 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
|
# only if your repo requires a keyfile (i.e. 'keyfile' vs 'repokey') and if you
|
||||||
# are not using the default keyfile location
|
# 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
|
# REQUIRED: path to text file containing a list (one per line) of files/
|
||||||
# by default, the script will only backup your mailcow program directory
|
# directories to include in your backup. Since this is a generic backup script,
|
||||||
# (e.g. /opt/mailcow-dockerized) and your mailcow data volumes. If you would
|
# nothing is defined by default. Therefore, ONLY files specified in this file
|
||||||
# like additional files included (perhaps certificates, system configuration,
|
# will be backed up!
|
||||||
# etc.) include those locations listed one item per line in the file below
|
|
||||||
# see repo wiki for more details
|
# see repo wiki for more details
|
||||||
borgXtraListPath="/scripts/backup/xtraLocations.borg"
|
borgXtraListPath="/scripts/backup/xtraLocations.borg"
|
||||||
|
|
||||||
|
@ -49,12 +49,12 @@
|
|||||||
# include the paths to important configuration files/directories and/or
|
# include the paths to important configuration files/directories and/or
|
||||||
# data directories
|
# data directories
|
||||||
|
|
||||||
# mailcow configuration
|
# mailcow configuration (example)
|
||||||
/opt/mailcow-dockerized/
|
/opt/mailcow-dockerized/
|
||||||
|
|
||||||
# NGINX (if this host is a reverse proxy, for example)
|
# NGINX (example)
|
||||||
/etc/nginx/
|
/etc/nginx/
|
||||||
/usr/share/nginx/html/
|
/usr/share/nginx/html/
|
||||||
|
|
||||||
# LetsEncrypt
|
# LetsEncrypt (example)
|
||||||
/etc/letsencrypt/
|
/etc/letsencrypt/
|
||||||
|
@ -3,8 +3,8 @@
|
|||||||
#############################################################################
|
#############################################################################
|
||||||
# $Id$
|
# $Id$
|
||||||
#############################################################################
|
#############################################################################
|
||||||
# Log: mailcow backup
|
# Log: Backup script (backup)
|
||||||
# Revision 1.1 2019/07/20
|
# Revision 1.0 2018/10/16
|
||||||
# Written by Asif Bacchus
|
# Written by Asif Bacchus
|
||||||
#############################################################################
|
#############################################################################
|
||||||
|
|
||||||
@ -34,7 +34,7 @@ if ($detailLevel == 0) {
|
|||||||
elsif ($ThisLine =~ /\-- \[WARNING\] /) {
|
elsif ($ThisLine =~ /\-- \[WARNING\] /) {
|
||||||
$summaryWarn++;
|
$summaryWarn++;
|
||||||
}
|
}
|
||||||
elsif ($ThisLine =~ /All processes completed/) {
|
elsif ($ThisLine =~ /All processes completed successfully/) {
|
||||||
$summarySuccess++;
|
$summarySuccess++;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user