Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions src/BeginRestore.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ export class BeginRestore extends Component {

this.state = {
incremental: true,
deleteExtra: false,
continueOnErrors: false,
restoreOwnership: true,
restorePermissions: true,
Expand Down Expand Up @@ -50,6 +51,7 @@ export class BeginRestore extends Component {
root: this.props.match.params.oid,
options: {
incremental: this.state.incremental,
deleteExtra: this.state.deleteExtra,
ignoreErrors: this.state.continueOnErrors,
restoreDirEntryAtDepth: this.state.restoreDirEntryAtDepth,
minSizeForPlaceholder: this.state.minSizeForPlaceholder,
Expand Down Expand Up @@ -109,6 +111,9 @@ export class BeginRestore extends Component {
<Row>
{RequiredBoolean(this, "Skip previously restored files and symlinks", "incremental")}
</Row>
<Row>
{RequiredBoolean(this, "When restoring into an existing directory structure, delete additional files and directories not in the snapshot", "deleteExtra")}
</Row>
<Row>
{RequiredBoolean(this, "Continue on Errors", "continueOnErrors", "When a restore error occurs, attempt to continue instead of failing fast.")}
</Row>
Expand Down