--- title: "restore list()" slug: "basic-restore-list" updated: 2026-08-12T08:58:11Z published: 2026-08-12T08:58:11Z canonical: "docs.lobstersoftware.com/basic-restore-list" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.lobstersoftware.com/llms.txt > Use this file to discover all available pages before exploring further. # restore list() This function restores a list **a** that had been (in any profile) permanently stored with function [save list()](/v1/docs/en/basic-save-list) after it has been deleted*.* Returns "*true"* in case of success. **NOTE:** The concept is not intended for mass data. ## Parameters | Parameter | Description | | --- | --- | | a | The key under which the lists were stored. | | b | *true*, if the permanently stored lists are to be deleted after restoring, i.e. as a result the lists are only available in this profile and cannot be restored again. Default: *false*. **NOTE:** Memory management is the responsibility of the user. Please also note that this can be problematic when restarting jobs if the stored objects have already been deleted. Alternatively, see function [serialize map/list()](/v1/docs/en/basic-serialize-map-or-list). | ## Example Create 2 lists with "add to list()". Save those lists permanently with "save list()". Delete all lists of this profile with "clear all lists()". Restore the lists with "restore list()" (you could also do this in another profile). The restored lists are now available again in this profile.