psDumpServer

Description

     This program writes a script which dumps all the databases of
a SQL Server.  If you using the -Ot option, then this program dumps
the transaction logs.   By default, your databases are dumped to disk
and then the dump files are compressed.  And by default, all databases
except tempdb are dumped.
     Note that if you want your dump files compressed (default), then
you must run the generated script on the same machine where the Backup
Server is running.  Also, you must have write permission into the
directory where Backup Server creates the dumps.
     If you do not compress dump files, it doesn't matter where you run
the generated script.   The only requirement is that the Backup Server
has permissions to write into the dump directory.
     As in all DBPowerSuite, this program and its generated script will
exit with a 0 if the dumps were successfully written.  But note that
if you use the -Ox option, you will not be able to retrieve the exit
code of the generated script.

 

Syntax

psDumpServer -Sserver -Uusername -Ppassword -Ddatabase_pattern
-Bbackup_server_name -Xdump_db_directory
-FKorn_script -Mmax_msg_log_file_size
-Ttime_out
-Ctape_capacity_GB
-Eemail_address_when_error
-Ooptions

 

Arguments

-S

Sybase Server Name

-U

Sybase User Name

-P

Sybase User's Password

-D

Sybase Database Name Pattern [!tempdb]

-B

Backup Server Name [SYB_BACKUP]

-X

Database Dump File Directory

-T

Time out in seconds. [18000 seconds]

-C

The Tape's Capacity in Gigabytes

-F

Korn Shell script name

-L

Messages Log File. [standard output]

-M

Maximum Size of Log File [1,000,000 bytes]

-E

Email address to send errors when there are errors

-O

Options

 

Options

t

Dump transaction logs only

c

Do not compress disk dump files

l

Log full informational messages

a

Do not log abbreviated informational messages

x

Execute script immediately [-F is required]

 

Environment Variables Behind the Scenes

DSQUERY

When -S is not specified.

SYB_USER

When -U is not specified.

SYB_PASS

When -P is not specified.

PS_SYSMSG_FILE

Name of the tool's messages file.

 

Go to DBPowerSuite 7.9 List of Programs.


Updated: Thu Jun 18 21:12:26 2009