Docs Menu
Docs Home
/ /
Atlas CLI
/ / / /

atlas backups compliancePolicy pointInTimeRestores enable

Enable Point-in-Time restores of the backup compliance policy for your project.

Public Preview: The atlas api sub-command, automatically generated from the MongoDB Atlas Admin API, offers full coverage of the Admin API and is currently in Public Preview (please provide feedback at https://feedback.mongodb.com/forums/930808-atlas-cli). Admin API capabilities have their own release lifecycle, which you can check via the provided API endpoint documentation link.

Command Syntax
atlas backups compliancePolicy pointInTimeRestores enable [options]
Name
Type
Required
Description

-h, --help

false

help for enable

-o, --output

string

false

Output format. Valid values are json, json-path, go-template, or go-template-file. To see the full output, use the -o json option.

--projectId

string

false

Hexadecimal string that identifies the project to use. This option overrides the settings in the configuration file or environment variable.

--restoreWindowDays

int

true

Number of days back in time you can restore to with Continuous Cloud Backup accuracy. Must be a positive, non-zero integer. Applies to continuous cloud backups only.

-w, --watch

false

Flag that indicates whether to watch the command until it completes its execution or the watch times out.

Name
Type
Required
Description

-P, --profile

string

false

Back

pointInTimeRestores

On this page