Reputation: 107
I using upload-archive tool to upload folder on aws Glacier. but the problem i set a cron to upload-archive every 1 month with sync. so is it possible to upload archives with synchronization ?
Upvotes: 1
Views: 593
Reputation: 270059
I assume you are referring to the aws glacier upload-archive
command within the AWS Command-Line Interface (CLI).
The CLI does not support a sync
command for use with Glacier.
You must determine the archives (files) you wish to upload and specify them as part of the command.
Alternatively, you could use aws s3 sync
to send the files to Amazon S3 and then use a lifecycle policy to move the files to Glacier after a given period of time.
Upvotes: 1