Scabbers now needs its own database for DMARC reports.
This commit is contained in:
parent
ac559873c3
commit
02ff612b94
|
@ -10,4 +10,5 @@ base:
|
||||||
- secrets/mailman
|
- secrets/mailman
|
||||||
- secrets/smtpauth
|
- secrets/smtpauth
|
||||||
- secrets/webmail
|
- secrets/webmail
|
||||||
|
- secrets/mariadb
|
||||||
- secrets/dmarcts
|
- secrets/dmarcts
|
||||||
|
|
|
@ -99,6 +99,8 @@ PRE_BACKUP ()
|
||||||
# all installed packages to a file.
|
# all installed packages to a file.
|
||||||
#echo " writing dpkg selections to /root/dpkg-selections.log..."
|
#echo " writing dpkg selections to /root/dpkg-selections.log..."
|
||||||
#dpkg --get-selections | diff - /root/dpkg-selections.log > /dev/null || dpkg --get-selections > /root/dpkg-selections.log
|
#dpkg --get-selections | diff - /root/dpkg-selections.log > /dev/null || dpkg --get-selections > /root/dpkg-selections.log
|
||||||
|
|
||||||
|
mysqldump --all-databases > /root/mysql.sql
|
||||||
}
|
}
|
||||||
|
|
||||||
# This user-defined bash function is executed after a backup is made
|
# This user-defined bash function is executed after a backup is made
|
||||||
|
|
|
@ -35,4 +35,5 @@ base:
|
||||||
- mailman
|
- mailman
|
||||||
- mercurial
|
- mercurial
|
||||||
- webmail
|
- webmail
|
||||||
|
- mariadb
|
||||||
- dmarc_reports
|
- dmarc_reports
|
||||||
|
|
Loading…
Reference in New Issue