@@ -258,7 +258,24 @@ Omitting `--service` will include all supported services.
You can optionally specify the name of the instance to transfer with `--names` in a comma separated list, e.g. `--names 'database-1, database-2`. This can be for either RDS instances, or S3 buckets, but not both at the same time. Future versions may remove `--service` and replace it with a subcommand instead, i.e. `akinaka dr transfer rds`, so that those service can have `--names` to themselves.
This requires that Akinaka is run from either an account or instance profile which can use sts:assume to assume both the `source-role-arn` and `destination-role-arn`. This is true even if you are running on the account that `destination-role-arn` is on.
A further limitation is that only a single region can be handled at a time for S3 buckets. If you wish to backup all S3 buckets in an account, and they are in different regions, you will have to specify them per run, using the appropriate region each time. Future versions will work the bucket regions out automatically, and remove this limitation.
Akinaka must be run from either an account or instance profile which can use sts:assume to assume both the `source-role-arn` and `destination-role-arn`. This is true even if you are running on the account that `destination-role-arn` is on. You will therefore need this policy attached to the user/role that's doing the assuming:
@click.option("--take-snapshot",is_flag=True,help="TODO: Boolean, default false. Take a live snapshot now, or take the existing latest snapshot")
@click.option("--take-snapshot",is_flag=True,help="Boolean, default false. Take a live snapshot now, or take the existing latest snapshot. Relevant only for RDS")
@click.option("--names",required=False,help="Comma separated list of DB/S3 names to transfer")
@click.option("--service",type=click.Choice(['rds','aurora','s3']),required=False,help="The service to transfer backups for. Defaults to all (RDS, S3)")
@click.option("--retention",required=False,help="Number of days of backups to keep")
@click.option("--rotate",is_flag=True,required=False,help="Only rotate backups so [retention] number of days is kep, don't do any actual backups. Relevant for RDS only")