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

ArgumentRequiredValuesDefault
<script>YesThe path the archived Script had, as LIB LIST ARCHIVES shows itNone

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.

Last modified in release 5.5.0.

Found something wrong or unclear on this page? , with the page address.