There is probably a really simple answer to this, but it eludes me. I want to script the restore of a backup into a pre-existing database. Doing this manually is straight forward as I just type Y when prompted to overwrite the existing database, but I cannot get it scripted as the prompt gets directed to screen or file. Either way I cannot seem to script the pressing of Y.
Any ideas how I do this?
The database is near a TB so I dont want to have to create a fresh database it each time I do this daily restore, just overwrite the current database with the latest backup.
Environment details: -
Windows 2008R2 X64 (so using DOS syntax)
OpenEdge 10.2B05 X64
Any ideas how I do this?
The database is near a TB so I dont want to have to create a fresh database it each time I do this daily restore, just overwrite the current database with the latest backup.
Environment details: -
Windows 2008R2 X64 (so using DOS syntax)
OpenEdge 10.2B05 X64