Linux ns8.secondary29.go.th 2.6.32-754.28.1.el6.x86_64 #1 SMP Wed Mar 11 18:38:45 UTC 2020 x86_64
Apache/2.2.15 (CentOS)
: 122.154.134.11 | : 122.154.134.9
Cant Read [ /etc/named.conf ]
5.6.40
apache
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
README
+ Create Folder
+ Create File
/
usr /
share /
doc /
db4-devel-4.7.25 /
ref /
transapp /
[ HOME SHELL ]
Name
Size
Permission
Action
admin.html
3.28
KB
-rw-r--r--
app.html
16.29
KB
-rw-r--r--
archival.html
9.52
KB
-rw-r--r--
atomicity.html
4.19
KB
-rw-r--r--
checkpoint.html
4.7
KB
-rw-r--r--
cursor.html
4.99
KB
-rw-r--r--
data_open.html
5.89
KB
-rw-r--r--
deadlock.html
5.78
KB
-rw-r--r--
env_open.html
6.53
KB
-rw-r--r--
fail.html
4.98
KB
-rw-r--r--
faq.html
7.8
KB
-rw-r--r--
filesys.html
4.22
KB
-rw-r--r--
hotfail.html
5.51
KB
-rw-r--r--
inc.html
6.1
KB
-rw-r--r--
intro.html
2.72
KB
-rw-r--r--
logfile.html
3.57
KB
-rw-r--r--
nested.html
4.19
KB
-rw-r--r--
put.html
10.51
KB
-rw-r--r--
read.html
7.93
KB
-rw-r--r--
reclimit.html
9.7
KB
-rw-r--r--
recovery.html
6.42
KB
-rw-r--r--
term.html
4.09
KB
-rw-r--r--
throughput.html
7.14
KB
-rw-r--r--
transapp.cs
10.34
KB
-rw-r--r--
tune.html
10.76
KB
-rw-r--r--
why.html
2.49
KB
-rw-r--r--
writetest.cs
2.32
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : hotfail.html
<!--$Id: hotfail.so,v 10.5 2005/02/10 20:02:41 bostic Exp $--> <!--Copyright (c) 1997,2008 Oracle. All rights reserved.--> <!--See the file LICENSE for redistribution information.--> <html> <head> <title>Berkeley DB Reference Guide: Hot failover</title> <meta name="description" content="Berkeley DB: An embedded database programmatic toolkit."> <meta name="keywords" content="embedded,database,programmatic,toolkit,btree,hash,hashing,transaction,transactions,locking,logging,access method,access methods,Java,C,C++"> </head> <body bgcolor=white> <a name="2"><!--meow--></a> <table width="100%"><tr valign=top> <td><b><dl><dt>Berkeley DB Reference Guide:<dd>Berkeley DB Transactional Data Store Applications</dl></b></td> <td align=right><a href="../transapp/recovery.html"><img src="../../images/prev.gif" alt="Prev"></a><a href="../toc.html"><img src="../../images/ref.gif" alt="Ref"></a><a href="../transapp/filesys.html"><img src="../../images/next.gif" alt="Next"></a> </td></tr></table> <p align=center><b>Hot failover</b></p> <p>For some applications, it may be useful to periodically snapshot the database environment for use as a hot failover should the primary system fail. The following steps can be taken to keep a backup environment in close synchrony with an active environment. The active environment is entirely unaffected by these procedures, and both read and write operations are allowed during all steps described here.</p> <ol> <p><li>Run <a href="../../utility/db_archive.html">db_archive</a> <b>-s</b> in the active environment to identify all of the active environment's database files, and copy them to the backup directory. <p>If the database files are stored in a separate directory from the other Berkeley DB files, it will be simpler (and much faster!) to copy the directory itself instead of the individual files (see <a href="../../api_c/env_set_data_dir.html">DB_ENV->set_data_dir</a> for additional information). <b>Note: if any of the database files did not have an open <a href="../../api_c/db_class.html">DB</a> handle during the lifetime of the current log files, <a href="../../utility/db_archive.html">db_archive</a> will not list them in its output!</b> This is another reason it may be simpler to use a separate database file directory and copy the entire directory instead of archiving only the files listed by <a href="../../utility/db_archive.html">db_archive</a>.</p> <p><li>Remove all existing log files from the backup directory. <p><li>Run <a href="../../utility/db_archive.html">db_archive</a> <b>-l</b> in the active environment to identify all of the active environment's log files, and copy them to the backup directory. <p><li>Run <a href="../../utility/db_recover.html">db_recover</a> <b>-c</b> in the backup directory to catastrophically recover the copied environment. </ol> <p>Steps 2, 3 and 4 may be repeated as often as you like. If Step 1 (the initial copy of the database files) is repeated, then Steps 2, 3 and 4 <b>must</b> be performed at least once in order to ensure a consistent database environment snapshot.</p> <p>These procedures must be integrated with your other archival procedures, of course. If you are periodically removing log files from your active environment, you must be sure to copy them to the backup directory before removing them from the active directory. Not copying a log file to the backup directory and subsequently running recovery with it present may leave the backup snapshot of the environment corrupted. A simple way to ensure this never happens is to archive the log files in Step 2 as you remove them from the backup directory, and move inactive log files from your active environment into your backup directory (rather than copying them), in Step 3. The following steps describe this procedure in more detail:</p> <ol> <p><li>Run <a href="../../utility/db_archive.html">db_archive</a> <b>-s</b> in the active environment to identify all of the active environment's database files, and copy them to the backup directory. <p><li>Archive all existing log files from the backup directory, moving them to a backup device such as CD-ROM, alternate disk, or tape. <p><li>Run <a href="../../utility/db_archive.html">db_archive</a> (without any option) in the active environment to identify all of the log files in the active environment that are no longer in use, and <b>move</b> them to the backup directory. <p><li>Run <a href="../../utility/db_archive.html">db_archive</a> <b>-l</b> in the active environment to identify all of the remaining log files in the active environment, and <b>copy</b> the log files to the backup directory. <p><li>Run <a href="../../utility/db_recover.html">db_recover</a> <b>-c</b> in the backup directory to catastrophically recover the copied environment. </ol> <p>As before, steps 2, 3, 4 and 5 may be repeated as often as you like. If Step 1 (the initial copy of the database files) is repeated, then Steps 2 through 5 <b>must</b> be performed at least once in order to ensure a consistent database environment snapshot.</p> <p>For an example of a hot backup implementation in the Berkeley DB distribution, see the source code for the <a href="../../utility/db_hotbackup.html">db_hotbackup</a> utility.</p> <table width="100%"><tr><td><br></td><td align=right><a href="../transapp/recovery.html"><img src="../../images/prev.gif" alt="Prev"></a><a href="../toc.html"><img src="../../images/ref.gif" alt="Ref"></a><a href="../transapp/filesys.html"><img src="../../images/next.gif" alt="Next"></a> </td></tr></table> <p><font size=1>Copyright (c) 1996,2008 Oracle. All rights reserved.</font> </body> </html>
Close