Skip to navigation

Restore version

Overview

Restores an older dataset family version: the contents of the selected version become a new dataset version, which is now the latest in the family. The dataset history stays linear, because the restore itself is a new version rather than an in-place rollback.

Restore version Dataset

Prerequisites

RequirementWhat you need
Version numberA version number from an earlier Create version run.

How it works

1

Reads the source dataset and the requested version number.

2

Rebuilds that version into a new dataset and returns it.

FAQ

No. It creates a new dataset from the version and leaves the source dataset as it is.

From the Create version node, which returns a version number each time it snapshots a dataset.

A version stores references to assets, not copies. Restore works only while those assets still exist in OvalBee.

Inputs

Dataset
datasetRequired

Dataset whose version history is used. Key: DATASET.

Version
integerRequired

Version number to bring back. Its contents return as a new latest version, so the versions made since it are kept. Key: VERSION.

Outputs

Dataset
dataset

New latest dataset version with the restored contents. Key: DATASET.

JSON config

Machine-readable node interface for automation and advanced usage.

{
"name": "Restore version",
"description": "Restores an older dataset family version as the new latest version.",
"category": "Datasets",
"namespace": "ovalbee",
"templateKey": "dataset_ops/restore_version",
"version": "v1",
"inputs": [
{
"key": "DATASET",
"label": "Dataset",
"type": "dataset",
"description": "Dataset whose version history is used.",
"required": true,
"default": null,
"visibleWhen": null,
"options": {
"creatable": false
}
},
{
"key": "VERSION",
"label": "Version",
"type": "number",
"description": "Version number to bring back. Its contents return as a new latest version, so the versions made since it are kept.",
"required": true,
"default": null,
"visibleWhen": null,
"options": {
"type": "integer"
}
}
],
"outputs": [
{
"key": "DATASET",
"label": "Dataset",
"type": "dataset",
"description": "New latest dataset version with the restored contents.",
"artifact": false,
"badge": false,
"badgeOpens": null,
"hidden": false
}
]
}