The invention discloses a system and a method of data, cloud backup method includes: receiving the first instruction, when the backup volume appears in the data block data is overwritten, rewriting the data replication in data blocks, at the same time to record the current distribution and the state of each data block on the backup volumes; the current record the distribution and state of each data block on the backup volumes, and the last to appear in the backup volume record for comparison results of data rewriting, the data will be changed to rewrite data blocks before the upload to the cloud storage server. The data cloud backup method and system of the invention can copy the data of the data block and upload it to the cloud server backup when the data of the data block in the backup volume is rewritten; when all the data blocks in the backup volume are rewritten, all the data on the volume are completed and the backup is completed. Compared with the existing technology, the method and the system of the invention avoid copying and uploading a large amount of data at one time, thus reducing the bandwidth occupation, increasing the replication rate and reducing the time consuming.
【技术实现步骤摘要】
数据云备份方法及系统
本专利技术涉及数据备份
,特别是涉及一种数据云备份方法及系统。
技术介绍
现有技术中,进行数据云备份的方法是,将存储系统中待备份的卷数据以复制的方式一次全部上传到云端,这种方法如果遇到待备份数据量很大的情况时,需要复制大量数据,使带宽压力很大,非常耗时。
技术实现思路
本专利技术的目的是提供一种数据云备份方法及系统,与现有技术相比,可降低带宽占用,加快复制速率,减少耗时。为实现上述目的,本专利技术提供如下技术方案:一种数据云备份方法,包括:在接收到第一指令后,当待备份卷中出现数据块的数据被改写时,复制所述数据块中改写前的数据,同时记录当前所述待备份卷上各数据块的分布和状态;将当前记录的所述待备份卷上各数据块的分布和状态,与上一次所述待备份卷中出现数据改写时记录的结果对比,将状态发生改变的数据块改写前的数据,上传到云服务端进行存储。可选地,当所述待备份卷中各数据块还未出现数据被改写时,记录当前所述待备份卷上各数据块的分布和状态。可选地,所述当待备份卷中出现数据块的数据被改写时,复制所述数据块中改写前的数据包括:在所述数据块中写入新数据的过程中 ...
【技术保护点】
一种数据云备份方法,其特征在于,包括:在接收到第一指令后,当待备份卷中出现数据块的数据被改写时,复制所述数据块中改写前的数据,同时记录当前所述待备份卷上各数据块的分布和状态;将当前记录的所述待备份卷上各数据块的分布和状态,与上一次所述待备份卷中出现数据改写时记录的结果对比,将状态发生改变的数据块改写前的数据,上传到云服务端进行存储。
【技术特征摘要】
1.一种数据云备份方法,其特征在于,包括:在接收到第一指令后,当待备份卷中出现数据块的数据被改写时,复制所述数据块中改写前的数据,同时记录当前所述待备份卷上各数据块的分布和状态;将当前记录的所述待备份卷上各数据块的分布和状态,与上一次所述待备份卷中出现数据改写时记录的结果对比,将状态发生改变的数据块改写前的数据,上传到云服务端进行存储。2.根据权利要求1所述的数据云备份方法,其特征在于,当所述待备份卷中各数据块还未出现数据被改写时,记录当前所述待备份卷上各数据块的分布和状态。3.根据权利要求1所述的数据云备份方法,其特征在于,所述当待备份卷中出现数据块的数据被改写时,复制所述数据块中改写前的数据包括:在所述数据块中写入新数据的过程中,同时复制所述数据块中改写前的数据。4.根据权利要求1所述的数据云备份方法,其特征在于,还包括:根据当前记录获得的所述待备份卷上各数据块的分布和状态,查询当前所述待备份卷上各数据块是否完成备份。5.根据权利要求1-4任一项所述的数据云备份方法,其特征在于,还包括:在接收到第二指令后,将待备份卷中各数据块依次复制,将复制后的数据依次上传到云服务端进行存储。6.一种数据云备份系统,其特征在于,包括:复制模块,用于在接收到第一指令后,当...
【专利技术属性】
技术研发人员:邢云阳,
申请(专利权)人:郑州云海信息技术有限公司,
类型:发明
国别省市:河南,41
还没有人留言评论。发表了对其他浏览者有用的留言会获得科技券。