Compare commits
3 Commits
61e505952d
...
0bc0f8e5f9
Author | SHA1 | Date | |
---|---|---|---|
|
0bc0f8e5f9 | ||
|
21e4a6774c | ||
|
7e739d96a1 |
@ -36,12 +36,13 @@ 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"
|
||||
|
||||
# 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!
|
||||
# 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
|
||||
# see repo wiki for more details
|
||||
borgXtraListPath="/scripts/backup/xtraLocations.borg"
|
||||
|
||||
|
@ -49,12 +49,12 @@
|
||||
# include the paths to important configuration files/directories and/or
|
||||
# data directories
|
||||
|
||||
# mailcow configuration (example)
|
||||
# mailcow configuration
|
||||
/opt/mailcow-dockerized/
|
||||
|
||||
# NGINX (example)
|
||||
# NGINX (if this host is a reverse proxy, for example)
|
||||
/etc/nginx/
|
||||
/usr/share/nginx/html/
|
||||
|
||||
# LetsEncrypt (example)
|
||||
# LetsEncrypt
|
||||
/etc/letsencrypt/
|
||||
|
@ -3,8 +3,8 @@
|
||||
#############################################################################
|
||||
# $Id$
|
||||
#############################################################################
|
||||
# Log: Backup script (backup)
|
||||
# Revision 1.0 2018/10/16
|
||||
# Log: mailcow backup
|
||||
# Revision 1.1 2019/07/20
|
||||
# Written by Asif Bacchus
|
||||
#############################################################################
|
||||
|
||||
@ -34,7 +34,7 @@ if ($detailLevel == 0) {
|
||||
elsif ($ThisLine =~ /\-- \[WARNING\] /) {
|
||||
$summaryWarn++;
|
||||
}
|
||||
elsif ($ThisLine =~ /All processes completed successfully/) {
|
||||
elsif ($ThisLine =~ /All processes completed/) {
|
||||
$summarySuccess++;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user