对象存储服务 OBS-恢复归档存储对象:运行示例

时间:2024-09-03 19:46:20

运行示例

  • 以Windows操作系统为例,运行obsutil restore obs://bucket-test/key,恢复单个存储类型为cold的对象。
    obsutil restore obs://bucket-test/key
    
    Start to restore object [key] in the bucket [bucket-test] successfully!
  • 以Windows操作系统为例,运行obsutil restore obs://bucket-test -r -f,批量恢复桶中所有的存储类型为cold的对象。
    obsutil restore obs://bucket-test -r -f
    
    [================================================] 100.00% 3s
    Succeed count is:   12        Failed count is:    0
    Metrics [max cost:264 ms, min cost:54 ms, average cost:119.33 ms, average tps:19.70]
    Task id is: 96f104ee-d0bf-40ff-95dd-31dec0d8f4f4
support.huaweicloud.com/utiltg-obs/obs_11_0016.html