1mysql‐zrm‐purge(1)
2mysql‐zrm‐purge(1)
3
4
5
6NNAAMMEE
7 mmyyssqqll‐‐zzrrmm‐‐ppuurrggee ‐ Utility to purge backups that have
8gone past reten‐
9 tion policy date in ZRM for MySQL.
10
11SSYYNNOOPPSSIISS
12 mmyyssqqll‐‐zzrrmm‐‐ppuurrggee
13 [‐‐‐‐ddeessttiinnaattiioonn _d_i_r_e_c_t_o_r_y _n_a_m_e]
14 [‐‐‐‐ooppttiioonnss‐‐ffiillee _f_i_l_e_n_a_m_e]
15 [‐‐‐‐qquuiieett|‐‐‐‐nnoo‐‐qquuiieett]
16 [‐‐‐‐vveerrbboossee]
17 [‐‐‐‐hheellpp]
18
19
20DDEESSCCRRIIPPTTIIOONN
21 This utility removes expired backups (based on retention
22policies spec‐
23 ified during backup) from the specified ‐‐‐‐ddeessttiinnaattiioonn
24_d_i_r_e_c_t_o_r_y.
25
26 Please see the ZRM for MySQL documentation
27(http://mysql‐
28 backup.zmanda.com/) for details on how to configure and
29use ZRM for
30 MySQL.
31
32
33OOPPTTIIOONNSS
34 ‐‐‐‐ddeessttiinnaattiioonn _d_i_r_e_c_t_o_r_y _n_a_m_e
35 Specify the directory where backup are stored. De‐
36fault location
37 is //vvaarr//lliibb//mmyyssqqll‐‐zzrrmm//. If this option is speci‐
38fied, the direc‐
39 tory must be exist and should be writable by the
40ZRM for MySQL
41 user. If not, the utility exits with an error.
42
43 ‐‐‐‐ooppttiioonnss‐‐ffiillee _f_i_l_e_n_a_m_e
44 Set the file along with full pathname that contains
45MySQL com‐
46 mand options.
47
48 ‐‐‐‐ttmmppddiirr _t_e_m_p_o_r_a_r_y _d_i_r_e_c_t_o_r_y _t_o _b_e _u_s_e_d
49 Full path of the directory to be used for
50storing temporary
51 files and directories on the backup host. If not
52specified it
53 defaults to the system specified temporary di‐
54rectory on the
55 backup host, e.g. //ttmmpp.
56
57 ‐‐‐‐qquuiieett|‐‐‐‐nnoo‐‐qquuiieett
58 Choose qquuiieett to suppress display of log messages
59on stdout.
60 Choose nnoo‐‐qquuiieett to display the log messages to
61standard output
62 (ssttddoouutt). The default is ‐‐‐‐nnoo‐‐qquuiieett.
63
64 ‐‐‐‐vveerrbboossee
65 Provide more detailed output in the log. Ver‐
66bose output is
67 turned off by default.
68
69 ‐‐‐‐hheellpp Displays the help message and exits. This com‐
70mand line only
71 parameter cannot be specified in the configuration
72file.
73
74FFIILLEESS
75 //vvaarr//lliibb//mmyyssqqll‐‐zzrrmm
76 Directory under which all backup data is stored.
77
78
79 //eettcc//mmyyssqqll‐‐zzrrmm//_b_a_c_k_u_p _s_e_t _n_a_m_e//mmyyssqqll‐‐zzrrmm..ccoonnff
80 Configuration file read by ZRM for MySQL.
81
82
83RREETTUURRNN VVAALLUUEESS
84 On success, zero is returned. On error, non‐zero value is
85returned.
86
87
88SSEEEE AALLSSOO
89 mysql‐zrm(1), mysql‐zrm‐backup(1), mysql‐zrm‐man‐
90age‐backup(1),
91 mysql‐zrm‐restore(1), mysql‐zrm‐check(1),
92mysql‐zrm‐list(1),
93 mysql‐zrm‐getconf(1), mysql‐zrm‐setconf(1), mysql‐zrm‐
94parse‐binlogs(1),
95 mysql‐zrm‐extract‐backup(1), mysql‐zrm‐ver‐
96ify‐backup(1),
97 mysql‐zrm‐abort‐backup(1), mysql‐zrm‐
98scheduler(1),
99 mysql‐zrm‐reporter(1), mysql‐zrm.conf(5), mysqldump(1),
100mysqlbinlog(1),
101 mysql(1), lvm(8), Zmanda Recovery Manager for MySQL
102(http://mysql‐
103 backup.zmanda.com/)
104
105
106AAUUTTHHOORR
107 Zmanda Inc. (http://www.zmanda.com)
108
109
110
111Zmanda, Inc. ZRM for MySQL
112mysql‐zrm‐purge(1)
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132