运行 ossutil.bat
ossutil config #配置
设置endpoint:oss-cn-hangzhou.aliyuncs.com
填写accesskey和serect
ossutil64 restore oss://xxxx/文件夹名称 -r
ossutil64 restore oss://xxxx/文件夹名称 -r config.xml #指定天数
#config.xml
<RestoreRequest>
<Days>7</Days>
</RestoreRequest>
文档:https://help.aliyun.com/document_detail/120056.html
ossutil64 set-meta oss://xxxx/文件夹名称 X-Oss-Storage-Class:Standard -r