8 More Discussions You Might Find Interesting
1. What is on Your Mind?
Update: UserCP Screeching Frog 0.7641 - Changed Live Chat to Live Updates
In this version of the UserCP, I have changed "Live Chat" to "Live Updates" by disabling the ability to post in the "live chat" area and changed the name to "Live Updates"
The reason for this change is that experienced... (6 Replies)
Discussion started by: Neo
6 Replies
2. Red Hat
Hi,
I have done setup for openldap master and slave.
Its working fine and replicating also.
But it is working only with plane text password in syncrepl .
How we can use encrypted password here also like we are using in rootpw ?
Below portion is working.
syncrepl rid=101
... (3 Replies)
Discussion started by: Priy
3 Replies
3. UNIX for Dummies Questions & Answers
File_1 looks like:
bunch of text
Untitled Placemark
bunch of text
bunch of text
Untitled Placemark
bunch of text
bunch of text
Untitled Placemark
bunch of text
File_2 looks like:
Title_001
Title_002
Title_003
First:
I need to replace the 1st occurence of "Untitled Placemark"... (2 Replies)
Discussion started by: kenneth.mcbride
2 Replies
4. Homework & Coursework Questions
1. The problem statement, all variables and given/known data:
2. Relevant commands, code, scripts, algorithms:
We have to do this using 'unix tools' and not use the script as if it were C. Meaning, he wants more uses of grep, sed, awk, cut, etc... than he does while, for, do's and done's.... (23 Replies)
Discussion started by: theexitwound
23 Replies
5. Red Hat
Hi, all:
I'm studying for the RHCE and have hit the section on configuring an OpenLDAP client. I'd like to practice this, but I can't get an OpenLDAP server set up. I followed the directions in RedHat's Deployment Guide, and it looks like the server is up and running, but I can't get the... (0 Replies)
Discussion started by: rjlohman
0 Replies
6. Shell Programming and Scripting
I'm trying to upgrade a whole bunch of pages on my site to a new design.
I thought one way of doing it would be to enclose the content in special comment tags and then use some form of script to wrap the new html around it. Like this:
<!-- content start -->
<h1>Blah blah blah</h1>
yada yada... (9 Replies)
Discussion started by: dheian
9 Replies
7. Shell Programming and Scripting
Hello,
I am wanting to know a way to shell (ksh)script-edit a file by having a script that searches for a specific string, and then input lines of text in the file after that specific string. Please help, as I will be up all night if I can't figure this out. (16 Replies)
Discussion started by: LinuxRacr
16 Replies
8. AIX
hello
I have a P570 with 3 partitions.
These partitions are available, since 1 year. So there are a lot of users, files, etc, on these partition
I must now install an openldap with Debian to manage all these users.
But several pb:
on LDAP, we are 1 iud for user and one home directory, 1 gid... (0 Replies)
Discussion started by: pascalbout
0 Replies
DB4.7_HOTBACKUP(1) General Commands Manual DB4.7_HOTBACKUP(1)
NAME
db4.7_hotbackup - Create "hot backup" or "hot failover" snapshots
SYNOPSIS
db4.7_hotbackup [-cDuVv] [-d data_dir ...] [-h home] [-l log_dir] [-P password] -b backup_dir
DESCRIPTION
The db4.7_hotbackup utility creates "hot backup" or "hot failover" snapshots of Berkeley DB database environments.
The db4.7_hotbackup utility performs the following steps:
1. If the -c option is specified, checkpoint the source home database environment, and remove any unnecessary log files.
2. If the target directory for the backup does not exist, it is created with mode read-write-execute for the owner.
If the target directory for the backup does exist and the -u option was specified, all log files in the target directory are
removed; if the -u option was not specified, all files in the target directory are removed.
3. If the -u option was not specified, copy application-specific files found in the database environment home directory, or any
directory specified using the -d option, into the target directory for the backup.
4. Copy all log files found in the directory specified by the -l option (or in the database environment home directory, if no -l
option was specified), into the target directory for the backup.
5. Perform catastrophic recovery on the hot backup.
6. Remove any unnecessary log files from the hot backup.
The db4.7_hotbackup utility does not resolve pending transactions that are in the prepared state. Applications that use DB_TXN->prepare
should specify DB_RECOVER_FATAL when opening the environment, and run DB_ENV->txn_recover to resolve any pending transactions, when failing
over to the hot backup.
OPTIONS
-b Specify the target directory for the backup.
-c Before performing the snapshot, checkpoint the source database environment and remove any log files that are no longer required in
that environment. To avoid making catastrophic failure impossible, log file removal must be integrated with log file archival.
-d Specify one or more source directories that contain databases; if none is specified, the database environment home directory will be
searched for database files. As database files are copied into a single backup directory, files named the same, stored in different
source directories, could overwrite each other when copied into the backup directory.
-h Specify the source directory for the backup, that is, the database environment home directory.
-l Specify a source directory that contains log files; if none is specified, the database environment home directory will be searched
for log files.
-P Specify an environment password. Although Berkeley DB utilities overwrite password strings as soon as possible, be aware there may
be a window of vulnerability on systems where unprivileged users can see command-line arguments or where utilities are not able to
overwrite the memory containing the command-line arguments.
-u Update a pre-existing hot backup snapshot by copying in new log files. If the -u option is specified, no databases will be copied
into the target directory.
-V Write the library version number to the standard output, and exit.
-v Run in verbose mode, listing operations as they are done.
-D Use the data directories listed in the DB_CONFIG configuration file in the source directory. This option has three effects: First,
if they do not already exist, the specified data directories will be created relative to the target directory (with mode read-write-
execute owner). Second, all files in the source data directories will be copied to the target data directories. If the DB_CONFIG
file specifies one or more absolute pathnames, files in those source directories will be copied to the top-level target directory.
Third, the DB_CONFIG configuration file will be copied from the +source directory to the target directory, and subsequently used for
configuration if recovery is run in the target directory.
Care should be taken with the -D option and data directories which are named relative to the source directory but are not subdirectories
(that is, the name includes the element "..") Specifically, the constructed target directory names must be meaningful and distinct from
the source directory names, otherwise running recovery in the target directory might corrupt the source data files.
It is an error to use absolute pathnames for data directories or the log directory in this mode, as the DB_CONFIG configuration file copied
into the target directory would then point at the source directories and running recovery would corrupt the source data files.
The db4.7_hotbackup utility uses a Berkeley DB environment (as described for the -h option, the environment variable DB_HOME, or because
the utility was run in a directory containing a Berkeley DB environment). In order to avoid environment corruption when using a Berkeley
DB environment, db4.7_hotbackup should always be given the chance to detach from the environment and exit gracefully. To cause db4.7_hot-
backup to release all environment resources and exit cleanly, send it an interrupt signal (SIGINT).
The db4.7_hotbackup utility exits 0 on success, and >0 if an error occurs.
ENVIRONMENT
DB_HOME
If the -h option is not specified and the environment variable DB_HOME is set, it is used as the path of the database home, as
described in DB_ENV->open.
AUTHORS
Oracle Corporation. This manual page was created based on the HTML documentation for db_hotbackup from Sleepycat, by Thijs Kinkhorst
<thijs@kinkhorst.com>, for the Debian system (but may be used by others).
28 January 2005 DB4.7_HOTBACKUP(1)