Published site at d5aaeee88b331e064830a2774f4fed238631457c.
[hbase-site.git] / devapidocs / org / apache / hadoop / hbase / backup / impl / BackupAdminImpl.html
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2 <!-- NewPage -->
3 <html lang="en">
4 <head>
5 <!-- Generated by javadoc -->
6 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
7 <title>BackupAdminImpl (Apache HBase 3.0.0-SNAPSHOT API)</title>
8 <link rel="stylesheet" type="text/css" href="../../../../../../stylesheet.css" title="Style">
9 <script type="text/javascript" src="../../../../../../script.js"></script>
10 </head>
11 <body>
12 <script type="text/javascript"><!--
13 try {
14 if (location.href.indexOf('is-external=true') == -1) {
15 parent.document.title="BackupAdminImpl (Apache HBase 3.0.0-SNAPSHOT API)";
16 }
17 }
18 catch(err) {
19 }
20 //-->
21 var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10,"i17":10,"i18":10,"i19":10,"i20":10,"i21":10};
22 var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
23 var altColor = "altColor";
24 var rowColor = "rowColor";
25 var tableTab = "tableTab";
26 var activeTableTab = "activeTableTab";
27 </script>
28 <noscript>
29 <div>JavaScript is disabled on your browser.</div>
30 </noscript>
31 <!-- ========= START OF TOP NAVBAR ======= -->
32 <div class="topNav"><a name="navbar.top">
33 <!-- -->
34 </a>
35 <div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
36 <a name="navbar.top.firstrow">
37 <!-- -->
38 </a>
39 <ul class="navList" title="Navigation">
40 <li><a href="../../../../../../overview-summary.html">Overview</a></li>
41 <li><a href="package-summary.html">Package</a></li>
42 <li class="navBarCell1Rev">Class</li>
43 <li><a href="class-use/BackupAdminImpl.html">Use</a></li>
44 <li><a href="package-tree.html">Tree</a></li>
45 <li><a href="../../../../../../deprecated-list.html">Deprecated</a></li>
46 <li><a href="../../../../../../index-all.html">Index</a></li>
47 <li><a href="../../../../../../help-doc.html">Help</a></li>
48 </ul>
49 </div>
50 <div class="subNav">
51 <ul class="navList">
52 <li>Prev&nbsp;Class</li>
53 <li><a href="../../../../../../org/apache/hadoop/hbase/backup/impl/BackupCommands.html" title="class in org.apache.hadoop.hbase.backup.impl"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
54 </ul>
55 <ul class="navList">
56 <li><a href="../../../../../../index.html?org/apache/hadoop/hbase/backup/impl/BackupAdminImpl.html" target="_top">Frames</a></li>
57 <li><a href="BackupAdminImpl.html" target="_top">No&nbsp;Frames</a></li>
58 </ul>
59 <ul class="navList" id="allclasses_navbar_top">
60 <li><a href="../../../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
61 </ul>
62 <div>
63 <script type="text/javascript"><!--
64 allClassesLink = document.getElementById("allclasses_navbar_top");
65 if(window==top) {
66 allClassesLink.style.display = "block";
67 }
68 else {
69 allClassesLink.style.display = "none";
70 }
71 //-->
72 </script>
73 </div>
74 <div>
75 <ul class="subNavList">
76 <li>Summary:&nbsp;</li>
77 <li>Nested&nbsp;|&nbsp;</li>
78 <li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
79 <li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
80 <li><a href="#method.summary">Method</a></li>
81 </ul>
82 <ul class="subNavList">
83 <li>Detail:&nbsp;</li>
84 <li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
85 <li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
86 <li><a href="#method.detail">Method</a></li>
87 </ul>
88 </div>
89 <a name="skip.navbar.top">
90 <!-- -->
91 </a></div>
92 <!-- ========= END OF TOP NAVBAR ========= -->
93 <!-- ======== START OF CLASS DATA ======== -->
94 <div class="header">
95 <div class="subTitle">org.apache.hadoop.hbase.backup.impl</div>
96 <h2 title="Class BackupAdminImpl" class="title">Class BackupAdminImpl</h2>
97 </div>
98 <div class="contentContainer">
99 <ul class="inheritance">
100 <li><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
101 <li>
102 <ul class="inheritance">
103 <li>org.apache.hadoop.hbase.backup.impl.BackupAdminImpl</li>
104 </ul>
105 </li>
106 </ul>
107 <div class="description">
108 <ul class="blockList">
109 <li class="blockList">
110 <dl>
111 <dt>All Implemented Interfaces:</dt>
112 <dd><a href="https://docs.oracle.com/javase/8/docs/api/java/io/Closeable.html?is-external=true" title="class or interface in java.io">Closeable</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/AutoCloseable.html?is-external=true" title="class or interface in java.lang">AutoCloseable</a>, <a href="../../../../../../org/apache/hadoop/hbase/backup/BackupAdmin.html" title="interface in org.apache.hadoop.hbase.backup">BackupAdmin</a></dd>
113 </dl>
114 <hr>
115 <br>
116 <pre>@InterfaceAudience.Private
117 public class <a href="../../../../../../src-html/org/apache/hadoop/hbase/backup/impl/BackupAdminImpl.html#line.57">BackupAdminImpl</a>
118 extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>
119 implements <a href="../../../../../../org/apache/hadoop/hbase/backup/BackupAdmin.html" title="interface in org.apache.hadoop.hbase.backup">BackupAdmin</a></pre>
120 </li>
121 </ul>
122 </div>
123 <div class="summary">
124 <ul class="blockList">
125 <li class="blockList">
126 <!-- =========== FIELD SUMMARY =========== -->
127 <ul class="blockList">
128 <li class="blockList"><a name="field.summary">
129 <!-- -->
130 </a>
131 <h3>Field Summary</h3>
132 <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation">
133 <caption><span>Fields</span><span class="tabEnd">&nbsp;</span></caption>
134 <tr>
135 <th class="colFirst" scope="col">Modifier and Type</th>
136 <th class="colLast" scope="col">Field and Description</th>
137 </tr>
138 <tr class="altColor">
139 <td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
140 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/backup/impl/BackupAdminImpl.html#CHECK_FAILED">CHECK_FAILED</a></span></code>&nbsp;</td>
141 </tr>
142 <tr class="rowColor">
143 <td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
144 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/backup/impl/BackupAdminImpl.html#CHECK_OK">CHECK_OK</a></span></code>&nbsp;</td>
145 </tr>
146 <tr class="altColor">
147 <td class="colFirst"><code>private <a href="../../../../../../org/apache/hadoop/hbase/client/Connection.html" title="interface in org.apache.hadoop.hbase.client">Connection</a></code></td>
148 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/backup/impl/BackupAdminImpl.html#conn">conn</a></span></code>&nbsp;</td>
149 </tr>
150 <tr class="rowColor">
151 <td class="colFirst"><code>private static org.slf4j.Logger</code></td>
152 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/backup/impl/BackupAdminImpl.html#LOG">LOG</a></span></code>&nbsp;</td>
153 </tr>
154 </table>
155 </li>
156 </ul>
157 <!-- ======== CONSTRUCTOR SUMMARY ======== -->
158 <ul class="blockList">
159 <li class="blockList"><a name="constructor.summary">
160 <!-- -->
161 </a>
162 <h3>Constructor Summary</h3>
163 <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
164 <caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
165 <tr>
166 <th class="colOne" scope="col">Constructor and Description</th>
167 </tr>
168 <tr class="altColor">
169 <td class="colOne"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/backup/impl/BackupAdminImpl.html#BackupAdminImpl-org.apache.hadoop.hbase.client.Connection-">BackupAdminImpl</a></span>(<a href="../../../../../../org/apache/hadoop/hbase/client/Connection.html" title="interface in org.apache.hadoop.hbase.client">Connection</a>&nbsp;conn)</code>&nbsp;</td>
170 </tr>
171 </table>
172 </li>
173 </ul>
174 <!-- ========== METHOD SUMMARY =========== -->
175 <ul class="blockList">
176 <li class="blockList"><a name="method.summary">
177 <!-- -->
178 </a>
179 <h3>Method Summary</h3>
180 <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
181 <caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
182 <tr>
183 <th class="colFirst" scope="col">Modifier and Type</th>
184 <th class="colLast" scope="col">Method and Description</th>
185 </tr>
186 <tr id="i0" class="altColor">
187 <td class="colFirst"><code>void</code></td>
188 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/backup/impl/BackupAdminImpl.html#addToBackupSet-java.lang.String-org.apache.hadoop.hbase.TableName:A-">addToBackupSet</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name,
189 <a href="../../../../../../org/apache/hadoop/hbase/TableName.html" title="class in org.apache.hadoop.hbase">TableName</a>[]&nbsp;tables)</code>
190 <div class="block">Add tables to backup set command</div>
191 </td>
192 </tr>
193 <tr id="i1" class="rowColor">
194 <td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
195 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/backup/impl/BackupAdminImpl.html#backupTables-org.apache.hadoop.hbase.backup.BackupRequest-">backupTables</a></span>(<a href="../../../../../../org/apache/hadoop/hbase/backup/BackupRequest.html" title="class in org.apache.hadoop.hbase.backup">BackupRequest</a>&nbsp;request)</code>
196 <div class="block">Backup given list of tables fully.</div>
197 </td>
198 </tr>
199 <tr id="i2" class="altColor">
200 <td class="colFirst"><code>private void</code></td>
201 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/backup/impl/BackupAdminImpl.html#checkIfValidForMerge-java.lang.String:A-org.apache.hadoop.hbase.backup.impl.BackupSystemTable-">checkIfValidForMerge</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[]&nbsp;backupIds,
202 <a href="../../../../../../org/apache/hadoop/hbase/backup/impl/BackupSystemTable.html" title="class in org.apache.hadoop.hbase.backup.impl">BackupSystemTable</a>&nbsp;table)</code>
203 <div class="block">Verifies that backup images are valid for merge.</div>
204 </td>
205 </tr>
206 <tr id="i3" class="rowColor">
207 <td class="colFirst"><code>private void</code></td>
208 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/backup/impl/BackupAdminImpl.html#cleanupBackupDir-org.apache.hadoop.hbase.backup.BackupInfo-org.apache.hadoop.hbase.TableName-org.apache.hadoop.conf.Configuration-">cleanupBackupDir</a></span>(<a href="../../../../../../org/apache/hadoop/hbase/backup/BackupInfo.html" title="class in org.apache.hadoop.hbase.backup">BackupInfo</a>&nbsp;backupInfo,
209 <a href="../../../../../../org/apache/hadoop/hbase/TableName.html" title="class in org.apache.hadoop.hbase">TableName</a>&nbsp;table,
210 org.apache.hadoop.conf.Configuration&nbsp;conf)</code>
211 <div class="block">Clean up the data at target directory</div>
212 </td>
213 </tr>
214 <tr id="i4" class="altColor">
215 <td class="colFirst"><code>void</code></td>
216 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/backup/impl/BackupAdminImpl.html#close--">close</a></span>()</code>&nbsp;</td>
217 </tr>
218 <tr id="i5" class="rowColor">
219 <td class="colFirst"><code>private int</code></td>
220 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/backup/impl/BackupAdminImpl.html#deleteBackup-java.lang.String-org.apache.hadoop.hbase.backup.impl.BackupSystemTable-">deleteBackup</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;backupId,
221 <a href="../../../../../../org/apache/hadoop/hbase/backup/impl/BackupSystemTable.html" title="class in org.apache.hadoop.hbase.backup.impl">BackupSystemTable</a>&nbsp;sysTable)</code>
222 <div class="block">Delete single backup and all related backups <br>
223 Algorithm:<br>
224 Backup type: FULL or INCREMENTAL <br>
225 Is this last backup session for table T: YES or NO <br>
226 For every table T from table list 'tables':<br>
227 if(FULL, YES) deletes only physical data (PD) <br>
228 if(FULL, NO), deletes PD, scans all newer backups and removes T from backupInfo,<br>
229 until we either reach the most recent backup for T in the system or FULL backup<br>
230 which includes T<br>
231 if(INCREMENTAL, YES) deletes only physical data (PD) if(INCREMENTAL, NO) deletes physical data
232 and for table T scans all backup images between last<br>
233 FULL backup, which is older than the backup being deleted and the next FULL backup (if exists)
234 <br>
235 or last one for a particular table T and removes T from list of backup tables.</div>
236 </td>
237 </tr>
238 <tr id="i6" class="altColor">
239 <td class="colFirst"><code>int</code></td>
240 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/backup/impl/BackupAdminImpl.html#deleteBackups-java.lang.String:A-">deleteBackups</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[]&nbsp;backupIds)</code>
241 <div class="block">Delete backup image command</div>
242 </td>
243 </tr>
244 <tr id="i7" class="rowColor">
245 <td class="colFirst"><code>boolean</code></td>
246 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/backup/impl/BackupAdminImpl.html#deleteBackupSet-java.lang.String-">deleteBackupSet</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name)</code>
247 <div class="block">Delete backup set command</div>
248 </td>
249 </tr>
250 <tr id="i8" class="altColor">
251 <td class="colFirst"><code>private <a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../../../../org/apache/hadoop/hbase/TableName.html" title="class in org.apache.hadoop.hbase">TableName</a>&gt;</code></td>
252 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/backup/impl/BackupAdminImpl.html#excludeNonExistingTables-java.util.List-java.util.List-">excludeNonExistingTables</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../../../../org/apache/hadoop/hbase/TableName.html" title="class in org.apache.hadoop.hbase">TableName</a>&gt;&nbsp;tableList,
253 <a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../../../../org/apache/hadoop/hbase/TableName.html" title="class in org.apache.hadoop.hbase">TableName</a>&gt;&nbsp;nonExistingTableList)</code>&nbsp;</td>
254 </tr>
255 <tr id="i9" class="rowColor">
256 <td class="colFirst"><code>private void</code></td>
257 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/backup/impl/BackupAdminImpl.html#finalizeDelete-java.util.Map-org.apache.hadoop.hbase.backup.impl.BackupSystemTable-">finalizeDelete</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="https://docs.oracle.com/javase/8/docs/api/java/util/HashSet.html?is-external=true" title="class or interface in java.util">HashSet</a>&lt;<a href="../../../../../../org/apache/hadoop/hbase/TableName.html" title="class in org.apache.hadoop.hbase">TableName</a>&gt;&gt;&nbsp;tablesMap,
258 <a href="../../../../../../org/apache/hadoop/hbase/backup/impl/BackupSystemTable.html" title="class in org.apache.hadoop.hbase.backup.impl">BackupSystemTable</a>&nbsp;table)</code>
259 <div class="block">Updates incremental backup set for every backupRoot</div>
260 </td>
261 </tr>
262 <tr id="i10" class="altColor">
263 <td class="colFirst"><code>private <a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../../../../org/apache/hadoop/hbase/backup/BackupInfo.html" title="class in org.apache.hadoop.hbase.backup">BackupInfo</a>&gt;</code></td>
264 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/backup/impl/BackupAdminImpl.html#getAffectedBackupSessions-org.apache.hadoop.hbase.backup.BackupInfo-org.apache.hadoop.hbase.TableName-org.apache.hadoop.hbase.backup.impl.BackupSystemTable-">getAffectedBackupSessions</a></span>(<a href="../../../../../../org/apache/hadoop/hbase/backup/BackupInfo.html" title="class in org.apache.hadoop.hbase.backup">BackupInfo</a>&nbsp;backupInfo,
265 <a href="../../../../../../org/apache/hadoop/hbase/TableName.html" title="class in org.apache.hadoop.hbase">TableName</a>&nbsp;tn,
266 <a href="../../../../../../org/apache/hadoop/hbase/backup/impl/BackupSystemTable.html" title="class in org.apache.hadoop.hbase.backup.impl">BackupSystemTable</a>&nbsp;table)</code>&nbsp;</td>
267 </tr>
268 <tr id="i11" class="rowColor">
269 <td class="colFirst"><code><a href="../../../../../../org/apache/hadoop/hbase/backup/BackupInfo.html" title="class in org.apache.hadoop.hbase.backup">BackupInfo</a></code></td>
270 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/backup/impl/BackupAdminImpl.html#getBackupInfo-java.lang.String-">getBackupInfo</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;backupId)</code>
271 <div class="block">Describe backup image command</div>
272 </td>
273 </tr>
274 <tr id="i12" class="altColor">
275 <td class="colFirst"><code><a href="../../../../../../org/apache/hadoop/hbase/backup/util/BackupSet.html" title="class in org.apache.hadoop.hbase.backup.util">BackupSet</a></code></td>
276 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/backup/impl/BackupAdminImpl.html#getBackupSet-java.lang.String-">getBackupSet</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name)</code>
277 <div class="block">Backup set describe command.</div>
278 </td>
279 </tr>
280 <tr id="i13" class="rowColor">
281 <td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../../../../org/apache/hadoop/hbase/backup/BackupInfo.html" title="class in org.apache.hadoop.hbase.backup">BackupInfo</a>&gt;</code></td>
282 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/backup/impl/BackupAdminImpl.html#getHistory-int-">getHistory</a></span>(int&nbsp;n)</code>
283 <div class="block">Show backup history command</div>
284 </td>
285 </tr>
286 <tr id="i14" class="altColor">
287 <td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../../../../org/apache/hadoop/hbase/backup/BackupInfo.html" title="class in org.apache.hadoop.hbase.backup">BackupInfo</a>&gt;</code></td>
288 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/backup/impl/BackupAdminImpl.html#getHistory-int-org.apache.hadoop.hbase.backup.BackupInfo.Filter...-">getHistory</a></span>(int&nbsp;n,
289 <a href="../../../../../../org/apache/hadoop/hbase/backup/BackupInfo.Filter.html" title="interface in org.apache.hadoop.hbase.backup">BackupInfo.Filter</a>...&nbsp;filters)</code>
290 <div class="block">Show backup history command with filters</div>
291 </td>
292 </tr>
293 <tr id="i15" class="rowColor">
294 <td class="colFirst"><code>private boolean</code></td>
295 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/backup/impl/BackupAdminImpl.html#isLastBackupSession-org.apache.hadoop.hbase.backup.impl.BackupSystemTable-org.apache.hadoop.hbase.TableName-long-">isLastBackupSession</a></span>(<a href="../../../../../../org/apache/hadoop/hbase/backup/impl/BackupSystemTable.html" title="class in org.apache.hadoop.hbase.backup.impl">BackupSystemTable</a>&nbsp;table,
296 <a href="../../../../../../org/apache/hadoop/hbase/TableName.html" title="class in org.apache.hadoop.hbase">TableName</a>&nbsp;tn,
297 long&nbsp;startTime)</code>&nbsp;</td>
298 </tr>
299 <tr id="i16" class="altColor">
300 <td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../../../../org/apache/hadoop/hbase/backup/util/BackupSet.html" title="class in org.apache.hadoop.hbase.backup.util">BackupSet</a>&gt;</code></td>
301 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/backup/impl/BackupAdminImpl.html#listBackupSets--">listBackupSets</a></span>()</code>
302 <div class="block">Backup sets list command - list all backup sets.</div>
303 </td>
304 </tr>
305 <tr id="i17" class="rowColor">
306 <td class="colFirst"><code>void</code></td>
307 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/backup/impl/BackupAdminImpl.html#mergeBackups-java.lang.String:A-">mergeBackups</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[]&nbsp;backupIds)</code>
308 <div class="block">Merge backup images command</div>
309 </td>
310 </tr>
311 <tr id="i18" class="altColor">
312 <td class="colFirst"><code>void</code></td>
313 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/backup/impl/BackupAdminImpl.html#removeFromBackupSet-java.lang.String-org.apache.hadoop.hbase.TableName:A-">removeFromBackupSet</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name,
314 <a href="../../../../../../org/apache/hadoop/hbase/TableName.html" title="class in org.apache.hadoop.hbase">TableName</a>[]&nbsp;tables)</code>
315 <div class="block">Remove tables from backup set</div>
316 </td>
317 </tr>
318 <tr id="i19" class="rowColor">
319 <td class="colFirst"><code>private void</code></td>
320 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/backup/impl/BackupAdminImpl.html#removeTableFromBackupImage-org.apache.hadoop.hbase.backup.BackupInfo-org.apache.hadoop.hbase.TableName-org.apache.hadoop.hbase.backup.impl.BackupSystemTable-">removeTableFromBackupImage</a></span>(<a href="../../../../../../org/apache/hadoop/hbase/backup/BackupInfo.html" title="class in org.apache.hadoop.hbase.backup">BackupInfo</a>&nbsp;info,
321 <a href="../../../../../../org/apache/hadoop/hbase/TableName.html" title="class in org.apache.hadoop.hbase">TableName</a>&nbsp;tn,
322 <a href="../../../../../../org/apache/hadoop/hbase/backup/impl/BackupSystemTable.html" title="class in org.apache.hadoop.hbase.backup.impl">BackupSystemTable</a>&nbsp;sysTable)</code>&nbsp;</td>
323 </tr>
324 <tr id="i20" class="altColor">
325 <td class="colFirst"><code>void</code></td>
326 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/backup/impl/BackupAdminImpl.html#restore-org.apache.hadoop.hbase.backup.RestoreRequest-">restore</a></span>(<a href="../../../../../../org/apache/hadoop/hbase/backup/RestoreRequest.html" title="class in org.apache.hadoop.hbase.backup">RestoreRequest</a>&nbsp;request)</code>
327 <div class="block">Restore backup</div>
328 </td>
329 </tr>
330 <tr id="i21" class="rowColor">
331 <td class="colFirst"><code>private <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[]</code></td>
332 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/backup/impl/BackupAdminImpl.html#toStringArray-org.apache.hadoop.hbase.TableName:A-">toStringArray</a></span>(<a href="../../../../../../org/apache/hadoop/hbase/TableName.html" title="class in org.apache.hadoop.hbase">TableName</a>[]&nbsp;list)</code>&nbsp;</td>
333 </tr>
334 </table>
335 <ul class="blockList">
336 <li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
337 <!-- -->
338 </a>
339 <h3>Methods inherited from class&nbsp;java.lang.<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
340 <code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#toString--" title="class or interface in java.lang">toString</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li>
341 </ul>
342 </li>
343 </ul>
344 </li>
345 </ul>
346 </div>
347 <div class="details">
348 <ul class="blockList">
349 <li class="blockList">
350 <!-- ============ FIELD DETAIL =========== -->
351 <ul class="blockList">
352 <li class="blockList"><a name="field.detail">
353 <!-- -->
354 </a>
355 <h3>Field Detail</h3>
356 <a name="CHECK_OK">
357 <!-- -->
358 </a>
359 <ul class="blockList">
360 <li class="blockList">
361 <h4>CHECK_OK</h4>
362 <pre>public static final&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/backup/impl/BackupAdminImpl.html#line.58">CHECK_OK</a></pre>
363 <dl>
364 <dt><span class="seeLabel">See Also:</span></dt>
365 <dd><a href="../../../../../../constant-values.html#org.apache.hadoop.hbase.backup.impl.BackupAdminImpl.CHECK_OK">Constant Field Values</a></dd>
366 </dl>
367 </li>
368 </ul>
369 <a name="CHECK_FAILED">
370 <!-- -->
371 </a>
372 <ul class="blockList">
373 <li class="blockList">
374 <h4>CHECK_FAILED</h4>
375 <pre>public static final&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/backup/impl/BackupAdminImpl.html#line.59">CHECK_FAILED</a></pre>
376 <dl>
377 <dt><span class="seeLabel">See Also:</span></dt>
378 <dd><a href="../../../../../../constant-values.html#org.apache.hadoop.hbase.backup.impl.BackupAdminImpl.CHECK_FAILED">Constant Field Values</a></dd>
379 </dl>
380 </li>
381 </ul>
382 <a name="LOG">
383 <!-- -->
384 </a>
385 <ul class="blockList">
386 <li class="blockList">
387 <h4>LOG</h4>
388 <pre>private static final&nbsp;org.slf4j.Logger <a href="../../../../../../src-html/org/apache/hadoop/hbase/backup/impl/BackupAdminImpl.html#line.61">LOG</a></pre>
389 </li>
390 </ul>
391 <a name="conn">
392 <!-- -->
393 </a>
394 <ul class="blockListLast">
395 <li class="blockList">
396 <h4>conn</h4>
397 <pre>private final&nbsp;<a href="../../../../../../org/apache/hadoop/hbase/client/Connection.html" title="interface in org.apache.hadoop.hbase.client">Connection</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/backup/impl/BackupAdminImpl.html#line.63">conn</a></pre>
398 </li>
399 </ul>
400 </li>
401 </ul>
402 <!-- ========= CONSTRUCTOR DETAIL ======== -->
403 <ul class="blockList">
404 <li class="blockList"><a name="constructor.detail">
405 <!-- -->
406 </a>
407 <h3>Constructor Detail</h3>
408 <a name="BackupAdminImpl-org.apache.hadoop.hbase.client.Connection-">
409 <!-- -->
410 </a>
411 <ul class="blockListLast">
412 <li class="blockList">
413 <h4>BackupAdminImpl</h4>
414 <pre>public&nbsp;<a href="../../../../../../src-html/org/apache/hadoop/hbase/backup/impl/BackupAdminImpl.html#line.65">BackupAdminImpl</a>(<a href="../../../../../../org/apache/hadoop/hbase/client/Connection.html" title="interface in org.apache.hadoop.hbase.client">Connection</a>&nbsp;conn)</pre>
415 </li>
416 </ul>
417 </li>
418 </ul>
419 <!-- ============ METHOD DETAIL ========== -->
420 <ul class="blockList">
421 <li class="blockList"><a name="method.detail">
422 <!-- -->
423 </a>
424 <h3>Method Detail</h3>
425 <a name="close--">
426 <!-- -->
427 </a>
428 <ul class="blockList">
429 <li class="blockList">
430 <h4>close</h4>
431 <pre>public&nbsp;void&nbsp;<a href="../../../../../../src-html/org/apache/hadoop/hbase/backup/impl/BackupAdminImpl.html#line.70">close</a>()</pre>
432 <dl>
433 <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
434 <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/Closeable.html?is-external=true#close--" title="class or interface in java.io">close</a></code>&nbsp;in interface&nbsp;<code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/Closeable.html?is-external=true" title="class or interface in java.io">Closeable</a></code></dd>
435 <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
436 <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/AutoCloseable.html?is-external=true#close--" title="class or interface in java.lang">close</a></code>&nbsp;in interface&nbsp;<code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/AutoCloseable.html?is-external=true" title="class or interface in java.lang">AutoCloseable</a></code></dd>
437 </dl>
438 </li>
439 </ul>
440 <a name="getBackupInfo-java.lang.String-">
441 <!-- -->
442 </a>
443 <ul class="blockList">
444 <li class="blockList">
445 <h4>getBackupInfo</h4>
446 <pre>public&nbsp;<a href="../../../../../../org/apache/hadoop/hbase/backup/BackupInfo.html" title="class in org.apache.hadoop.hbase.backup">BackupInfo</a>&nbsp;<a href="../../../../../../src-html/org/apache/hadoop/hbase/backup/impl/BackupAdminImpl.html#line.74">getBackupInfo</a>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;backupId)
447 throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
448 <div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../../../../org/apache/hadoop/hbase/backup/BackupAdmin.html#getBackupInfo-java.lang.String-">BackupAdmin</a></code></span></div>
449 <div class="block">Describe backup image command</div>
450 <dl>
451 <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
452 <dd><code><a href="../../../../../../org/apache/hadoop/hbase/backup/BackupAdmin.html#getBackupInfo-java.lang.String-">getBackupInfo</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../../org/apache/hadoop/hbase/backup/BackupAdmin.html" title="interface in org.apache.hadoop.hbase.backup">BackupAdmin</a></code></dd>
453 <dt><span class="paramLabel">Parameters:</span></dt>
454 <dd><code>backupId</code> - backup id</dd>
455 <dt><span class="returnLabel">Returns:</span></dt>
456 <dd>backup info</dd>
457 <dt><span class="throwsLabel">Throws:</span></dt>
458 <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - exception</dd>
459 </dl>
460 </li>
461 </ul>
462 <a name="deleteBackups-java.lang.String:A-">
463 <!-- -->
464 </a>
465 <ul class="blockList">
466 <li class="blockList">
467 <h4>deleteBackups</h4>
468 <pre>public&nbsp;int&nbsp;<a href="../../../../../../src-html/org/apache/hadoop/hbase/backup/impl/BackupAdminImpl.html#line.94">deleteBackups</a>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[]&nbsp;backupIds)
469 throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
470 <div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../../../../org/apache/hadoop/hbase/backup/BackupAdmin.html#deleteBackups-java.lang.String:A-">BackupAdmin</a></code></span></div>
471 <div class="block">Delete backup image command</div>
472 <dl>
473 <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
474 <dd><code><a href="../../../../../../org/apache/hadoop/hbase/backup/BackupAdmin.html#deleteBackups-java.lang.String:A-">deleteBackups</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../../org/apache/hadoop/hbase/backup/BackupAdmin.html" title="interface in org.apache.hadoop.hbase.backup">BackupAdmin</a></code></dd>
475 <dt><span class="paramLabel">Parameters:</span></dt>
476 <dd><code>backupIds</code> - array of backup ids</dd>
477 <dt><span class="returnLabel">Returns:</span></dt>
478 <dd>total number of deleted sessions</dd>
479 <dt><span class="throwsLabel">Throws:</span></dt>
480 <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - exception</dd>
481 </dl>
482 </li>
483 </ul>
484 <a name="finalizeDelete-java.util.Map-org.apache.hadoop.hbase.backup.impl.BackupSystemTable-">
485 <!-- -->
486 </a>
487 <ul class="blockList">
488 <li class="blockList">
489 <h4>finalizeDelete</h4>
490 <pre>private&nbsp;void&nbsp;<a href="../../../../../../src-html/org/apache/hadoop/hbase/backup/impl/BackupAdminImpl.html#line.183">finalizeDelete</a>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="https://docs.oracle.com/javase/8/docs/api/java/util/HashSet.html?is-external=true" title="class or interface in java.util">HashSet</a>&lt;<a href="../../../../../../org/apache/hadoop/hbase/TableName.html" title="class in org.apache.hadoop.hbase">TableName</a>&gt;&gt;&nbsp;tablesMap,
491 <a href="../../../../../../org/apache/hadoop/hbase/backup/impl/BackupSystemTable.html" title="class in org.apache.hadoop.hbase.backup.impl">BackupSystemTable</a>&nbsp;table)
492 throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
493 <div class="block">Updates incremental backup set for every backupRoot</div>
494 <dl>
495 <dt><span class="paramLabel">Parameters:</span></dt>
496 <dd><code>tablesMap</code> - map [backupRoot: <code>Set&lt;TableName&gt;</code>]</dd>
497 <dd><code>table</code> - backup system table</dd>
498 <dt><span class="throwsLabel">Throws:</span></dt>
499 <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - if a table operation fails</dd>
500 </dl>
501 </li>
502 </ul>
503 <a name="deleteBackup-java.lang.String-org.apache.hadoop.hbase.backup.impl.BackupSystemTable-">
504 <!-- -->
505 </a>
506 <ul class="blockList">
507 <li class="blockList">
508 <h4>deleteBackup</h4>
509 <pre>private&nbsp;int&nbsp;<a href="../../../../../../src-html/org/apache/hadoop/hbase/backup/impl/BackupAdminImpl.html#line.223">deleteBackup</a>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;backupId,
510 <a href="../../../../../../org/apache/hadoop/hbase/backup/impl/BackupSystemTable.html" title="class in org.apache.hadoop.hbase.backup.impl">BackupSystemTable</a>&nbsp;sysTable)
511 throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
512 <div class="block">Delete single backup and all related backups <br>
513 Algorithm:<br>
514 Backup type: FULL or INCREMENTAL <br>
515 Is this last backup session for table T: YES or NO <br>
516 For every table T from table list 'tables':<br>
517 if(FULL, YES) deletes only physical data (PD) <br>
518 if(FULL, NO), deletes PD, scans all newer backups and removes T from backupInfo,<br>
519 until we either reach the most recent backup for T in the system or FULL backup<br>
520 which includes T<br>
521 if(INCREMENTAL, YES) deletes only physical data (PD) if(INCREMENTAL, NO) deletes physical data
522 and for table T scans all backup images between last<br>
523 FULL backup, which is older than the backup being deleted and the next FULL backup (if exists)
524 <br>
525 or last one for a particular table T and removes T from list of backup tables.</div>
526 <dl>
527 <dt><span class="paramLabel">Parameters:</span></dt>
528 <dd><code>backupId</code> - backup id</dd>
529 <dd><code>sysTable</code> - backup system table</dd>
530 <dt><span class="returnLabel">Returns:</span></dt>
531 <dd>total number of deleted backup images</dd>
532 <dt><span class="throwsLabel">Throws:</span></dt>
533 <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - if deleting the backup fails</dd>
534 </dl>
535 </li>
536 </ul>
537 <a name="removeTableFromBackupImage-org.apache.hadoop.hbase.backup.BackupInfo-org.apache.hadoop.hbase.TableName-org.apache.hadoop.hbase.backup.impl.BackupSystemTable-">
538 <!-- -->
539 </a>
540 <ul class="blockList">
541 <li class="blockList">
542 <h4>removeTableFromBackupImage</h4>
543 <pre>private&nbsp;void&nbsp;<a href="../../../../../../src-html/org/apache/hadoop/hbase/backup/impl/BackupAdminImpl.html#line.285">removeTableFromBackupImage</a>(<a href="../../../../../../org/apache/hadoop/hbase/backup/BackupInfo.html" title="class in org.apache.hadoop.hbase.backup">BackupInfo</a>&nbsp;info,
544 <a href="../../../../../../org/apache/hadoop/hbase/TableName.html" title="class in org.apache.hadoop.hbase">TableName</a>&nbsp;tn,
545 <a href="../../../../../../org/apache/hadoop/hbase/backup/impl/BackupSystemTable.html" title="class in org.apache.hadoop.hbase.backup.impl">BackupSystemTable</a>&nbsp;sysTable)
546 throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
547 <dl>
548 <dt><span class="throwsLabel">Throws:</span></dt>
549 <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd>
550 </dl>
551 </li>
552 </ul>
553 <a name="getAffectedBackupSessions-org.apache.hadoop.hbase.backup.BackupInfo-org.apache.hadoop.hbase.TableName-org.apache.hadoop.hbase.backup.impl.BackupSystemTable-">
554 <!-- -->
555 </a>
556 <ul class="blockList">
557 <li class="blockList">
558 <h4>getAffectedBackupSessions</h4>
559 <pre>private&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../../../../org/apache/hadoop/hbase/backup/BackupInfo.html" title="class in org.apache.hadoop.hbase.backup">BackupInfo</a>&gt;&nbsp;<a href="../../../../../../src-html/org/apache/hadoop/hbase/backup/impl/BackupAdminImpl.html#line.308">getAffectedBackupSessions</a>(<a href="../../../../../../org/apache/hadoop/hbase/backup/BackupInfo.html" title="class in org.apache.hadoop.hbase.backup">BackupInfo</a>&nbsp;backupInfo,
560 <a href="../../../../../../org/apache/hadoop/hbase/TableName.html" title="class in org.apache.hadoop.hbase">TableName</a>&nbsp;tn,
561 <a href="../../../../../../org/apache/hadoop/hbase/backup/impl/BackupSystemTable.html" title="class in org.apache.hadoop.hbase.backup.impl">BackupSystemTable</a>&nbsp;table)
562 throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
563 <dl>
564 <dt><span class="throwsLabel">Throws:</span></dt>
565 <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd>
566 </dl>
567 </li>
568 </ul>
569 <a name="cleanupBackupDir-org.apache.hadoop.hbase.backup.BackupInfo-org.apache.hadoop.hbase.TableName-org.apache.hadoop.conf.Configuration-">
570 <!-- -->
571 </a>
572 <ul class="blockList">
573 <li class="blockList">
574 <h4>cleanupBackupDir</h4>
575 <pre>private&nbsp;void&nbsp;<a href="../../../../../../src-html/org/apache/hadoop/hbase/backup/impl/BackupAdminImpl.html#line.340">cleanupBackupDir</a>(<a href="../../../../../../org/apache/hadoop/hbase/backup/BackupInfo.html" title="class in org.apache.hadoop.hbase.backup">BackupInfo</a>&nbsp;backupInfo,
576 <a href="../../../../../../org/apache/hadoop/hbase/TableName.html" title="class in org.apache.hadoop.hbase">TableName</a>&nbsp;table,
577 org.apache.hadoop.conf.Configuration&nbsp;conf)
578 throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
579 <div class="block">Clean up the data at target directory</div>
580 <dl>
581 <dt><span class="throwsLabel">Throws:</span></dt>
582 <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - if cleaning up the backup directory fails</dd>
583 </dl>
584 </li>
585 </ul>
586 <a name="isLastBackupSession-org.apache.hadoop.hbase.backup.impl.BackupSystemTable-org.apache.hadoop.hbase.TableName-long-">
587 <!-- -->
588 </a>
589 <ul class="blockList">
590 <li class="blockList">
591 <h4>isLastBackupSession</h4>
592 <pre>private&nbsp;boolean&nbsp;<a href="../../../../../../src-html/org/apache/hadoop/hbase/backup/impl/BackupAdminImpl.html#line.367">isLastBackupSession</a>(<a href="../../../../../../org/apache/hadoop/hbase/backup/impl/BackupSystemTable.html" title="class in org.apache.hadoop.hbase.backup.impl">BackupSystemTable</a>&nbsp;table,
593 <a href="../../../../../../org/apache/hadoop/hbase/TableName.html" title="class in org.apache.hadoop.hbase">TableName</a>&nbsp;tn,
594 long&nbsp;startTime)
595 throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
596 <dl>
597 <dt><span class="throwsLabel">Throws:</span></dt>
598 <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd>
599 </dl>
600 </li>
601 </ul>
602 <a name="getHistory-int-">
603 <!-- -->
604 </a>
605 <ul class="blockList">
606 <li class="blockList">
607 <h4>getHistory</h4>
608 <pre>public&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../../../../org/apache/hadoop/hbase/backup/BackupInfo.html" title="class in org.apache.hadoop.hbase.backup">BackupInfo</a>&gt;&nbsp;<a href="../../../../../../src-html/org/apache/hadoop/hbase/backup/impl/BackupAdminImpl.html#line.381">getHistory</a>(int&nbsp;n)
609 throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
610 <div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../../../../org/apache/hadoop/hbase/backup/BackupAdmin.html#getHistory-int-">BackupAdmin</a></code></span></div>
611 <div class="block">Show backup history command</div>
612 <dl>
613 <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
614 <dd><code><a href="../../../../../../org/apache/hadoop/hbase/backup/BackupAdmin.html#getHistory-int-">getHistory</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../../org/apache/hadoop/hbase/backup/BackupAdmin.html" title="interface in org.apache.hadoop.hbase.backup">BackupAdmin</a></code></dd>
615 <dt><span class="paramLabel">Parameters:</span></dt>
616 <dd><code>n</code> - last n backup sessions</dd>
617 <dt><span class="returnLabel">Returns:</span></dt>
618 <dd>list of backup info objects</dd>
619 <dt><span class="throwsLabel">Throws:</span></dt>
620 <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - exception</dd>
621 </dl>
622 </li>
623 </ul>
624 <a name="getHistory-int-org.apache.hadoop.hbase.backup.BackupInfo.Filter...-">
625 <!-- -->
626 </a>
627 <ul class="blockList">
628 <li class="blockList">
629 <h4>getHistory</h4>
630 <pre>public&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../../../../org/apache/hadoop/hbase/backup/BackupInfo.html" title="class in org.apache.hadoop.hbase.backup">BackupInfo</a>&gt;&nbsp;<a href="../../../../../../src-html/org/apache/hadoop/hbase/backup/impl/BackupAdminImpl.html#line.398">getHistory</a>(int&nbsp;n,
631 <a href="../../../../../../org/apache/hadoop/hbase/backup/BackupInfo.Filter.html" title="interface in org.apache.hadoop.hbase.backup">BackupInfo.Filter</a>...&nbsp;filters)
632 throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
633 <div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../../../../org/apache/hadoop/hbase/backup/BackupAdmin.html#getHistory-int-org.apache.hadoop.hbase.backup.BackupInfo.Filter...-">BackupAdmin</a></code></span></div>
634 <div class="block">Show backup history command with filters</div>
635 <dl>
636 <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
637 <dd><code><a href="../../../../../../org/apache/hadoop/hbase/backup/BackupAdmin.html#getHistory-int-org.apache.hadoop.hbase.backup.BackupInfo.Filter...-">getHistory</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../../org/apache/hadoop/hbase/backup/BackupAdmin.html" title="interface in org.apache.hadoop.hbase.backup">BackupAdmin</a></code></dd>
638 <dt><span class="paramLabel">Parameters:</span></dt>
639 <dd><code>n</code> - last n backup sessions</dd>
640 <dd><code>filters</code> - list of filters</dd>
641 <dt><span class="returnLabel">Returns:</span></dt>
642 <dd>list of backup info objects</dd>
643 <dt><span class="throwsLabel">Throws:</span></dt>
644 <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - exception</dd>
645 </dl>
646 </li>
647 </ul>
648 <a name="listBackupSets--">
649 <!-- -->
650 </a>
651 <ul class="blockList">
652 <li class="blockList">
653 <h4>listBackupSets</h4>
654 <pre>public&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../../../../org/apache/hadoop/hbase/backup/util/BackupSet.html" title="class in org.apache.hadoop.hbase.backup.util">BackupSet</a>&gt;&nbsp;<a href="../../../../../../src-html/org/apache/hadoop/hbase/backup/impl/BackupAdminImpl.html#line.427">listBackupSets</a>()
655 throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
656 <div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../../../../org/apache/hadoop/hbase/backup/BackupAdmin.html#listBackupSets--">BackupAdmin</a></code></span></div>
657 <div class="block">Backup sets list command - list all backup sets. Backup set is a named group of tables.</div>
658 <dl>
659 <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
660 <dd><code><a href="../../../../../../org/apache/hadoop/hbase/backup/BackupAdmin.html#listBackupSets--">listBackupSets</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../../org/apache/hadoop/hbase/backup/BackupAdmin.html" title="interface in org.apache.hadoop.hbase.backup">BackupAdmin</a></code></dd>
661 <dt><span class="returnLabel">Returns:</span></dt>
662 <dd>all registered backup sets</dd>
663 <dt><span class="throwsLabel">Throws:</span></dt>
664 <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - exception</dd>
665 </dl>
666 </li>
667 </ul>
668 <a name="getBackupSet-java.lang.String-">
669 <!-- -->
670 </a>
671 <ul class="blockList">
672 <li class="blockList">
673 <h4>getBackupSet</h4>
674 <pre>public&nbsp;<a href="../../../../../../org/apache/hadoop/hbase/backup/util/BackupSet.html" title="class in org.apache.hadoop.hbase.backup.util">BackupSet</a>&nbsp;<a href="../../../../../../src-html/org/apache/hadoop/hbase/backup/impl/BackupAdminImpl.html#line.442">getBackupSet</a>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name)
675 throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
676 <div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../../../../org/apache/hadoop/hbase/backup/BackupAdmin.html#getBackupSet-java.lang.String-">BackupAdmin</a></code></span></div>
677 <div class="block">Backup set describe command. Shows list of tables in this particular backup set.</div>
678 <dl>
679 <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
680 <dd><code><a href="../../../../../../org/apache/hadoop/hbase/backup/BackupAdmin.html#getBackupSet-java.lang.String-">getBackupSet</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../../org/apache/hadoop/hbase/backup/BackupAdmin.html" title="interface in org.apache.hadoop.hbase.backup">BackupAdmin</a></code></dd>
681 <dt><span class="paramLabel">Parameters:</span></dt>
682 <dd><code>name</code> - set name</dd>
683 <dt><span class="returnLabel">Returns:</span></dt>
684 <dd>backup set description or null</dd>
685 <dt><span class="throwsLabel">Throws:</span></dt>
686 <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - exception</dd>
687 </dl>
688 </li>
689 </ul>
690 <a name="deleteBackupSet-java.lang.String-">
691 <!-- -->
692 </a>
693 <ul class="blockList">
694 <li class="blockList">
695 <h4>deleteBackupSet</h4>
696 <pre>public&nbsp;boolean&nbsp;<a href="../../../../../../src-html/org/apache/hadoop/hbase/backup/impl/BackupAdminImpl.html#line.455">deleteBackupSet</a>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name)
697 throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
698 <div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../../../../org/apache/hadoop/hbase/backup/BackupAdmin.html#deleteBackupSet-java.lang.String-">BackupAdmin</a></code></span></div>
699 <div class="block">Delete backup set command</div>
700 <dl>
701 <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
702 <dd><code><a href="../../../../../../org/apache/hadoop/hbase/backup/BackupAdmin.html#deleteBackupSet-java.lang.String-">deleteBackupSet</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../../org/apache/hadoop/hbase/backup/BackupAdmin.html" title="interface in org.apache.hadoop.hbase.backup">BackupAdmin</a></code></dd>
703 <dt><span class="paramLabel">Parameters:</span></dt>
704 <dd><code>name</code> - backup set name</dd>
705 <dt><span class="returnLabel">Returns:</span></dt>
706 <dd>true, if success, false - otherwise</dd>
707 <dt><span class="throwsLabel">Throws:</span></dt>
708 <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - exception</dd>
709 </dl>
710 </li>
711 </ul>
712 <a name="addToBackupSet-java.lang.String-org.apache.hadoop.hbase.TableName:A-">
713 <!-- -->
714 </a>
715 <ul class="blockList">
716 <li class="blockList">
717 <h4>addToBackupSet</h4>
718 <pre>public&nbsp;void&nbsp;<a href="../../../../../../src-html/org/apache/hadoop/hbase/backup/impl/BackupAdminImpl.html#line.466">addToBackupSet</a>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name,
719 <a href="../../../../../../org/apache/hadoop/hbase/TableName.html" title="class in org.apache.hadoop.hbase">TableName</a>[]&nbsp;tables)
720 throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
721 <div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../../../../org/apache/hadoop/hbase/backup/BackupAdmin.html#addToBackupSet-java.lang.String-org.apache.hadoop.hbase.TableName:A-">BackupAdmin</a></code></span></div>
722 <div class="block">Add tables to backup set command</div>
723 <dl>
724 <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
725 <dd><code><a href="../../../../../../org/apache/hadoop/hbase/backup/BackupAdmin.html#addToBackupSet-java.lang.String-org.apache.hadoop.hbase.TableName:A-">addToBackupSet</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../../org/apache/hadoop/hbase/backup/BackupAdmin.html" title="interface in org.apache.hadoop.hbase.backup">BackupAdmin</a></code></dd>
726 <dt><span class="paramLabel">Parameters:</span></dt>
727 <dd><code>name</code> - name of backup set.</dd>
728 <dd><code>tables</code> - array of tables to be added to this set.</dd>
729 <dt><span class="throwsLabel">Throws:</span></dt>
730 <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - exception</dd>
731 </dl>
732 </li>
733 </ul>
734 <a name="removeFromBackupSet-java.lang.String-org.apache.hadoop.hbase.TableName:A-">
735 <!-- -->
736 </a>
737 <ul class="blockList">
738 <li class="blockList">
739 <h4>removeFromBackupSet</h4>
740 <pre>public&nbsp;void&nbsp;<a href="../../../../../../src-html/org/apache/hadoop/hbase/backup/impl/BackupAdminImpl.html#line.483">removeFromBackupSet</a>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name,
741 <a href="../../../../../../org/apache/hadoop/hbase/TableName.html" title="class in org.apache.hadoop.hbase">TableName</a>[]&nbsp;tables)
742 throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
743 <div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../../../../org/apache/hadoop/hbase/backup/BackupAdmin.html#removeFromBackupSet-java.lang.String-org.apache.hadoop.hbase.TableName:A-">BackupAdmin</a></code></span></div>
744 <div class="block">Remove tables from backup set</div>
745 <dl>
746 <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
747 <dd><code><a href="../../../../../../org/apache/hadoop/hbase/backup/BackupAdmin.html#removeFromBackupSet-java.lang.String-org.apache.hadoop.hbase.TableName:A-">removeFromBackupSet</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../../org/apache/hadoop/hbase/backup/BackupAdmin.html" title="interface in org.apache.hadoop.hbase.backup">BackupAdmin</a></code></dd>
748 <dt><span class="paramLabel">Parameters:</span></dt>
749 <dd><code>name</code> - name of backup set.</dd>
750 <dd><code>tables</code> - array of tables to be removed from this set.</dd>
751 <dt><span class="throwsLabel">Throws:</span></dt>
752 <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - exception</dd>
753 </dl>
754 </li>
755 </ul>
756 <a name="toStringArray-org.apache.hadoop.hbase.TableName:A-">
757 <!-- -->
758 </a>
759 <ul class="blockList">
760 <li class="blockList">
761 <h4>toStringArray</h4>
762 <pre>private&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[]&nbsp;<a href="../../../../../../src-html/org/apache/hadoop/hbase/backup/impl/BackupAdminImpl.html#line.492">toStringArray</a>(<a href="../../../../../../org/apache/hadoop/hbase/TableName.html" title="class in org.apache.hadoop.hbase">TableName</a>[]&nbsp;list)</pre>
763 </li>
764 </ul>
765 <a name="restore-org.apache.hadoop.hbase.backup.RestoreRequest-">
766 <!-- -->
767 </a>
768 <ul class="blockList">
769 <li class="blockList">
770 <h4>restore</h4>
771 <pre>public&nbsp;void&nbsp;<a href="../../../../../../src-html/org/apache/hadoop/hbase/backup/impl/BackupAdminImpl.html#line.501">restore</a>(<a href="../../../../../../org/apache/hadoop/hbase/backup/RestoreRequest.html" title="class in org.apache.hadoop.hbase.backup">RestoreRequest</a>&nbsp;request)
772 throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
773 <div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../../../../org/apache/hadoop/hbase/backup/BackupAdmin.html#restore-org.apache.hadoop.hbase.backup.RestoreRequest-">BackupAdmin</a></code></span></div>
774 <div class="block">Restore backup</div>
775 <dl>
776 <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
777 <dd><code><a href="../../../../../../org/apache/hadoop/hbase/backup/BackupAdmin.html#restore-org.apache.hadoop.hbase.backup.RestoreRequest-">restore</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../../org/apache/hadoop/hbase/backup/BackupAdmin.html" title="interface in org.apache.hadoop.hbase.backup">BackupAdmin</a></code></dd>
778 <dt><span class="paramLabel">Parameters:</span></dt>
779 <dd><code>request</code> - restore request</dd>
780 <dt><span class="throwsLabel">Throws:</span></dt>
781 <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - exception</dd>
782 </dl>
783 </li>
784 </ul>
785 <a name="backupTables-org.apache.hadoop.hbase.backup.BackupRequest-">
786 <!-- -->
787 </a>
788 <ul class="blockList">
789 <li class="blockList">
790 <h4>backupTables</h4>
791 <pre>public&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;<a href="../../../../../../src-html/org/apache/hadoop/hbase/backup/impl/BackupAdminImpl.html#line.524">backupTables</a>(<a href="../../../../../../org/apache/hadoop/hbase/backup/BackupRequest.html" title="class in org.apache.hadoop.hbase.backup">BackupRequest</a>&nbsp;request)
792 throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
793 <div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../../../../org/apache/hadoop/hbase/backup/BackupAdmin.html#backupTables-org.apache.hadoop.hbase.backup.BackupRequest-">BackupAdmin</a></code></span></div>
794 <div class="block">Backup given list of tables fully. This is a synchronous operation. It returns backup id on
795 success or throw exception on failure.</div>
796 <dl>
797 <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
798 <dd><code><a href="../../../../../../org/apache/hadoop/hbase/backup/BackupAdmin.html#backupTables-org.apache.hadoop.hbase.backup.BackupRequest-">backupTables</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../../org/apache/hadoop/hbase/backup/BackupAdmin.html" title="interface in org.apache.hadoop.hbase.backup">BackupAdmin</a></code></dd>
799 <dt><span class="paramLabel">Parameters:</span></dt>
800 <dd><code>request</code> - BackupRequest instance</dd>
801 <dt><span class="returnLabel">Returns:</span></dt>
802 <dd>the backup Id</dd>
803 <dt><span class="throwsLabel">Throws:</span></dt>
804 <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd>
805 </dl>
806 </li>
807 </ul>
808 <a name="excludeNonExistingTables-java.util.List-java.util.List-">
809 <!-- -->
810 </a>
811 <ul class="blockList">
812 <li class="blockList">
813 <h4>excludeNonExistingTables</h4>
814 <pre>private&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../../../../org/apache/hadoop/hbase/TableName.html" title="class in org.apache.hadoop.hbase">TableName</a>&gt;&nbsp;<a href="../../../../../../src-html/org/apache/hadoop/hbase/backup/impl/BackupAdminImpl.html#line.610">excludeNonExistingTables</a>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../../../../org/apache/hadoop/hbase/TableName.html" title="class in org.apache.hadoop.hbase">TableName</a>&gt;&nbsp;tableList,
815 <a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../../../../org/apache/hadoop/hbase/TableName.html" title="class in org.apache.hadoop.hbase">TableName</a>&gt;&nbsp;nonExistingTableList)</pre>
816 </li>
817 </ul>
818 <a name="mergeBackups-java.lang.String:A-">
819 <!-- -->
820 </a>
821 <ul class="blockList">
822 <li class="blockList">
823 <h4>mergeBackups</h4>
824 <pre>public&nbsp;void&nbsp;<a href="../../../../../../src-html/org/apache/hadoop/hbase/backup/impl/BackupAdminImpl.html#line.619">mergeBackups</a>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[]&nbsp;backupIds)
825 throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
826 <div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../../../../org/apache/hadoop/hbase/backup/BackupAdmin.html#mergeBackups-java.lang.String:A-">BackupAdmin</a></code></span></div>
827 <div class="block">Merge backup images command</div>
828 <dl>
829 <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
830 <dd><code><a href="../../../../../../org/apache/hadoop/hbase/backup/BackupAdmin.html#mergeBackups-java.lang.String:A-">mergeBackups</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../../org/apache/hadoop/hbase/backup/BackupAdmin.html" title="interface in org.apache.hadoop.hbase.backup">BackupAdmin</a></code></dd>
831 <dt><span class="paramLabel">Parameters:</span></dt>
832 <dd><code>backupIds</code> - array of backup ids of images to be merged
833 The resulting backup image will have the same backup id as the most
834 recent image from a list of images to be merged</dd>
835 <dt><span class="throwsLabel">Throws:</span></dt>
836 <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - exception</dd>
837 </dl>
838 </li>
839 </ul>
840 <a name="checkIfValidForMerge-java.lang.String:A-org.apache.hadoop.hbase.backup.impl.BackupSystemTable-">
841 <!-- -->
842 </a>
843 <ul class="blockListLast">
844 <li class="blockList">
845 <h4>checkIfValidForMerge</h4>
846 <pre>private&nbsp;void&nbsp;<a href="../../../../../../src-html/org/apache/hadoop/hbase/backup/impl/BackupAdminImpl.html#line.642">checkIfValidForMerge</a>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[]&nbsp;backupIds,
847 <a href="../../../../../../org/apache/hadoop/hbase/backup/impl/BackupSystemTable.html" title="class in org.apache.hadoop.hbase.backup.impl">BackupSystemTable</a>&nbsp;table)
848 throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
849 <div class="block">Verifies that backup images are valid for merge.
850
851 <ul>
852 <li>All backups MUST be in the same destination
853 <li>No FULL backups are allowed - only INCREMENTAL
854 <li>All backups must be in COMPLETE state
855 <li>No holes in backup list are allowed
856 </ul>
857 <p></div>
858 <dl>
859 <dt><span class="paramLabel">Parameters:</span></dt>
860 <dd><code>backupIds</code> - list of backup ids</dd>
861 <dd><code>table</code> - backup system table</dd>
862 <dt><span class="throwsLabel">Throws:</span></dt>
863 <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - if the backup image is not valid for merge</dd>
864 </dl>
865 </li>
866 </ul>
867 </li>
868 </ul>
869 </li>
870 </ul>
871 </div>
872 </div>
873 <!-- ========= END OF CLASS DATA ========= -->
874 <!-- ======= START OF BOTTOM NAVBAR ====== -->
875 <div class="bottomNav"><a name="navbar.bottom">
876 <!-- -->
877 </a>
878 <div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
879 <a name="navbar.bottom.firstrow">
880 <!-- -->
881 </a>
882 <ul class="navList" title="Navigation">
883 <li><a href="../../../../../../overview-summary.html">Overview</a></li>
884 <li><a href="package-summary.html">Package</a></li>
885 <li class="navBarCell1Rev">Class</li>
886 <li><a href="class-use/BackupAdminImpl.html">Use</a></li>
887 <li><a href="package-tree.html">Tree</a></li>
888 <li><a href="../../../../../../deprecated-list.html">Deprecated</a></li>
889 <li><a href="../../../../../../index-all.html">Index</a></li>
890 <li><a href="../../../../../../help-doc.html">Help</a></li>
891 </ul>
892 </div>
893 <div class="subNav">
894 <ul class="navList">
895 <li>Prev&nbsp;Class</li>
896 <li><a href="../../../../../../org/apache/hadoop/hbase/backup/impl/BackupCommands.html" title="class in org.apache.hadoop.hbase.backup.impl"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
897 </ul>
898 <ul class="navList">
899 <li><a href="../../../../../../index.html?org/apache/hadoop/hbase/backup/impl/BackupAdminImpl.html" target="_top">Frames</a></li>
900 <li><a href="BackupAdminImpl.html" target="_top">No&nbsp;Frames</a></li>
901 </ul>
902 <ul class="navList" id="allclasses_navbar_bottom">
903 <li><a href="../../../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
904 </ul>
905 <div>
906 <script type="text/javascript"><!--
907 allClassesLink = document.getElementById("allclasses_navbar_bottom");
908 if(window==top) {
909 allClassesLink.style.display = "block";
910 }
911 else {
912 allClassesLink.style.display = "none";
913 }
914 //-->
915 </script>
916 </div>
917 <div>
918 <ul class="subNavList">
919 <li>Summary:&nbsp;</li>
920 <li>Nested&nbsp;|&nbsp;</li>
921 <li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
922 <li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
923 <li><a href="#method.summary">Method</a></li>
924 </ul>
925 <ul class="subNavList">
926 <li>Detail:&nbsp;</li>
927 <li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
928 <li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
929 <li><a href="#method.detail">Method</a></li>
930 </ul>
931 </div>
932 <a name="skip.navbar.bottom">
933 <!-- -->
934 </a></div>
935 <!-- ======== END OF BOTTOM NAVBAR ======= -->
936 <p class="legalCopy"><small>Copyright &#169; 2007&#x2013;2018 <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</small></p>
937 </body>
938 </html>