gcloud oracle-database autonomous-databases restore

NAME
gcloud oracle-database autonomous-databases restore - restore an AutonomousDatabase
SYNOPSIS
gcloud oracle-database autonomous-databases restore(AUTONOMOUS_DATABASE :--location=LOCATION)--restore-time=RESTORE_TIME[--async][GCLOUD_WIDE_FLAG]
DESCRIPTION
Restore an AutonomousDatabase to the state at specified restore-time.
EXAMPLES
To restore an AutonomousDatabase with idmy-instance atrestore-time2024-05-01T00:00:00.000Z in the locationus-east4 , The restore-time is the 'endTime' property of a backup.run:
gcloudoracle-databaseautonomous-databasesrestoremy-instance--location=us-east4--restore-time=2024-05-01T00:00:00.000Z
POSITIONAL ARGUMENTS
AutonomousDatabase resource - The name of the Autonomous Database in thefollowing format:projects/{project}/locations/{location}/autonomousDatabases/{autonomous_database}.The arguments in this group can be used to specify the attributes of thisresource. (NOTE) Some attributes are not given arguments in this group but canbe set in other ways.

To set theproject attribute:

  • provide the argumentautonomous_database on the command line with afully specified name;
  • provide the argument--project on the command line;
  • set the propertycore/project.

This must be specified.

AUTONOMOUS_DATABASE
ID of the autonomousDatabase or fully qualified identifier for theautonomousDatabase.

To set theautonomous_database attribute:

  • provide the argumentautonomous_database on the command line.

This positional argument must be specified if any of the other arguments in thisgroup are specified.

--location=LOCATION
The location id of the autonomousDatabase resource.

To set thelocation attribute:

  • provide the argumentautonomous_database on the command line with afully specified name;
  • provide the argument--location on the command line.
REQUIRED FLAGS
--restore-time=RESTORE_TIME
The time and date to restore the database to.
OPTIONAL FLAGS
--async
Return immediately, without waiting for the operation in progress to complete.
GCLOUD WIDE FLAGS
These flags are available to all commands:--access-token-file,--account,--billing-project,--configuration,--flags-file,--flatten,--format,--help,--impersonate-service-account,--log-http,--project,--quiet,--trace-token,--user-output-enabled,--verbosity.

Run$gcloud help for details.

API REFERENCE
This command uses theoracledatabase/v1 API. The full documentationfor this API can be found at:https://cloud.google.com/oracle/database/docs

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025-05-07 UTC.