Closed idpaterson closed 6 years ago
This feature has been in high demand; between all the people who have contacted me to access a preview of the feature around 200 pistons have been restored. Instead of following the plan above I will instead publish it in two phases so that everyone can access the basic restore feature from the live dashboard.
The first phase in the next release of webCore will include support for unlocking the backup file and restoring pistons. At a later time we can revisit support for backing up the entire environment (global variables, categories, etc).
Currently, once the backup file is unlocked all pistons are presented in a sortable list:
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The default sort encourages you to restore the "safest" pistons first but you can also sort by name, created date, last modified, or category. Unfortunately we don't have category names in the backup file, just numbers. The screen shows warnings for pistons that:
[Hallway Light: switch]
, just in case you need to update themWhen a piston is imported it moves to the bottom of the list so that you can always restore the topmost piston. You can view the imported piston from this screen or restore another copy. When the import file is loaded, any pistons with identical name are indicated as imported.
Any Execute Piston actions are automatically updated to the new piston ID if you have already imported the target piston.
To be continued in phase 2
This feature is in progress and was migrated from the dev branch to a pull request to prevent interruption of other development and bug fixes. Much work is needed still but what is complete has been tested out by a few webCoRE users who needed to restore pistons from backup.
Backup file
Multi-step restore