s3cmd
s3cmd copied to clipboard
Restoring an older version of a file
I am using the following command to initiate restoration of files in was
s3cmd restore --restore-days=${days} --restore-priority=${priority} -r ${uri} >> ${FILE}
I want to restore a version of a file which is not the current version, but I don't see a place I can put the version-id in, and it is not in the s3 URL that is provided on was.
Is there a way to do this or should I use the aws s3api for this?