Configuring restore to continue after a download failure

Override the default agent configuration to allow a restore operation to continue after a file download fails.

Override the default agent configuration to allow the restore operation to continue after a file download fails. If a file fails to download from S3 during a restore, the restore operation fails by default. Doing so allows a future partial restore using any successfully transferred files.

address.yaml

The location of the address.yaml file depends on the type of installation:
  • Package installations: /var/lib/datastax-agent/conf/address.yaml
  • Tarball installations: install_location/conf/address.yaml

Procedure

  1. Open the agent configuration file address.yaml and set the restore_on_transfer_failure option to true:
    restore_on_transfer_failure: true
  2. Restart the agent.