Hi Tilo,

your tip worked fine! Thank you!

kind regards
Frank Schimmelpfennig

PHILIPS Semiconductors Hamburg
ATO-Hamburg  WT&IT
Tel.: +49 -40/5613 -1374, Fax: -3020



                                                                                       
                                                
                      "Heinrich, Tilo"                                                 
                                                
                      <tilo.heinrich@s             To:  Frank 
Schimmelpfennig/HBG/SC/PHILIPS@EMEA1                                     
                      ap.com>                       [EMAIL PROTECTED]     
                                                
                                                   cc:                                 
                                                
                      17.06.2002 18:30             Subject:   RE: DBMCLI Syntax for 
the Definition of a PIPE Backup Medium             
                                                                                       
                                                
                                                   Classification:                     
                                                
                                                                                       
                                                
                                                                                       
                                                




Hello Frank,

>is there someone who can give me a hint howto define a backup medium of the
PIPE type to pipe backup output into gzip file?
>medium_put <medium_name> | gzip -q > <location of gzip file> PIPE <size>
<block_size> <overwrite>?
>(e.g. medium_put test_pipe | gzip -q > /my_location/my_file pipe 0 8 yes)

You mean something like:

mknod /tmp/pipe p
dbmcli -d ... -u ...,... -c medium_put Pipe /tmp/pipe PIPE DATA 0
dbmcli -d ... -u ...,... -uUTL -c backup_start Pipe &
cat /tmp/pipe | gzip -q > /my_location/my_file
rm /tmp/pipe

It is not possible to add command line calls to a medium's location. You can
specify only file system paths to files, pipes and tapes.

Best regards,
Tilo Heinrich




_______________________________________________
sapdb.general mailing list
[EMAIL PROTECTED]
http://listserv.sap.com/mailman/listinfo/sapdb.general

Reply via email to