In some cases, users may accidentally delete a critical component from their workspace—whether it’s a table record, a function, or another configuration item. Although our platform does not support granular backups (i.e., restoring only a single deleted item), here are 2 workarounds using our existing backup and export features:
For individual records (e.g a table entry):
Step 1: Revert to a Previous Backup
• Identify a backup date when the record was still present.
• Restore your instance to this earlier state.
Reference: See our Restore Instance Documentation for detailed instructions.
Step 2: Export the Record Data
• Once the instance is restored, navigate to the table containing the record.
• Export the specific data.
Tip: Verify that the record is complete and intact before moving on.
Step 3: Revert to the Current Instance
• After exporting, revert the instance back to the state it was in before the initial restoration.
• Import the exported record into your table.
For workspace items (e.g a function, API, etc):
Step 1: Restore to an Previous Backup
• Determine the most recent backup version where the workspace item (e.g., function) existed.
• Restore your instance to that backup state.
Step 2: Use the Metadata API to Export the Workspace
• With the instance in the earlier state, use the metadata API to export the entire workspace that includes the configuration you want to recover.
Reference: See our Metadata API Documentation for detailed instructions on using the export function.
Step 3: Revert Back to the Current Instance
• Once the workspace export is complete, restore your instance back to the state it was in before the initial restoration.
• Create a new, separate workspace within your instance. This new workspace will serve as a container for the recovered configuration.
Step 4: Import and Reintegrate the Configuration
• Import the previously exported workspace into the newly created workspace.
• Compare and manually copy over the desired configuration (e.g., the function) into your current working workspace.
Tip: After importing, carefully validate that the configuration functions correctly and that all dependencies are intact.