LIB RESTORE

Core command LI RS LIRS

Restores a specific archived (LIB DEL) Script

Arguments

<script> (mandatory) the archived Script's original path in the Scripts Library

Examples

LIB RESTORE maintenance/old-cleanup.bsql

Notes

Restores an archived Script: LIB RESTORE <script>.

script is the path the Script had in the library (as shown by LIB LIST ARCHIVES), matched exactly: the most recently archived version of that path is moved back to its original location. Refuses (does not overwrite) if a Script already occupies that path. The BroadSQL Editor's Recently Deleted restores through the same operation.

Last modified in release 5.2.10.