Acquia CLI

acsf:sites:restore-backup

Restore a site backup

For more help, see https://cloudapi-docs.acquia.com/ or https://dev.acquia.com/api-documentation/acquia-cloud-site-factory-api for acsf commands.

Usage

acli acsf:sites:restore-backup [--target_site_id TARGET_SITE_ID] [--backup_id BACKUP_ID] [--callback_url CALLBACK_URL] [--callback_method CALLBACK_METHOD] [--caller_data CALLER_DATA] [--components COMPONENTS] [--] <site_id>

Arguments

  • site_id

    Required

    Site ID

Options

  • --target_site_id

    Required

    ID of the site to restore the backup onto.

  • --backup_id

    Required

    ID of the backup to restore defaults to the most recent.

  • --callback_url

    Required

    The callback URL, which is invoked upon completion.

  • --callback_method

    Required

    The callback method, "GET", or "POST". Uses "POST" if empty.

  • --caller_data

    Required

    Data that should be included in the callback, json encoded.

  • --components

    Required

    Array of components to be restored from the backup. The following component names are accepted: database, public files, private files, themes. When omitting this parameter it will default to the backup's every component.

    Defaults to []

  • --help | -h

    Optional

    Display help for the given command. When no command is given display help for the `list` command

    Defaults to false

  • --quiet | -q

    Optional

    Do not output any message

    Defaults to false

  • --verbose | -v|-vv|-vvv

    Optional

    Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug

    Defaults to false

  • --version | -V

    Optional

    Display this application version

    Defaults to false

  • --ansi

    Optional

    Force (or disable --no-ansi) ANSI output

  • --no-ansi

    Optional

    Negate the "--ansi" option

    Defaults to false

  • --no-interaction | -n

    Optional

    Do not ask any interactive question

    Defaults to false

Help

Ask a question

Common questions

If you can't find what you're looking for, then you can reach out to our Support team for further assistance.