Debian Codegraph @

docs/java/com/sleepycat/db/BackupOptions.html

raw symbols SCIP
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2 <!--NewPage-->
3 <HTML>
4 <HEAD>
5 <!-- Generated by javadoc (build 1.6.0_51) on Mon Sep 09 11:47:04 EDT 2013 -->
6 <TITLE>
7 BackupOptions (Oracle - Berkeley DB Java API)
8 </TITLE>
9
10 <META NAME="date" CONTENT="2013-09-09">
11
12 <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../style.css" TITLE="Style">
13
14 <SCRIPT type="text/javascript">
15 function windowTitle()
16 {
17 if (location.href.indexOf('is-external=true') == -1) {
18 parent.document.title="BackupOptions (Oracle - Berkeley DB Java API)";
19 }
20 }
21 </SCRIPT>
22 <NOSCRIPT>
23 </NOSCRIPT>
24
25 </HEAD>
26
27 <BODY BGCOLOR="white" onload="windowTitle();">
28 <HR>
29
30
31 <!-- ========= START OF TOP NAVBAR ======= -->
32 <A NAME="navbar_top"><!-- --></A>
33 <A HREF="#skip-navbar_top" title="Skip navigation links"></A>
34 <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
35 <TR>
36 <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
37 <A NAME="navbar_top_firstrow"><!-- --></A>
38 <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
39 <TR ALIGN="center" VALIGN="top">
40 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
41 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
42 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
43 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/BackupOptions.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
44 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
45 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
46 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
47 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
48 </TR>
49 </TABLE>
50 </TD>
51 <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
52 <b>Berkeley DB</b><br><font size="-1"> version 5.3.28</font></EM>
53 </TD>
54 </TR>
55
56 <TR>
57 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
58 &nbsp;<A HREF="../../../com/sleepycat/db/BackupHandler.html" title="interface in com.sleepycat.db"><B>PREV CLASS</B></A>&nbsp;
59 &nbsp;<A HREF="../../../com/sleepycat/db/BtreeCompressor.html" title="interface in com.sleepycat.db"><B>NEXT CLASS</B></A></FONT></TD>
60 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
61 <A HREF="../../../index.html?com/sleepycat/db/BackupOptions.html" target="_top"><B>FRAMES</B></A> &nbsp;
62 &nbsp;<A HREF="BackupOptions.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
63 &nbsp;<SCRIPT type="text/javascript">
64 <!--
65 if(window==top) {
66 document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
67 }
68 //-->
69 </SCRIPT>
70 <NOSCRIPT>
71 <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
72 </NOSCRIPT>
73
74
75 </FONT></TD>
76 </TR>
77 <TR>
78 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
79 SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
80 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
81 DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
82 </TR>
83 </TABLE>
84 <A NAME="skip-navbar_top"></A>
85 <!-- ========= END OF TOP NAVBAR ========= -->
86
87 <HR>
88 <!-- ======== START OF CLASS DATA ======== -->
89 <H2>
90 <FONT SIZE="-1">
91 com.sleepycat.db</FONT>
92 <BR>
93 Class BackupOptions</H2>
94 <PRE>
95 <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</A>
96 <IMG SRC="../../../resources/inherit.gif" ALT="extended by "><B>com.sleepycat.db.BackupOptions</B>
97 </PRE>
98 <DL>
99 <DT><B>All Implemented Interfaces:</B> <DD><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Cloneable.html?is-external=true" title="class or interface in java.lang">Cloneable</A></DD>
100 </DL>
101 <HR>
102 <DL>
103 <DT><PRE>public class <B>BackupOptions</B><DT>extends <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A><DT>implements <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Cloneable.html?is-external=true" title="class or interface in java.lang">Cloneable</A></DL>
104 </PRE>
105
106 <P>
107 Options for <A HREF="../../../com/sleepycat/db/Environment.html#backup(java.lang.String, com.sleepycat.db.BackupOptions)"><CODE>Environment.backup(java.lang.String, com.sleepycat.db.BackupOptions)</CODE></A> operations.
108 <P>
109
110 <P>
111 <HR>
112
113 <P>
114 <!-- =========== FIELD SUMMARY =========== -->
115
116 <A NAME="field_summary"><!-- --></A>
117 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
118 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
119 <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
120 <B>Field Summary</B></FONT></TH>
121 </TR>
122 <TR BGCOLOR="white" CLASS="TableRowColor">
123 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
124 <CODE>static&nbsp;<A HREF="../../../com/sleepycat/db/BackupOptions.html" title="class in com.sleepycat.db">BackupOptions</A></CODE></FONT></TD>
125 <TD><CODE><B><A HREF="../../../com/sleepycat/db/BackupOptions.html#DEFAULT">DEFAULT</A></B></CODE>
126
127 <BR>
128 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Default configuration used if null is passed to methods that create a
129 cursor.</TD>
130 </TR>
131 </TABLE>
132 &nbsp;
133 <!-- ======== CONSTRUCTOR SUMMARY ======== -->
134
135 <A NAME="constructor_summary"><!-- --></A>
136 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
137 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
138 <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
139 <B>Constructor Summary</B></FONT></TH>
140 </TR>
141 <TR BGCOLOR="white" CLASS="TableRowColor">
142 <TD><CODE><B><A HREF="../../../com/sleepycat/db/BackupOptions.html#BackupOptions()">BackupOptions</A></B>()</CODE>
143
144 <BR>
145 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Construct a default options object for backup operations.</TD>
146 </TR>
147 </TABLE>
148 &nbsp;
149 <!-- ========== METHOD SUMMARY =========== -->
150
151 <A NAME="method_summary"><!-- --></A>
152 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
153 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
154 <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
155 <B>Method Summary</B></FONT></TH>
156 </TR>
157 <TR BGCOLOR="white" CLASS="TableRowColor">
158 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
159 <CODE>&nbsp;boolean</CODE></FONT></TD>
160 <TD><CODE><B><A HREF="../../../com/sleepycat/db/BackupOptions.html#getAllowCreate()">getAllowCreate</A></B>()</CODE>
161
162 <BR>
163 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Whether the target directory will be created if it does not already exist.</TD>
164 </TR>
165 <TR BGCOLOR="white" CLASS="TableRowColor">
166 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
167 <CODE>&nbsp;boolean</CODE></FONT></TD>
168 <TD><CODE><B><A HREF="../../../com/sleepycat/db/BackupOptions.html#getClean()">getClean</A></B>()</CODE>
169
170 <BR>
171 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Whether the target backup directory should be cleaned.</TD>
172 </TR>
173 <TR BGCOLOR="white" CLASS="TableRowColor">
174 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
175 <CODE>&nbsp;boolean</CODE></FONT></TD>
176 <TD><CODE><B><A HREF="../../../com/sleepycat/db/BackupOptions.html#getExclusiveCreate()">getExclusiveCreate</A></B>()</CODE>
177
178 <BR>
179 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Whether the target directory will be exclusively created.</TD>
180 </TR>
181 <TR BGCOLOR="white" CLASS="TableRowColor">
182 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
183 <CODE>&nbsp;boolean</CODE></FONT></TD>
184 <TD><CODE><B><A HREF="../../../com/sleepycat/db/BackupOptions.html#getFiles()">getFiles</A></B>()</CODE>
185
186 <BR>
187 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Whether ordinary files are included in the hot backup.</TD>
188 </TR>
189 <TR BGCOLOR="white" CLASS="TableRowColor">
190 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
191 <CODE>&nbsp;boolean</CODE></FONT></TD>
192 <TD><CODE><B><A HREF="../../../com/sleepycat/db/BackupOptions.html#getNoLogs()">getNoLogs</A></B>()</CODE>
193
194 <BR>
195 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Whether log files are included in the backup.</TD>
196 </TR>
197 <TR BGCOLOR="white" CLASS="TableRowColor">
198 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
199 <CODE>&nbsp;boolean</CODE></FONT></TD>
200 <TD><CODE><B><A HREF="../../../com/sleepycat/db/BackupOptions.html#getSingleDir()">getSingleDir</A></B>()</CODE>
201
202 <BR>
203 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Whether all backed up files are to be placed in a single directory.</TD>
204 </TR>
205 <TR BGCOLOR="white" CLASS="TableRowColor">
206 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
207 <CODE>&nbsp;boolean</CODE></FONT></TD>
208 <TD><CODE><B><A HREF="../../../com/sleepycat/db/BackupOptions.html#getUpdate()">getUpdate</A></B>()</CODE>
209
210 <BR>
211 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Whether an incremental backup will be performed.</TD>
212 </TR>
213 <TR BGCOLOR="white" CLASS="TableRowColor">
214 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
215 <CODE>&nbsp;void</CODE></FONT></TD>
216 <TD><CODE><B><A HREF="../../../com/sleepycat/db/BackupOptions.html#setAllowCreate(boolean)">setAllowCreate</A></B>(boolean&nbsp;allowcreate)</CODE>
217
218 <BR>
219 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets whether the target directory will be created if it does not
220 already exist.</TD>
221 </TR>
222 <TR BGCOLOR="white" CLASS="TableRowColor">
223 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
224 <CODE>&nbsp;void</CODE></FONT></TD>
225 <TD><CODE><B><A HREF="../../../com/sleepycat/db/BackupOptions.html#setClean(boolean)">setClean</A></B>(boolean&nbsp;clean)</CODE>
226
227 <BR>
228 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets whether to clean the target backup directory.</TD>
229 </TR>
230 <TR BGCOLOR="white" CLASS="TableRowColor">
231 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
232 <CODE>&nbsp;void</CODE></FONT></TD>
233 <TD><CODE><B><A HREF="../../../com/sleepycat/db/BackupOptions.html#setExclusiveCreate(boolean)">setExclusiveCreate</A></B>(boolean&nbsp;exclusivecreate)</CODE>
234
235 <BR>
236 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets whether the target directory will be exclusively created.</TD>
237 </TR>
238 <TR BGCOLOR="white" CLASS="TableRowColor">
239 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
240 <CODE>&nbsp;void</CODE></FONT></TD>
241 <TD><CODE><B><A HREF="../../../com/sleepycat/db/BackupOptions.html#setFiles(boolean)">setFiles</A></B>(boolean&nbsp;files)</CODE>
242
243 <BR>
244 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets whether all ordinary files will be backed up.</TD>
245 </TR>
246 <TR BGCOLOR="white" CLASS="TableRowColor">
247 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
248 <CODE>&nbsp;void</CODE></FONT></TD>
249 <TD><CODE><B><A HREF="../../../com/sleepycat/db/BackupOptions.html#setNoLogs(boolean)">setNoLogs</A></B>(boolean&nbsp;nologs)</CODE>
250
251 <BR>
252 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets whether log files are skipped in the backup.</TD>
253 </TR>
254 <TR BGCOLOR="white" CLASS="TableRowColor">
255 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
256 <CODE>&nbsp;void</CODE></FONT></TD>
257 <TD><CODE><B><A HREF="../../../com/sleepycat/db/BackupOptions.html#setSingleDir(boolean)">setSingleDir</A></B>(boolean&nbsp;singledir)</CODE>
258
259 <BR>
260 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets whether all backed up files are to be placed in a single directory.</TD>
261 </TR>
262 <TR BGCOLOR="white" CLASS="TableRowColor">
263 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
264 <CODE>&nbsp;void</CODE></FONT></TD>
265 <TD><CODE><B><A HREF="../../../com/sleepycat/db/BackupOptions.html#setUpdate(boolean)">setUpdate</A></B>(boolean&nbsp;update)</CODE>
266
267 <BR>
268 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets whether to perform an incremental back up.</TD>
269 </TR>
270 </TABLE>
271 &nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
272 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
273 <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
274 <TH ALIGN="left"><B>Methods inherited from class java.lang.<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></B></TH>
275 </TR>
276 <TR BGCOLOR="white" CLASS="TableRowColor">
277 <TD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang">clone</A>, <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</A>, <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang">finalize</A>, <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</A>, <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</A>, <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</A>, <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</A>, <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang">toString</A>, <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</A>, <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</A>, <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#wait(long, int)" title="class or interface in java.lang">wait</A></CODE></TD>
278 </TR>
279 </TABLE>
280 &nbsp;
281 <P>
282
283 <!-- ============ FIELD DETAIL =========== -->
284
285 <A NAME="field_detail"><!-- --></A>
286 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
287 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
288 <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
289 <B>Field Detail</B></FONT></TH>
290 </TR>
291 </TABLE>
292
293 <A NAME="DEFAULT"><!-- --></A><H3>
294 DEFAULT</H3>
295 <PRE>
296 public static final <A HREF="../../../com/sleepycat/db/BackupOptions.html" title="class in com.sleepycat.db">BackupOptions</A> <B>DEFAULT</B></PRE>
297 <DL>
298 <DD>Default configuration used if null is passed to methods that create a
299 cursor.
300 <P>
301 <DL>
302 </DL>
303 </DL>
304
305 <!-- ========= CONSTRUCTOR DETAIL ======== -->
306
307 <A NAME="constructor_detail"><!-- --></A>
308 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
309 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
310 <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
311 <B>Constructor Detail</B></FONT></TH>
312 </TR>
313 </TABLE>
314
315 <A NAME="BackupOptions()"><!-- --></A><H3>
316 BackupOptions</H3>
317 <PRE>
318 public <B>BackupOptions</B>()</PRE>
319 <DL>
320 <DD>Construct a default options object for backup operations.
321 <P>
322 </DL>
323
324 <!-- ============ METHOD DETAIL ========== -->
325
326 <A NAME="method_detail"><!-- --></A>
327 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
328 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
329 <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
330 <B>Method Detail</B></FONT></TH>
331 </TR>
332 </TABLE>
333
334 <A NAME="setClean(boolean)"><!-- --></A><H3>
335 setClean</H3>
336 <PRE>
337 public void <B>setClean</B>(boolean&nbsp;clean)</PRE>
338 <DL>
339 <DD>Sets whether to clean the target backup directory.
340 <p>
341 <P>
342 <DD><DL>
343 </DL>
344 </DD>
345 <DD><DL>
346 <DT><B>Parameters:</B><DD><CODE>clean</CODE> - If true, all files are removed from the target backup directory before
347 the back up is performed.</DL>
348 </DD>
349 </DL>
350 <HR>
351
352 <A NAME="getClean()"><!-- --></A><H3>
353 getClean</H3>
354 <PRE>
355 public boolean <B>getClean</B>()</PRE>
356 <DL>
357 <DD>Whether the target backup directory should be cleaned.
358 <p>
359 <P>
360 <DD><DL>
361 </DL>
362 </DD>
363 <DD><DL>
364
365 <DT><B>Returns:</B><DD>true if the all files are removed from the target backup directory
366 before performing the backup.</DL>
367 </DD>
368 </DL>
369 <HR>
370
371 <A NAME="setFiles(boolean)"><!-- --></A><H3>
372 setFiles</H3>
373 <PRE>
374 public void <B>setFiles</B>(boolean&nbsp;files)</PRE>
375 <DL>
376 <DD>Sets whether all ordinary files will be backed up.
377 <p>
378 <P>
379 <DD><DL>
380 </DL>
381 </DD>
382 <DD><DL>
383 <DT><B>Parameters:</B><DD><CODE>files</CODE> - If true, all ordinary files that might exist in the environment, as well
384 as might exist in the environment's subdirectories, are backed up; otherwise,
385 only files necessary for the proper operation of Berkeley DB are backed up.</DL>
386 </DD>
387 </DL>
388 <HR>
389
390 <A NAME="getFiles()"><!-- --></A><H3>
391 getFiles</H3>
392 <PRE>
393 public boolean <B>getFiles</B>()</PRE>
394 <DL>
395 <DD>Whether ordinary files are included in the hot backup.
396 <p>
397 <P>
398 <DD><DL>
399 </DL>
400 </DD>
401 <DD><DL>
402
403 <DT><B>Returns:</B><DD>true if ordinary files are included in the backup.</DL>
404 </DD>
405 </DL>
406 <HR>
407
408 <A NAME="setNoLogs(boolean)"><!-- --></A><H3>
409 setNoLogs</H3>
410 <PRE>
411 public void <B>setNoLogs</B>(boolean&nbsp;nologs)</PRE>
412 <DL>
413 <DD>Sets whether log files are skipped in the backup.
414 <p>
415 <P>
416 <DD><DL>
417 </DL>
418 </DD>
419 <DD><DL>
420 <DT><B>Parameters:</B><DD><CODE>nologs</CODE> - If true, log files are not included in the backup. Instead, only *.db
421 files are copied to the target directory.</DL>
422 </DD>
423 </DL>
424 <HR>
425
426 <A NAME="getNoLogs()"><!-- --></A><H3>
427 getNoLogs</H3>
428 <PRE>
429 public boolean <B>getNoLogs</B>()</PRE>
430 <DL>
431 <DD>Whether log files are included in the backup.
432 <p>
433 <P>
434 <DD><DL>
435 </DL>
436 </DD>
437 <DD><DL>
438
439 <DT><B>Returns:</B><DD>true if log files will not be included in the backup. Instead, only *.db
440 files are copied to the target directory.</DL>
441 </DD>
442 </DL>
443 <HR>
444
445 <A NAME="setSingleDir(boolean)"><!-- --></A><H3>
446 setSingleDir</H3>
447 <PRE>
448 public void <B>setSingleDir</B>(boolean&nbsp;singledir)</PRE>
449 <DL>
450 <DD>Sets whether all backed up files are to be placed in a single directory.
451 <p>
452 <P>
453 <DD><DL>
454 </DL>
455 </DD>
456 <DD><DL>
457 <DT><B>Parameters:</B><DD><CODE>singledir</CODE> - If true, then regardless of the directory structure used by the source
458 environment, place all back up files in the single target directory
459 Use this option if absolute path names to your environment directory
460 and the files within that directory are required by your application.</DL>
461 </DD>
462 </DL>
463 <HR>
464
465 <A NAME="getSingleDir()"><!-- --></A><H3>
466 getSingleDir</H3>
467 <PRE>
468 public boolean <B>getSingleDir</B>()</PRE>
469 <DL>
470 <DD>Whether all backed up files are to be placed in a single directory.
471 <p>
472 <P>
473 <DD><DL>
474 </DL>
475 </DD>
476 <DD><DL>
477
478 <DT><B>Returns:</B><DD>true if all the backup files will be placed in a single target
479 directory regardless of the directory structure used by the source
480 environment.</DL>
481 </DD>
482 </DL>
483 <HR>
484
485 <A NAME="setUpdate(boolean)"><!-- --></A><H3>
486 setUpdate</H3>
487 <PRE>
488 public void <B>setUpdate</B>(boolean&nbsp;update)</PRE>
489 <DL>
490 <DD>Sets whether to perform an incremental back up.
491 <p>
492 <P>
493 <DD><DL>
494 </DL>
495 </DD>
496 <DD><DL>
497 <DT><B>Parameters:</B><DD><CODE>update</CODE> - If true, perform an incremental back up, instead of a full back up.
498 When this option is specified, only log files are copied to the target
499 directory.</DL>
500 </DD>
501 </DL>
502 <HR>
503
504 <A NAME="getUpdate()"><!-- --></A><H3>
505 getUpdate</H3>
506 <PRE>
507 public boolean <B>getUpdate</B>()</PRE>
508 <DL>
509 <DD>Whether an incremental backup will be performed.
510 <p>
511 <P>
512 <DD><DL>
513 </DL>
514 </DD>
515 <DD><DL>
516
517 <DT><B>Returns:</B><DD>true if an incremental backup, instead of a full backup, will be performed.
518 Also, if true, then only log files are copied to the target directory.</DL>
519 </DD>
520 </DL>
521 <HR>
522
523 <A NAME="setAllowCreate(boolean)"><!-- --></A><H3>
524 setAllowCreate</H3>
525 <PRE>
526 public void <B>setAllowCreate</B>(boolean&nbsp;allowcreate)</PRE>
527 <DL>
528 <DD>Sets whether the target directory will be created if it does not
529 already exist.
530 <p>
531 <P>
532 <DD><DL>
533 </DL>
534 </DD>
535 <DD><DL>
536 <DT><B>Parameters:</B><DD><CODE>allowcreate</CODE> - If true, then create the target directory and any subdirectories as
537 required to perform the backup; otherwise, any missing directories
538 will result in the backup operation throwing a
539 <A HREF="../../../com/sleepycat/db/DatabaseException.html" title="class in com.sleepycat.db"><CODE>DatabaseException</CODE></A> exception.</DL>
540 </DD>
541 </DL>
542 <HR>
543
544 <A NAME="getAllowCreate()"><!-- --></A><H3>
545 getAllowCreate</H3>
546 <PRE>
547 public boolean <B>getAllowCreate</B>()</PRE>
548 <DL>
549 <DD>Whether the target directory will be created if it does not already exist.
550 <p>
551 <P>
552 <DD><DL>
553 </DL>
554 </DD>
555 <DD><DL>
556
557 <DT><B>Returns:</B><DD>true if the backup operation will create the target directory and any
558 subdirectories as required to perform the backup; otherwise, any
559 missing directories will result in the backup operation throwing a
560 <A HREF="../../../com/sleepycat/db/DatabaseException.html" title="class in com.sleepycat.db"><CODE>DatabaseException</CODE></A> exception.</DL>
561 </DD>
562 </DL>
563 <HR>
564
565 <A NAME="setExclusiveCreate(boolean)"><!-- --></A><H3>
566 setExclusiveCreate</H3>
567 <PRE>
568 public void <B>setExclusiveCreate</B>(boolean&nbsp;exclusivecreate)</PRE>
569 <DL>
570 <DD>Sets whether the target directory will be exclusively created.
571 <p>
572 <P>
573 <DD><DL>
574 </DL>
575 </DD>
576 <DD><DL>
577 <DT><B>Parameters:</B><DD><CODE>exclusivecreate</CODE> - If true, then the backup operation will create the target directory and
578 any required subdirectories. If the target directory currently exists,
579 the backup operation will throw a
580 <A HREF="../../../com/sleepycat/db/DatabaseException.html" title="class in com.sleepycat.db"><CODE>DatabaseException</CODE></A> exception.</DL>
581 </DD>
582 </DL>
583 <HR>
584
585 <A NAME="getExclusiveCreate()"><!-- --></A><H3>
586 getExclusiveCreate</H3>
587 <PRE>
588 public boolean <B>getExclusiveCreate</B>()</PRE>
589 <DL>
590 <DD>Whether the target directory will be exclusively created.
591 <p>
592 <P>
593 <DD><DL>
594 </DL>
595 </DD>
596 <DD><DL>
597
598 <DT><B>Returns:</B><DD>true if the backup operation will create the target directory and
599 any required subdirectories. If the target directory currently exists,
600 the backup operation will throw a
601 <A HREF="../../../com/sleepycat/db/DatabaseException.html" title="class in com.sleepycat.db"><CODE>DatabaseException</CODE></A> exception.</DL>
602 </DD>
603 </DL>
604 <!-- ========= END OF CLASS DATA ========= -->
605 <HR>
606
607
608 <!-- ======= START OF BOTTOM NAVBAR ====== -->
609 <A NAME="navbar_bottom"><!-- --></A>
610 <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
611 <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
612 <TR>
613 <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
614 <A NAME="navbar_bottom_firstrow"><!-- --></A>
615 <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
616 <TR ALIGN="center" VALIGN="top">
617 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
618 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
619 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
620 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/BackupOptions.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
621 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
622 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
623 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
624 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
625 </TR>
626 </TABLE>
627 </TD>
628 <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
629 <b>Berkeley DB</b><br><font size="-1"> version 5.3.28</font></EM>
630 </TD>
631 </TR>
632
633 <TR>
634 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
635 &nbsp;<A HREF="../../../com/sleepycat/db/BackupHandler.html" title="interface in com.sleepycat.db"><B>PREV CLASS</B></A>&nbsp;
636 &nbsp;<A HREF="../../../com/sleepycat/db/BtreeCompressor.html" title="interface in com.sleepycat.db"><B>NEXT CLASS</B></A></FONT></TD>
637 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
638 <A HREF="../../../index.html?com/sleepycat/db/BackupOptions.html" target="_top"><B>FRAMES</B></A> &nbsp;
639 &nbsp;<A HREF="BackupOptions.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
640 &nbsp;<SCRIPT type="text/javascript">
641 <!--
642 if(window==top) {
643 document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
644 }
645 //-->
646 </SCRIPT>
647 <NOSCRIPT>
648 <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
649 </NOSCRIPT>
650
651
652 </FONT></TD>
653 </TR>
654 <TR>
655 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
656 SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
657 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
658 DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
659 </TR>
660 </TABLE>
661 <A NAME="skip-navbar_bottom"></A>
662 <!-- ======== END OF BOTTOM NAVBAR ======= -->
663
664 <HR>
665 <font size=1>Copyright (c) 1996, 2013 Oracle and/or its affiliates. All rights reserved.</font>
666 </BODY>
667 </HTML>