Skip to content

Commit fd84939

Browse files
Reword the introduction
1 parent 9412fee commit fd84939

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

modules/ROOT/pages/backup-restore/online-backup.adoc

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -465,12 +465,14 @@ bin/neo4j-admin database backup --to-path=azb://myStorageAccount/myContainer/myD
465465
[[diff-backup-as-parent]]
466466
=== Perform a differential backup using the `--prefer-diff-as-parent` option
467467

468-
When taking a differential backup with the `--type=DIFF` option, the parent, by default, is the *most recent non-empty* backup in the directory.
469-
In some cases, you may prefer to use the *latest differential* backup as the parent, even if there is a more recent full backup.
470-
You can do this by setting the option `--prefer-diff-as-parent` to `True`.
468+
By default, a differential backup (`--type=DIFF`) uses the *most recent non-empty* backup -- whether full or differential -- in the directory as its parent.
471469

472-
This can be used to ensure you have differential backups for all transactions, which would allow you to restore to any point in time.
473-
Otherwise, the transactions between a full backup and the previous differential backup will not be backed up as individual transactions.
470+
The `--prefer-diff-as-parent` option changes this behavior and allows you to use the *latest differential* backup as its parent, even if a newer full backup exists.
471+
472+
This apprroach allows you to maintain a chain of differential backups for all transactions and restore to any point in time.
473+
Without this option, the transactions between the last full backup and a previous differential backup cannot be backed up as individual transactions.
474+
475+
To use the `--prefer-diff-as-parent` option, set it to `true`.
474476

475477
The following examples cover different scenarios for using the `--prefer-diff-as-parent` option.
476478

0 commit comments

Comments
 (0)