-
Notifications
You must be signed in to change notification settings - Fork 12
/
README
55 lines (37 loc) · 1.31 KB
/
README
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
xtrabackup
----------
This is the xtrabackup module, to configure the wonderful Percona
xtrabackup utility to make non-blocking backups
Usage
-----
You will need to specify credentials for a user with suitable credentials;
see
http://www.percona.com/doc/percona-xtrabackup/innobackupex/privileges.html#permissions-and-privileges-needed
for further details
This module creates 'streaming' backups in the xbstream format, by default
compressed. Before you can restore, **you must run prepare**.
A restore script, /usr/local/bin/mysql-backup-restore is provided which will
do this for you.
class { "xtrabackup":
dbuser => "root",
dbpass => "rootdbpass",
hour => 3,
minute => 0,
keepdays => 14,
workdir => "/root/backupworkdir",
outputdir => "/mnt/nfs/mysqlbackups",
}
Please note that due to a bug in xtrabackup, your MySQL my.cnf **must** specify datadir. If it doesn't,
you should add datadir = /var/lib/mysql to the [mysqld] section.
License
-------
GNU GPL v2
Contact
-------
www.bashton.com
Support
-------
Please raise an issue on the github project page:
https://github.com/BashtonLtd/puppet-xtrabackup
Paid support and consultancy for all Bashton Ltd Open Source projects
and more besides is available; please see http://www.bashton.com/support/