backup_communiware
NAME
backup_communiware - dumps Communiware database
SYNOPSIS
backup_communiware [-d] [-n]
DESCRIPTION
This script is to be called from cron(8) and backs up Communiware database. Its work a bit differs in case Of Oracle and PostgreSQL servers.
- Oracle
- Script saves five data objects:
- data
-
``Main'' Communiware schema and data (except search tables). It is dumped via
Oracle
exp
utilite as well as following item. - search
-
Schema and data of
mnogosearch
Oracle user. - passwds
-
Uncripted Communiware users passwords, output of Communiware
dump_passwd
utilite. - pictures
-
tar
-ed content of Communiware pictures directory, all pictures, style sheets, binary files etc related to items. - PostgreSQL
- Script saves four data objects:
- data
-
``Main'' Communiware schema and data (except search tables data). It is dumped
via
pg_dump
utilite. - search
-
Only data of search related tables, format of
pg_dump
. - passwds, pictures
- Exactly the same as for Oracle.
All saved files are stored in directory BACKUPDIR
set during installation.
They names have prefix derived from time of backup start. All of them are
compressed via one of gzip
or bzip2
compressor, so they have suffix
.gz
or .bz2
.
OPTIONS
- -d <dirname>
- Set alternate locations for stored files.
- -n <ncopies>
- Set number of ``old'' copies. Default - 5.
16 октябрь 2007 13:45