diff --git a/modules/ROOT/pages/backup-restore/restore-backup.adoc b/modules/ROOT/pages/backup-restore/restore-backup.adoc index 380572216..7972fc48c 100644 --- a/modules/ROOT/pages/backup-restore/restore-backup.adoc +++ b/modules/ROOT/pages/backup-restore/restore-backup.adoc @@ -36,13 +36,11 @@ This recovery operation is resource-intensive and can be decoupled from the rest [source,role=noheader] ---- -neo4j-admin database restore [-h] [--expand-commands] - [--verbose] [--overwrite-destination[=true|false]] - [--additional-config=] - --from-path=[,...] +neo4j-admin database restore [-h] [--expand-commands] [--verbose] [--overwrite-destination + [=true|false]] [--source-database[=source-database-name]] + [--additional-config=] --from-path= [,...] [--restore-until=] [--temp-path=] - [--to-path-data=] [--to-path-txn=] - [] + [--to-path-data=] [--to-path-txn=] [] ---- === Parameters @@ -77,9 +75,7 @@ neo4j-admin database restore [-h] [--expand-commands] | |--from-path=[,...] -|A single path or a comma-separated list of paths pointing to a backup artifact file. -An artifact file can be 1) a full backup, in which case it is restored directly or, 2) a differential backup, in which case the command tries first to find in the folder a backup chain ending at that specific differential backup and then restores that chain. -It is possible to restore backups from AWS S3 buckets, Google Cloud storage buckets, and Azure buckets using the appropriate URI as the path. +|The path can point to an individual backup artifact, a folder that contains artifacts, or a comma-separated list of backup artifact files. An artifact file can be 1) a full backup, in which case it is restored directly or, 2) a differential backup, in which case the command tries first to find in the folder a backup chain ending at that specific differential backup and then restores that chain. It is possible to restore backups from AWS S3 buckets, Google Cloud storage buckets, and Azure buckets using the appropriate URI as the path. | |-h, --help @@ -104,6 +100,10 @@ The restore recovers transaction logs up to, but not including, the transaction The restore recovers transactions that were committed before the provided timestamp. | +| --source-database[=source-database-name] +|label:new[Introduced in 2025.02] A source database name. If the `--from-path` points to a folder containing backups for multiple databases, you must specify the database name to filter the artifacts. +| + | --to-path-data= |Base directory for databases. Usage of this option is only allowed if the `--from-path` parameter points to exactly one directory.