On this page
LIB RESTORE
Core command
LI RS
LIRS
Restores an archived Script of the Scripts Library to its place.
Syntax
LIB RESTORE <script>
Arguments
| Argument | Required | Values | Default |
|---|---|---|---|
<script> | Yes | The path the archived Script had, as LIB LIST ARCHIVES shows it | None |
Examples
LIB LIST ARCHIVES;
LIB RESTORE maintenance/old-cleanup.bsql;
Details
The name is the path the Script had in the library, as LIB LIST ARCHIVES shows it, matched exactly. The most recently archived version of that path is moved back to its place. When a Script already uses that path, the command refuses and overwrites nothing. Recently Deleted in the BroadSQL Editor restores the same way.
Related
Last modified in release 5.5.0.
Found something wrong or unclear on this page? Tell us, with the page address.