The .gz extension has been added to the CLASSES_PATTERN in xport_backup.sh
This commit is contained in:
@ -10,6 +10,8 @@
|
|||||||
#
|
#
|
||||||
# Author: Kovács Zoltán <kovacsz@marcusconsulting.hu>
|
# Author: Kovács Zoltán <kovacsz@marcusconsulting.hu>
|
||||||
# License: GNU/GPL v3+ (https://www.gnu.org/licenses/gpl-3.0.en.html)
|
# License: GNU/GPL v3+ (https://www.gnu.org/licenses/gpl-3.0.en.html)
|
||||||
|
# 2025-05-26 v0.3
|
||||||
|
# mod: The .gz extension has been added to the CLASSES_PATTERN.
|
||||||
# 2025-04-02 v0.2
|
# 2025-04-02 v0.2
|
||||||
# fix: Omits all warnings about missing source folder(s).
|
# fix: Omits all warnings about missing source folder(s).
|
||||||
# 2025-03-06 v0.1 Initial release
|
# 2025-03-06 v0.1 Initial release
|
||||||
@ -22,7 +24,7 @@ PAR_RETAINDAYS=${PAR_RETAINDAYS:-"1"} # Days to retain the copies
|
|||||||
PAR_TARBALLDIR=${PAR_TARBALLDIR:-""} # Absolute path to tgz dumps
|
PAR_TARBALLDIR=${PAR_TARBALLDIR:-""} # Absolute path to tgz dumps
|
||||||
|
|
||||||
# Other initialisations.
|
# Other initialisations.
|
||||||
CLASSES_PATTERN="^([^.]*)\..*\.$HOSTNAME\.(dmp|sql\.gz|tgz|log)$"
|
CLASSES_PATTERN="^([^.]*)\..*\.$HOSTNAME\.(dmp|sql\.gz|gz|tgz|log)$"
|
||||||
DUMPPATH="storage/backups/dumps" # Default path to DB dumps
|
DUMPPATH="storage/backups/dumps" # Default path to DB dumps
|
||||||
EXPORTPATH="storage/backups/export" # Default path to export dir
|
EXPORTPATH="storage/backups/export" # Default path to export dir
|
||||||
TARBALLPATH="storage/backups/tarballs" # Default path to tgz dumps
|
TARBALLPATH="storage/backups/tarballs" # Default path to tgz dumps
|
||||||
|
Reference in New Issue
Block a user