Consultor Eletrônico



Kbase P101609: How to automate the prorest of a database so you don't have to enter a response to over write the ex
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   17/10/2008
Status: Verified

GOAL:

How to automate the prorest of a database so you don't have to enter a response to over write the existing database.

GOAL:

How to run prorest and automate a response to the question "Do you want to over write it? [ y
]

FACT(s) (Environment):

All Supported Operating Systems
Progress/OpenEdge Product Family

FIX:

The following command will over write the current database when restoring a copy of the database over top of it.
echo y | prorest <backupname> <DatabaseName>
For example if the database I backup up was named sports and I wanted to restore over a database named sports the command would be:
echo y | prorest sports sports