appctl db restore

Restore a databse


Restore a databse

appctl db restore


 appctl db restore -c cluster-name -u database-name -s snapshot-phid


  -a, --auth_secret_name string   Authentication Secret
  -c, --cluster string            Cluster Name
  -s, --snapshot_phid string      Snapshot phid
  -u, --uid string                Database Name or phid

Options inherited from parent commands

      --allow_verification_with_non_compliant_keys   Allow a SignatureVerifier to use keys which are technically non-compliant with RFC6962.
      --alsologtostderr                              log to standard error as well as files
      --log_backtrace_at traceLocation               when logging hits line file:N, emit a stack trace (default :0)
      --log_dir string                               If non-empty, write log files in this directory
      --logtostderr                                  log to standard error instead of files (default true)
      --stderrthreshold severity                     logs at or above this threshold go to stderr (default 2)
  -v, --v Level                                      log level for V logs
      --vmodule moduleSpec                           comma-separated list of pattern=N settings for file-filtered logging


Subscribe to our free technical newsletter!

Join thousands of subscribers and stay up-to-date on AppsCode.