-
Notifications
You must be signed in to change notification settings - Fork 0
/
.mariabak.conf
28 lines (24 loc) · 1.17 KB
/
.mariabak.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
;; mariabak configuration file
;;
;; This file must be placed in user home directory
;;
;; Available placeholders to be used on "dirnameformat" (the name of backup directory):
;;
;; date = The current date formatted according to "dateformat".
;; time = The current time formatted according to "timeformat".
;; basedir = The path to the MariaDB/MySQL installation directory (path will be converted to a valid string to be used in a directory name).
;; datadir = The path to the MariaDB/MySQL server data directory (path will be converted to a valid string to be used in a directory name).
;; host = The hostname of the MariaDB/MySQL server.
;; port = The port of the MariaDB/MySQL server.
dateformat = Y-m-d
timeformat = H-i-s
;; The format of directory name that will be created for each backup.
;; WARNING: Don't use invalid characters for directory name.
dirnameformat = backup-db_{date}_{time}_{host}_{port}
;; Classic directory name format:
;dirnameformat = backup-db_{date}_{time}_basedir[{basedir}]_datadir[{datadir}]
;; Other examples
;dirnameformat = backup-{date}
;dirnameformat = {date}_{time}
;dirnameformat = "Backup made on {date}"
;dirnameformat = just_one_backup