云服务器内容精选
-
约束与限制 归档存储或深度归档存储的对象正在恢复的过程中,不允许暂停或删除恢复任务。 对象的恢复状态为恢复中时,对象不能再次恢复。 数据恢复后,会产生一个标准存储类型的对象副本,即对象同时存在标准存储类型的对象副本和归档存储或深度归档存储类型的对象。归档存储或深度归档存储对象恢复完成时,对象的恢复状态显示“已恢复”,生成的标准存储类型的对象副本不会在桶中展示。 在恢复的有效期内,会同时收取这份数据在标准存储和归档存储或深度归档存储中的存储费用。恢复有效期到期后标准存储类型的对象副本会自动删除。
-
使用场景 对于存储类别为归档存储或深度归档存储的对象,用户需要先恢复才能下载、通过对象URL访问对象、配置对象的ACL权限、设置对象元数据。 OBS提供加急和标准两种不同的恢复方式,加急恢复归档存储恢复耗时1~5 min,加急恢复深度归档(受限公测)存储恢复约耗时3~5 h;标准恢复对象归档存储恢复耗时3~5 h,标准恢复深度归档(受限公测)存储恢复约耗时5~12 h。 对于深度归档对象,大批量恢复建议使用标准恢复,且对象最终恢复时间受对象大小以及取回数据量的影响。 数据恢复时间和收费详情请参见产品价格详情。
-
对象自定义元数据介绍 OBS支持用户使用以“x-obs-meta-”开头的消息头来加入自定义的元数据,以便对对象进行自定义管理。当用户获取此对象或查询此对象元数据时,加入的自定义元数据将会在返回的消息头中出现。自定义元数据大小限制为8K,计算方式为:每个键和值的UTF-8 编码中的字节总数来测量用户定义的元数据的大小。 自定义元数据的key值不区分大小写,OBS统一转为小写进行存储。value值区分大小写。 示例: 1 2 3 4 5 6 7 PUT /key HTTP/1.1 Host: bucket01.obs.myhuaweicloud.com x-obs-meta-Test1: Test Meta1 HEAD /Key HTTP/1.1 Host: bucket01.obs.myhuaweicloud.com x-obs-meta-test1: Test Meta1 自定义元数据key-value对都必须符合US-ASCII。如果一定要使用非ASCII码或不可识别字符,需要客户端自行做编解码处理,可以采用URL编码或者Base64编码,服务端不会做解码处理。例如x-obs-meta-中文:中文 经URL编码后发送,“中文”的URL编码为:%E4%B8%AD%E6%96%87,则响应为x-obs-meta-%E4%B8%AD%E6%96%87: %E4%B8%AD%E6%96%87 示例: 1 2 3 4 5 6 7 PUT /key HTTP/1.1 Host: bucket01.obs.myhuaweicloud.com x-obs-meta-%E4%B8%AD%E6%96%87: %E4%B8%AD%E6%96%87 HEAD /Key HTTP/1.1 Host: bucket01.obs.myhuaweicloud.com x-obs-meta-%E4%B8%AD%E6%96%87: %E4%B8%AD%E6%96%87
-
对象元数据Content-Type介绍 使用控制台和工具上传到OBS中的对象,会根据对象的文件扩展名,自动匹配Content-Type值。使用浏览器访问对象时,会根据Content-Type类型来指定应用程序来打开。您可以根据对象的文件扩展来修改Content-Type。 调用API上传对象时,不会自动匹配Content-Type值,需要指定Content-Type值。 表2 常见的Content-Type类型 文件扩展名 Content-Type 文件扩展名 Content-Type .*(二进制流,不知道下载文件类型) application/octet-stream .7z application/x-7z-compressed .001 application/x-001 .301 application/x-301 .323 text/h323 .906 application/x-906 .907 drawing/907 .a11 application/x-a11 .acp audio/x-mei-aac .ai application/postscript .aif audio/aiff .aifc audio/aiff .aiff audio/aiff .anv application/x-anv .asa text/asa .asf video/x-ms-asf .asp text/asp .asx video/x-ms-asf .au audio/basic .avi video/avi .awf application/vnd.adobe.workflow .biz text/xml .bmp application/x-bmp .bot application/x-bot .c4t application/x-c4t .c90 application/x-c90 .cal application/x-cals .cat application/vnd.ms-pki.seccat .cdf application/x-netcdf .cdr application/x-cdr .cel application/x-cel .cer application/x-x509-ca-cert .cg4 application/x-g4 .cgm application/x-cgm .cit application/x-cit .class java/* .cml text/xml .cmp application/x-cmp .cmx application/x-cmx .cot application/x-cot .crl application/pkix-crl .crt application/x-x509-ca-cert .csi application/x-csi .css text/css .cut application/x-cut .dbf application/x-dbf .dbm application/x-dbm .dbx application/x-dbx .dcd text/xml .dcx application/x-dcx .der application/x-x509-ca-cert .dgn application/x-dgn .dib application/x-dib .dll application/x-msdownload .doc application/msword .docx application/vnd.openxmlformats-officedocument.wordprocessingml.document .drw application/x-drw .dot application/msword .dwf Model/vnd.dwf .dtd text/xml .dwg application/x-dwg .dwf application/x-dwf .dxf application/x-dxf .dxb application/x-dxb .emf application/x-emf .edn application/vnd.adobe.edn .ent text/xml .eml message/rfc822 .eps application/x-ps .epi application/x-epi .etd application/x-ebx .eps application/postscript .fax image/fax .exe application/x-msdownload .fif application/fractals .fdf application/vnd.fdf .frm application/x-frm .fo text/xml .gbr application/x-gbr .g4 application/x-g4 .gif image/gif . application/x- .gp4 application/x-gp4 .gl2 application/x-gl2 .hmr application/x-hmr .hgl application/x-hgl .hpl application/x-hpl .hpg application/x-hpgl .hrf application/x-hrf .hqx application/mac-binhex40 .htc text/x-component .hta application/hta .html text/html .htm text/html .htx text/html .htt text/webviewhtml .ico image/x-icon .icb application/x-icb .iff application/x-iff .ico application/x-ico .igs application/x-igs .ig4 application/x-g4 .img application/x-img .iii application/x-iphone .isp application/x-internet-signup .ins application/x-internet-signup .java java/* .IVF video/x-ivf .jpe image/jpeg .jfif image/jpeg .jpeg image/jpeg .jpe application/x-jpe .jpg application/x-jpg .jpg image/jpeg .jsp text/html .js text/javascript .lar application/x-laplayer-reg .la1 audio/x-liquid-file .lavs audio/x-liquid-secure .latex application/x-latex .lmsff audio/x-la-lms .lbm application/x-lbm .ltr application/x-ltr .ls application/x-javascript .m2v video/x-mpeg .m1v video/x-mpeg .m4e video/mpeg4 .m3u audio/mpegurl .man application/x-troff-man .mac application/x-mac .mdb application/msaccess .math text/xml .mfp application/x-shockwave-flash .mdb application/x-mdb .mhtml message/rfc822 .mht message/rfc822 .mid audio/mid .mi application/x-mi .mil application/x-mil .midi audio/mid .mnd audio/x-musicnet-download .mml text/xml .mocha application/x-javascript .mns audio/x-musicnet-stream .mp1 audio/mp1 .movie video/x-sgi-movie .mp2v video/mpeg .mp2 audio/mp2 .mp4 video/mp4 .mp3 audio/mp3 .mpd application/vnd.ms-project .mpa video/x-mpg .mpeg video/mpg .mpe video/x-mpeg .mpga audio/rn-mpeg .mpg video/mpg .mps video/x-mpeg .mpp application/vnd.ms-project .mpv video/mpg .mpt application/vnd.ms-project .mpw application/vnd.ms-project .mpv2 video/mpeg .mtx text/xml .mpx application/vnd.ms-project .net image/pnetvue .mxp application/x-mmxp .nws message/rfc822 .nrf application/x-nrf .out application/x-out .odc text/x-ms-odc .p12 application/x-pkcs12 .p10 application/pkcs10 .p7c application/pkcs7-mime .p7b application/x-pkcs7-certificates .p7r application/x-pkcs7-certreqresp .p7m application/pkcs7-mime .pc5 application/x-pc5 .p7s application/pkcs7-signature .pcl application/x-pcl .pci application/x-pci .pdf application/pdf .pcx application/x-pcx .pdx application/vnd.adobe.pdx .pfx application/x-pkcs12 .pgl application/x-pgl .pic application/x-pic .pko application/vnd.ms-pki.pko .pl application/x-perl .plg text/html .pls audio/scpls .plt application/x-plt .png image/png .png application/x-png .pot application/vnd.ms-powerpoint .ppa application/vnd.ms-powerpoint .ppm application/x-ppm .pps application/vnd.ms-powerpoint .ppt application/vnd.ms-powerpoint .ppt application/x-ppt .pr application/x-pr .prf application/pics-rules .prn application/x-prn .prt application/x-prt .ps application/x-ps .ps application/postscript .ptn application/x-ptn .pwz application/vnd.ms-powerpoint .r3t text/vnd.rn-realtext3d .ra audio/vnd.rn-realaudio .ram audio/x-pn-realaudio .ras application/x-ras .rat application/rat-file .rdf text/xml .rec application/vnd.rn-recording .red application/x-red .rgb application/x-rgb .rjs application/vnd.rn-realsystem-rjs .rjt application/vnd.rn-realsystem-rjt .rlc application/x-rlc .rle application/x-rle .rm application/vnd.rn-realmedia .rmf application/vnd.adobe.rmf .rmi audio/mid .rmj application/vnd.rn-realsystem-rmj .rmm audio/x-pn-realaudio .rmp application/vnd.rn-rn_music_package .rms application/vnd.rn-realmedia-secure .rmvb application/vnd.rn-realmedia-vbr .rmx application/vnd.rn-realsystem-rmx .rnx application/vnd.rn-realplayer .rp image/vnd.rn-realpix .rpm audio/x-pn-realaudio-plugin .rsml application/vnd.rn-rsml .rt text/vnd.rn-realtext .rtf application/msword .rtf application/x-rtf .rv video/vnd.rn-realvideo .sam application/x-sam .sat application/x-sat .sdp application/sdp .sdw application/x-sdw .sit application/x-stuffit .slb application/x-slb .sld application/x-sld .slk drawing/x-slk .smi application/smil .smil application/smil .smk application/x-smk .snd audio/basic .sol text/plain .sor text/plain .spc application/x-pkcs7-certificates .spl application/futuresplash .spp text/xml .ssm application/streamingmedia .sst application/vnd.ms-pki.certstore .stl application/vnd.ms-pki.stl .stm text/html .sty application/x-sty .svg text/svg+xml .swf application/x-shockwave-flash .tdf application/x-tdf .tg4 application/x-tg4 .tga application/x-tga .tif image/tiff .tif application/x-tif .tiff image/tiff .tld text/xml .top drawing/x-top .torrent application/x-bittorrent .tsd text/xml .txt text/plain .uin application/x-icq .uls text/iuls .vcf text/x-vcard .vda application/x-vda .vdx application/vnd.visio .vml text/xml .vpg application/x-vpeg005 .vsd application/vnd.visio .vsd application/x-vsd .vss application/vnd.visio .vst application/vnd.visio .vst application/x-vst .vsw application/vnd.visio .vsx application/vnd.visio .vtx application/vnd.visio .vxml text/xml .wav audio/wav .wax audio/x-ms-wax .wb1 application/x-wb1 .wb2 application/x-wb2 .wb3 application/x-wb3 .wbmp image/vnd.wap.wbmp .wiz application/msword .wk3 application/x-wk3 .wk4 application/x-wk4 .wkq application/x-wkq .wks application/x-wks .wm video/x-ms-wm .wma audio/x-ms-wma .wmd application/x-ms-wmd .wmf application/x-wmf .wml text/vnd.wap.wml .wmv video/x-ms-wmv .wmx video/x-ms-wmx .wmz application/x-ms-wmz .wp6 application/x-wp6 .wpd application/x-wpd .wpg application/x-wpg .wpl application/vnd.ms-wpl .wq1 application/x-wq1 .wr1 application/x-wr1 .wri application/x-wri .wrk application/x-wrk .ws application/x-ws .ws2 application/x-ws .wsc text/scriptlet .wsdl text/xml .wvx video/x-ms-wvx .xdp application/vnd.adobe.xdp .xdr text/xml .xfd application/vnd.adobe.xfd .xfdf application/vnd.adobe.xfdf .xhtml text/html .xls application/vnd.ms-excel .xls application/x-xls .xlw application/x-xlw .xml text/xml .xpl audio/scpls .xq text/xml .xql text/xml .xquery text/xml .xsd text/xml .xsl text/xml .xslt text/xml .xwd application/x-xwd .x_b application/x-x_b .sis application/vnd.symbian.install .sisx application/vnd.symbian.install .x_t application/x-x_t .ipa application/vnd.iphone .apk application/vnd.android.package-archive .xap application/x-silverlight-app .zip application/zip .rar application/x-rar-compressed
更多精彩内容
CDN加速
GaussDB
文字转换成语音
免费的服务器
如何创建网站
域名网站购买
私有云桌面
云主机哪个好
域名怎么备案
手机云电脑
SSL证书申请
云点播服务器
免费OCR是什么
电脑云桌面
域名备案怎么弄
语音转文字
文字图片识别
云桌面是什么
网址安全检测
网站建设搭建
国外CDN加速
SSL免费证书申请
短信批量发送
图片OCR识别
云数据库MySQL
个人域名购买
录音转文字
扫描图片识别文字
OCR图片识别
行驶证识别
虚拟电话号码
电话呼叫中心软件
怎么制作一个网站
Email注册网站
华为VNC
图像文字识别
企业网站制作
个人网站搭建
华为云计算
免费租用云托管
云桌面云服务器
ocr文字识别免费版
HTTPS证书申请
图片文字识别转换
国外域名注册商
使用免费虚拟主机
云电脑主机多少钱
鲲鹏云手机
短信验证码平台
OCR图片文字识别
SSL证书是什么
申请企业邮箱步骤
免费的企业用邮箱
云免流搭建教程
域名价格