*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->Tru64 Unix man pages -> db_archive (8)              



NAME    [Toc]    [Back]

       db_archive  -  displays  security  database  log  files no
       longer involved in active transactions (Enhanced Security)

SYNOPSIS    [Toc]    [Back]

       /usr/tcb/bin/db_archive [-alsv] [-h home]

OPTIONS    [Toc]    [Back]

       Write all pathnames as absolute pathnames, instead of relative
 to the database home directories.   Specify  a  home
       directory  for  the  database.  The  correct directory for
       enhanced security is /var/tcb/files.  Write out the  pathnames
  of  all  of  the database log files, whether or not
       they are involved in active transactions.  Write the pathnames
  of  all  of  the  database  files  that  need to be
       archived in order to  recover  the  database  from  catastrophic
  failure.  If  any  of the database files have not
       been accessed during  the  lifetime  of  the  current  log
       files, db_archive does not include them in this output. It
       is possible that some of the files referenced in  the  log
       have  since  been  deleted  from the system. In this case,
       db_archive ignores them. When db_recover is run, any files
       referenced in the log that are not present during recovery
       are assumed to have been deleted and are not be recovered.
       Run  in  verbose  mode, listing the checkpoints in the log
       files as they are reviewed.

DESCRIPTION    [Toc]    [Back]

       A customized version of the  Berkeley  Database  (Berkeley
       DB)  is  embedded in the operating system to provide highperformance
 database support for critical security  files.
       The  DB  includes  full transactional support and database
       recovery, using write-ahead logging and  checkpointing  to
       record changes.

       The  db_archive utility is provided for maintenance of the
       log files  associated  with  the  security  database.   It
       writes  the  pathnames  of log files that are no longer in
       use (that is, no longer involved in active  transactions),
       to  the  standard output, one pathname per line. These log
       files should be written to backup  media  to  provide  for
       recovery  in  the case of catastrophic failure (which also
       requires a snapshot of the database files), but  they  may
       then be deleted from the system to reclaim disk space. You
       should perform a db_checkpoint -1 before using db_archive.

       The  secconfig utility can create a cron job that periodically
 checks the security log files and deletes  those  no
       longer  in  use,  as  determined by db_archive. Be sure to
       coordinate this with the site backup schedule.

       The db_archive utility attaches to  one  or  more  of  the
       Berkeley  DB  shared  memory  regions.  In  order to avoid
       region corruption, it should always be given the chance to
       detach  and  exit gracefully. To cause db_archive to clean
       up after itself and exit,  send  it  an  interrupt  signal

RETURN VALUES    [Toc]    [Back]

       The  db_archive  utility  exits 0 on success, and >0 if an
       error occurs.


       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.  The  home  directory  for   security   is

FILES    [Toc]    [Back]



SEE ALSO    [Toc]    [Back]

       Commands:    db_checkpoint(8),   db_dump(8),   db_load(8),
       db_printlog(8), db_recover(8), db_stat(8), secconfig(8)

[ Back ]
 Similar pages
Name OS Title
db_stat Tru64 Displays statistics for the database files (Enhanced Security)
db_printlog Tru64 Displays database log file (Enhanced Security)
db_load Tru64 Loads standard input to a database files (Enhanced Security)
db_checkpoint Tru64 Periodically checkpoint the security database log (Enhanced Security)
secconfig Tru64 Security features setup graphical interface (Enhanced Security)
secsetup Tru64 Security features setup graphical interface (Enhanced Security)
files Tru64 File control database (Enhanced Security)
db_dump Tru64 Reads and writes the security databases (Enhanced Security)
db_dump185 Tru64 Reads and writes the security databases (Enhanced Security)
prpasswd Tru64 Protected password authentication database (Enhanced Security)
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service