psLoadTransactionLog

Description

     This program loads a database's transaction log.  You can
load the log from disk or from tape.  You can load the transaction log
from any Sybase Backup Server so long as the SQL Server knows about
the Backup Server.  You can load the log in one or more stripes.
     psLoadTransactionLog exits with a 0 if your load completed
successfully.  If Sybase was unable to load the log, then psLoadTransactionLog
exits with a non-zero return code.  Whether or not the load was successful,
psLoadTransactionLog writes text messages to your messages log file.
     If you wish to retrieve the text message associated with the non-zero
exit code, then run psShowMessage.

 

Syntax

psLoadTransactionLog
-Sserver -Uusername -Ppassword -Ddatabase
-Bbackup_server_name -Xxact_log_directory -Lxact_log_file
-Rlist_of_stripes_file
-Fmessage_log_file -Mmax_msg_log_file_size
-Ttime_out
-Eemail_address_when_error
-Ooptions

 

Arguments

-S

Sybase Server Name

-U

Sybase User Name

-P

Sybase User's Password

-D

Sybase Database

-B

Backup Server Name [SYB_BACKUP]

-X

Transaction Log Directory

-L

Transaction Log File Name

-R

Input Text File Containing a List of Stripe Files

-T

Time out in seconds. [3600 seconds]

-F

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

Tape--the -X is the tape drive name

r

Rewind and unload tape when done

h

Just list the header on the tape.  Do not load.

q

Query the tape for all dump files.  Do not load.

l

Log full informational messages

a

Do not log abbreviated informational messages

 

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.

SYB_DATABASE

When -D 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