CN107590030A - A kind of method, apparatus and system of data recording on tape backup - Google Patents
A kind of method, apparatus and system of data recording on tape backup Download PDFInfo
- Publication number
- CN107590030A CN107590030A CN201710912376.3A CN201710912376A CN107590030A CN 107590030 A CN107590030 A CN 107590030A CN 201710912376 A CN201710912376 A CN 201710912376A CN 107590030 A CN107590030 A CN 107590030A
- Authority
- CN
- China
- Prior art keywords
- data
- local
- tape
- full
- strange land
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 36
- 230000009286 beneficial effect Effects 0.000 abstract description 2
- 241000700605 Viruses Species 0.000 description 4
- 230000006870 function Effects 0.000 description 3
- 230000008569 process Effects 0.000 description 3
- 230000005540 biological transmission Effects 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 230000003203 everyday effect Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000013500 data storage Methods 0.000 description 1
- 230000000750 progressive effect Effects 0.000 description 1
- 230000035899 viability Effects 0.000 description 1
Landscapes
- Signal Processing For Digital Recording And Reproducing (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
本发明公开了一种磁带数据备份的方法,包括:接收待备份的数据;将所述数据的备份到本地磁带上;将所述本地磁带上的所述数据通过异地服务端备份到异地存储设备上。本发明中通过在本地和异地设备上各备份一份数据,在保证能够在本地快速获取备份数据的基础上,提高了数据的安全性,降低了由于数据丢失而带来巨大损失的风险。本发明提供的一种磁带数据备份的装置及系统,具有上述有益效果。
The invention discloses a tape data backup method, comprising: receiving data to be backed up; backing up the data to a local tape; backing up the data on the local tape to a storage device in a different place through a remote server superior. In the present invention, by backing up a copy of data on the local and remote devices, on the basis of ensuring that the backup data can be quickly obtained locally, the security of the data is improved, and the risk of huge losses due to data loss is reduced. The device and system for tape data backup provided by the present invention have the above beneficial effects.
Description
技术领域technical field
本发明涉及数据存储领域,特别是涉及一种磁带数据备份的方法、装置及系统。The invention relates to the field of data storage, in particular to a tape data backup method, device and system.
背景技术Background technique
信息系统中的关键业务数据是用户最重要的资产之一,数据的可靠性、完整性和安全性,关系到重要行业和企业的生存力和竞争力。当计算机系统在遭受自然灾害、计算机犯罪以及病毒或操作错误等等数据灾难时,拥有一份备份数据就显得至关重要。Key business data in information systems is one of the most important assets of users. The reliability, integrity and security of data are related to the viability and competitiveness of important industries and enterprises. When the computer system suffers from data disasters such as natural disasters, computer crimes, viruses or operating errors, it is very important to have a backup data.
目前对数据的备份基本上是在将数据由客户端备份到本地的服务端,因为备份数据和原始数据位于同一区域内,易发生同时损坏的问题。At present, the backup of data is basically to back up the data from the client to the local server, because the backup data and the original data are located in the same area, and the problem of simultaneous damage is prone to occur.
发明内容Contents of the invention
本发明的目的是提供一种磁带数据备份的方法,解决了磁带数据的备份数据和原始数据易同时损坏的问题,提高了备份数据的安全性。The object of the present invention is to provide a method for tape data backup, which solves the problem that the backup data and original data of the tape data are easily damaged at the same time, and improves the security of the backup data.
本发明的另一目的是提供一种磁带数据备份的装置及系统。Another object of the present invention is to provide a tape data backup device and system.
为解决上述技术问题,本发明提供一种磁带数据备份的方法,包括:In order to solve the above technical problems, the present invention provides a method for tape data backup, comprising:
接收待备份的数据;将所述数据的备份到本地磁带上;将所述本地磁带上的所述数据通过异地服务端备份到异地存储设备上。receiving the data to be backed up; backing up the data to a local tape; backing up the data on the local tape to an off-site storage device through an off-site server.
其中,所述将所述数据的备份到本地磁带上包括:Wherein, said backing up said data to a local tape comprises:
检测本地磁带库中未写满数据的本地磁带,并以未写满数据的所述本地磁带作为当前备份所述数据的本地磁带,当所述本地磁带写满数据时,则将写满数据的本地磁带进行关闭。Detect the local tape that is not full of data in the local tape library, and use the local tape that is not full of data as the local tape that currently backs up the data. When the local tape is full of data, the local tape that is full of data will be The local tape is closed.
其中,所述将所述数据通过异地服务端备份到异地存储设备上包括:Wherein, the said backing up the data to the off-site storage device through the off-site server includes:
检测所述磁带库中在第一预设时间段内写满的本地磁带,并将写满的所述本地磁带中的数据备份到异地存储设备上。Detecting a local tape that is full within a first preset time period in the tape library, and backing up data in the full local tape to an off-site storage device.
其中,所述将写满的所述本地磁带中的数据备份到异地存储设备上包括:Wherein, the backup of the data in the full local tape to the off-site storage device includes:
在第二预设时间段内,将写满的所述本地磁带中的数据备份到异地存储设备。Within the second preset time period, back up the full data in the local tape to the off-site storage device.
其中,所述将所述数据通过异地服务端备份到异地存储设备包括:Wherein, the said backing up the data to the off-site storage device through the off-site server includes:
将所述数据基于DPS软件通过DPS服务端备份到异地存储设备。The data is backed up to an off-site storage device through the DPS server based on the DPS software.
本发明还提供一种磁带数据备份的装置,包括:The present invention also provides a device for tape data backup, including:
接收模块,用于接收待备份的数据;The receiving module is used to receive the data to be backed up;
本地备份模块,用于将所述数据的备份到本地磁带上;The local backup module is used for backing up the data on the local tape;
异地备份模块,用于将所述数据通过异地服务端备份到异地存储设备上。The off-site backup module is used to back up the data to the off-site storage device through the off-site server.
其中,所述本地备份模块具体用于检测本地磁带库中未写满数据的本地磁带,并以未写满数据的所述本地磁带作为当前备份所述数据的本地磁带,直到所述本地磁带写满数据。Wherein, the local backup module is specifically configured to detect a local tape that is not full of data in the local tape library, and use the local tape that is not full of data as the local tape that currently backs up the data until the local tape is written full data.
其中,所述异地备份模块具体用于检测所述磁带库中已写满的本地磁带,并将已写满的所述本地磁带中的数据备份到异地存储设备上。Wherein, the off-site backup module is specifically configured to detect a full local tape in the tape library, and back up data in the full local tape to an off-site storage device.
其中,所述异地备份模块具体用于在预定的时间段内,检测所述磁带库中已写满的本地磁带。Wherein, the off-site backup module is specifically configured to detect a full local tape in the tape library within a predetermined time period.
本发明还提供一种磁带数据备份的系统,包括:The present invention also provides a system for tape data backup, including:
本地DPS客户端、本地DPS服务端、本地磁带、异地DPS服务端以及异地存储设备;其中,所述本地DPS客户端和所述本地DPS服务端相连接,用于向所述本地DPS服务端发送待备份的数据;所述本地DPS服务端和所述本地磁带相连接,并通过网络和异地DPS服务端相连接,用于接收待备份的数据,将所述数据的备份到本地磁带上;所述本地DPS服务端通过网络和所述异地DPS服务端相连接,将所述数据通过所述异地DPS服务端备份到所述异地存储设备上,其中所述异地服务端和所述异地存储设备相连接。A local DPS client, a local DPS server, a local tape, an off-site DPS server, and an off-site storage device; wherein, the local DPS client is connected to the local DPS server for sending to the local DPS server Data to be backed up; the local DPS server is connected to the local tape, and is connected to the off-site DPS server through the network, for receiving the data to be backed up, and backing up the data to the local tape; The local DPS server is connected to the off-site DPS server through the network, and the data is backed up to the off-site storage device through the off-site DPS server, wherein the off-site server is related to the off-site storage device connect.
本发明所提供的一种磁带数据备份的方法,在本地和异地各备份一份数据,对于本地备份数据一般和原始数据存储于同一区域,例如,存储于同一网络区域内的设备上,或者存储于物理位置较近的设备上。对于存储于用一区域内的数据,如果发生自然灾害或者遭遇计算机病毒,那么本地数据和原始数据就容易同时损坏或丢失。而对于异地备份数据,由于存储异地备份数据的异地设备和本地设备需要通过远程网络连接,远程传输数据相较于本地传输数据而言更为困难。因此同时备份有两份备份数据,当本地设备需要获取相关数据时,可以方便快捷的直接从本地存储设备获取即可,而当本地数据发生损坏或丢失时,又可通过异地备份数据还原。因此本发明提供的方法,在保证数据使用便捷的基础上,保证了数据的安全性,极大的降低了各种公司或国家重要数据丢失的风险。A method for tape data backup provided by the present invention, one copy of data is backed up locally and one copy at a different place, and the local backup data is generally stored in the same area as the original data, for example, stored on a device in the same network area, or stored on a device that is physically closer. For data stored in an area, if a natural disaster or a computer virus occurs, the local data and the original data are easily damaged or lost at the same time. For off-site backup data, remote data transmission is more difficult than local data transmission because the off-site devices and local devices that store off-site backup data need to be connected through a remote network. Therefore, there are two copies of backup data at the same time. When the local device needs to obtain relevant data, it can be obtained directly from the local storage device conveniently and quickly. When the local data is damaged or lost, it can be restored through the off-site backup data. Therefore, the method provided by the present invention ensures the security of the data on the basis of ensuring the convenient use of the data, and greatly reduces the risk of loss of important data of various companies or countries.
本发明提供的一种磁带数据备份的装置及系统,具有上述有益效果。The device and system for tape data backup provided by the present invention have the above beneficial effects.
附图说明Description of drawings
为了更清楚的说明本发明实施例或现有技术的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单的介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the embodiments of the present invention or the technical solutions of the prior art, the following will briefly introduce the accompanying drawings that need to be used in the description of the embodiments or the prior art. Obviously, the accompanying drawings in the following description are only For some embodiments of the present invention, those skilled in the art can also obtain other drawings based on these drawings without creative work.
图1为本发明实施例提供的磁带数据备份的方法的流程图;Fig. 1 is the flowchart of the method for tape data backup that the embodiment of the present invention provides;
图2为本发明另一实施例提供的磁带数据备份的方法的流程图;Fig. 2 is the flowchart of the method for tape data backup provided by another embodiment of the present invention;
图3为本发明实施例提供的磁带数据备份的装置的结构框图。Fig. 3 is a structural block diagram of an apparatus for tape data backup provided by an embodiment of the present invention.
具体实施方式detailed description
本发明的核心是提供一种磁带数据备份的方法,在保证能够通过本地存储设备快速获取数据的基础上,提高了数据的安全性,降低了由于数据丢失造成重大损失的风险。本发明的另一核心是提供一种磁带数据备份的装置及系统。The core of the present invention is to provide a tape data backup method, which improves data security and reduces the risk of heavy losses due to data loss on the basis of ensuring that data can be quickly obtained through local storage devices. Another core of the present invention is to provide a tape data backup device and system.
为了使本技术领域的人员更好地理解本发明方案,下面结合附图和具体实施方式对本发明作进一步的详细说明。显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。In order to enable those skilled in the art to better understand the solution of the present invention, the present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments. Apparently, the described embodiments are only some of the embodiments of the present invention, but not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.
本发明实施例提供的磁带数据备份的方法的流程图如图1所示,该方法可以包括:The flowchart of the method for tape data backup provided by the embodiment of the present invention is shown in Figure 1, and the method may include:
步骤S101:接收待备份的数据。Step S101: Receive data to be backed up.
步骤S102:将数据的备份到本地磁带上。Step S102: Backup the data to a local tape.
步骤S103:将本地磁带上的数据通过异地服务端备份到异地存储设备上。Step S103: Back up the data on the local tape to the off-site storage device through the off-site server.
需要说明的是,步骤S101中接收的待备份的数据一般由存储有原始数据的客户端发送至服务端,由服务端将数据备份到和服务端相连接的磁带上,再由服务端将数据备份到远程的异地存储设备,该异地存储设备也可以是磁带。It should be noted that the data to be backed up received in step S101 is generally sent to the server by the client that stores the original data, and the server backs up the data to a tape connected to the server, and then the server backs up the data Back up to a remote off-site storage device, which can also be a magnetic tape.
在实际应用过程中,如果只对原始数据进行本地备份,由于存储原始数据的客户端和本地备份数据的本地服务端之间的距离较近,或者处于同一网络环境中,如果发生地震、火灾等灾害时,原始数据和本地备份数据很可能同时丢失,如果受到病毒入侵,由于客户端和服务端位于同一网络环境中,很可能同时遭受病毒危害,最终导致数据全部丢失。但是如果只在异地备份数据,由于进行异地数据备份对网络要求较高,如果网络状况不好,很可能导致数据备份失败,且在进行异地数据备份时,也会对其他设备使用网络带来影响。且如果原始数据丢失,从异地存储设备中获取数据相对于从本地磁盘中获取数据所耗费的时间更长。因此本发明中,现将数据进行本地备份,再进行异地备份,在只有原始数据丢失时,可以直接从本地获取数据即可,当异地备份数据失败时,本地还保存有一份备份数据,可以利用本地备份数据重新进行异地备份,因此本发明所提供的备份数据的方法,在保证能够快速获取数据的基础上,提高了数据的安全性。In the actual application process, if only the original data is backed up locally, due to the short distance between the client storing the original data and the local server of the local backup data, or in the same network environment, if an earthquake, fire, etc. In the event of a disaster, the original data and local backup data are likely to be lost at the same time. If they are invaded by viruses, since the client and server are located in the same network environment, they are likely to be harmed by viruses at the same time, resulting in the loss of all data. However, if you only back up data in a remote location, due to the high network requirements for remote data backup, if the network condition is not good, it is likely to cause data backup failure, and when performing remote data backup, it will also affect other devices using the network . And if the original data is lost, it takes longer to obtain data from off-site storage devices than from local disks. Therefore, in the present invention, the data is now backed up locally, and then backed up in a different place. When only the original data is lost, the data can be obtained directly from the local. The local backup data is backed up in another place. Therefore, the method for backing up data provided by the present invention improves data security on the basis of ensuring fast data acquisition.
另外,对于步骤S102和步骤S103可以不限定两者之间的先后顺序,但是对于远程的异地存储数据而言,所耗费的时长一般都比较长对网络要求更高,备份过程中出现意外状况导致备份失败的可能性也相对较大,而本地存储备份数据就相对容易,且本地存储设备上备份数据耗费时间更短,为防止在异地备份数据过程中,网络突然断开或者其他突发故障导致备份数据失败,从而引起服务端的数据丢失,更为优选的实施方式是先进行本地备份后再进行异地备份。In addition, the sequence of steps S102 and S103 may not be limited, but for remote storage of data in different places, the time spent is generally longer and the network requirements are higher. Unexpected conditions during the backup process lead to The possibility of backup failure is also relatively high, and it is relatively easy to store backup data locally, and it takes less time to back up data on the local storage device. Backup data fails, thereby causing data loss on the server side. A more preferred implementation is to perform local backup first and then perform remote backup.
基于上述实施例,本发明的另一具体实施例中,将数据的备份到本地磁带具体可以包括:Based on the foregoing embodiments, in another specific embodiment of the present invention, backing up data to a local tape may specifically include:
检测本地磁带库中未写满数据的本地磁带,并以未写满数据的所述本地磁带作为当前备份所述数据的本地磁带,当所述本地磁带写满数据时,则将写满数据的本地磁带进行关闭。Detect the local tape that is not full of data in the local tape library, and use the local tape that is not full of data as the local tape that currently backs up the data. When the local tape is full of data, the local tape that is full of data will be The local tape is closed.
需要说明的是,本地磁带库中一般包括多个本地磁带,当需要写入数据时,可以将数据写入未写满的本地磁带进行数据备份,当某个本地磁带写满时,可以将该本地磁带关闭,不再允许向该本地磁带中写入数据,避免将原有的数据擦除,保证了本地磁带中数据的安全性。It should be noted that the local tape library generally includes multiple local tapes. When data needs to be written, the data can be written to a local tape that is not full for data backup. When a local tape is full, the When the local tape is closed, it is no longer allowed to write data into the local tape, avoiding the erasure of the original data, and ensuring the security of the data in the local tape.
另外,如果数据尚未写入完成,而本地磁带库中的本地磁带均已写满关闭,那么可以向本地磁带库中添加新的本地磁带,以扩展磁带库的存储空间。In addition, if the data has not been written yet and the local tapes in the local tape library are full and closed, you can add new local tapes to the local tape library to expand the storage space of the tape library.
基于上述实施例,考虑到如果每次向本地磁带中备份数据完成后,立即向异地存储设备中备份该数据,对每个本地磁带而言,无疑需要多次频繁的异地备份数据,又因为异地备份数据对网络的要求比较高,频繁的进行异地备份数据,必然会影响其他设备对网络的使用,从而降低了网络的性能,为此,本发明的另一具体实施例中,将所述数据通过异地服务端备份到异地存储设备上的具体过程可以包括:Based on the above-mentioned embodiment, considering that if the data is backed up in the off-site storage device immediately after each time the data is backed up in the local tape, for each local tape, it is undoubtedly necessary to back up the data frequently in the off-site for many times, and because the off-site Backup data has relatively high requirements on the network, and frequent remote backup of data will inevitably affect the use of the network by other devices, thereby reducing the performance of the network. Therefore, in another specific embodiment of the present invention, the data The specific process of backing up to an off-site storage device through an off-site server may include:
检测所述磁带库中在第一预设时间段内写满的本地磁带,并将写满的所述本地磁带中的数据备份到异地存储设备上。Detecting a local tape that is full within a first preset time period in the tape library, and backing up data in the full local tape to an off-site storage device.
具体的,为了减少异地备份数据的次数,可以是在本地磁带写满数据后再将该本地磁带的数据进行异地备份,但是如果各个本地磁带写满数据的速度较快,还是需要频繁进行异地备份数据。为此可以设定一定的时间周期,每隔一段时间对本地磁带库进行查询,如果存在写满的本地磁带,则将该本地磁带中的数据进行异地存储。又考虑到本地磁带库中写满的本地磁带除了存在未进行异地备份数据的本地磁带,还可能存在已经进行了异地备份的本地磁带,为了避免重复备份,可以只查询是否存在本地磁带是在预定时间段内写满的,该预定时间段一般设置为上一次进行写满的本地磁带查询到当前时刻的时间段。Specifically, in order to reduce the number of off-site backup data, the data on the local tape can be backed up off-site after the local tape is filled with data. However, if each local tape is full of data quickly, frequent off-site backups are still required. data. For this reason, a certain time period can be set, and the local tape library is queried at regular intervals, and if there is a full local tape, the data in the local tape is stored off-site. Considering that the full local tapes in the local tape library include local tapes that have not been backed up in other places, there may also be local tapes that have been backed up in another place. In order to avoid repeated backups, you can only query whether there are local tapes that are scheduled If it is full within the time period, the predetermined time period is generally set as the time period from the last time the full local tape was queried to the current moment.
基于上述实施例,考虑到异地备份数据对网络的要求较高,对于使用带宽的高峰时段,如果进行异地备份,往往会出现备份失败或者严重影响其他设备对网络的使用,为此,在本发明的另一具体实施例中,将写满的本地磁带中的数据备份到异地存储设备上具体可以包括:Based on the above-mentioned embodiments, considering that backup data in different places has higher requirements on the network, for the peak hours of using bandwidth, if the backup is performed in different places, the backup will often fail or seriously affect the use of the network by other devices. For this reason, in the present invention In another specific embodiment of , backing up the data in the full local tape to the off-site storage device may specifically include:
在第二预设时间段内,将写满的所述本地磁带中的数据备份到异地存储设备。Within the second preset time period, back up the full data in the local tape to the off-site storage device.
需要说明的是,第二预设时间段一般设置在网络带宽不繁忙的时段,例如,每天凌晨零点到两点之间的时段网络宽带基本不被使用,那么可以将该时段设定为第二预设时间段,对应的第一预设时间段即可以是每天的零点到第二天的零点,在固定的第二预设时间段内,在进行异地备份之前进行查询写满的本地磁带。但这并不是唯一的实施方式,例如,也可以是每过两小时查询一次,在距离当前时刻两小时内是否存在本地磁带备写满,如果存在,将该本地磁带进行记录,在凌晨零点时再进行异地备份。It should be noted that the second preset time period is generally set in a time period when the network bandwidth is not busy. For example, the network broadband is basically not used during the period between 0:00 and 2:00 in the morning every day, so this time period can be set as the second time period. For the preset time period, the corresponding first preset time period can be from zero o'clock every day to zero o'clock the next day, and within the fixed second preset time period, the full local tape is queried before off-site backup. But this is not the only way of implementation. For example, it can also be queried every two hours to see if there is a local tape that is full within two hours from the current time. If so, record the local tape, and at midnight Then perform remote backup.
基于上述任意实施例,本发明的另一具体实施例中,将数据通过异地服务端备份到异地存储设备具体可以包括:Based on any of the above embodiments, in another specific embodiment of the present invention, backing up the data to the off-site storage device through the off-site server may specifically include:
将所述数据基于DPS软件通过DPS服务端备份到异地存储设备。The data is backed up to an off-site storage device through the DPS server based on the DPS software.
需要说明的是,由于本地磁盘中存储的数据,可能彼此之间都存在有一定的联系,在进行异地备份之后,在异地存储设备备份的数据必然不能丢失本地磁带数据之间的联系信息,否在在异地存储的数据也就失去了数据本身的使用价值,为此本发明中可以是基于DPS软件进行异地备份数据,能够有效的保证异地备份的数据的完整性。It should be noted that, since the data stored in the local disk may be related to each other, after off-site backup, the data backed up on the off-site storage device must not lose the contact information between the local tape data, otherwise The data stored in different places also loses the use value of the data itself. For this reason, in the present invention, data can be backed up in different places based on DPS software, which can effectively ensure the integrity of the data backed up in different places.
基于上述任意实施例,本发明另一实施例提供的磁带数据备份的方法的流程图如图2所示,该方法可以包括:Based on any of the above-mentioned embodiments, a flow chart of a method for tape data backup provided in another embodiment of the present invention is shown in Figure 2, the method may include:
步骤S201:接收DPS客户端发送的待备份的数据。Step S201: Receive the data to be backed up sent by the DPS client.
步骤S202:检测本地磁带库中是否存在未写满数据的本地磁带,如果是,进入步骤S203,如果否,进入步骤S204。Step S202: Detect whether there is a local tape not full of data in the local tape library, if yes, go to step S203, if not, go to step S204.
步骤S203:向本地磁带库中加入新的本地磁带。Step S203: adding a new local tape to the local tape library.
步骤S204:向未写满的本地磁盘中写入数据。Step S204: Write data to the local disk that is not full.
步骤S205:判断本地磁盘写入数据后是否写满,如果是进入步骤S206,如果否,进入步骤S207。Step S205: Determine whether the local disk is full after writing data, if yes, go to step S206, if not, go to step S207.
步骤S206:将写满数据的本地磁盘关闭。Step S206: Shutting down the local disk full of data.
步骤S207:判断是否存在本地磁盘在第一预设时间段内写满,如果是,进入步骤S208,如果否,进入步骤S201。Step S207: Determine whether there is a local disk that is full within the first preset time period, if yes, go to step S208, if not, go to step S201.
步骤S208:在第二预设时间段内将写满的本地磁盘中的数据备份到异地存储设备。Step S208: Backing up the full data in the local disk to the off-site storage device within the second preset time period.
下面对本发明实施例提供的磁带数据备份的装置进行介绍,下文描述的磁带数据备份的装置与上文描述的磁带数据备份的方法可相互对应参照。The following is an introduction to the tape data backup device provided by the embodiment of the present invention. The tape data backup device described below and the tape data backup method described above can be referred to in correspondence.
图3为本发明实施例提供的磁带数据备份的装置的结构框图,参照图3磁带数据备份的装置可以包括:Fig. 3 is the structural block diagram of the device of tape data backup that the embodiment of the present invention provides, and the device of referring to Fig. 3 tape data backup can comprise:
接收模块100,用于接收待备份的数据;A receiving module 100, configured to receive data to be backed up;
本地备份模块200,用于将所述数据的备份到本地磁带上;The local backup module 200 is used for backing up the data on the local tape;
异地备份模块300,用于将所述数据通过异地服务端备份到异地存储设备上。The off-site backup module 300 is configured to back up the data to an off-site storage device through an off-site server.
可选的,所述本地备份模块200具体用于检测本地磁带库中未写满数据的本地磁带,并以未写满数据的所述本地磁带作为当前备份所述数据的本地磁带,直到所述本地磁带写满数据。Optionally, the local backup module 200 is specifically configured to detect a local tape that is not full of data in the local tape library, and use the local tape that is not full of data as the local tape that currently backs up the data until the The local tape is full of data.
可选的,所述异地备份模块300具体用于检测所述磁带库中已写满的本地磁带,并将已写满的所述本地磁带中的数据备份到异地存储设备上。Optionally, the off-site backup module 300 is specifically configured to detect a full local tape in the tape library, and back up data in the full local tape to an off-site storage device.
可选的,所述异地备份模块300具体用于在预定的时间段内,检测所述磁带库中已写满的本地磁带。Optionally, the remote backup module 300 is specifically configured to detect a full local tape in the tape library within a predetermined time period.
本实施例的磁带数据备份的装置用于实现前述的磁带数据备份的方法,因此磁带数据备份的装置中的具体实施方式可见前文中的**方法的实施例部分,例如,接收模块100,本地备份模块200,异地备份模块300,分别用于实现上述磁带数据备份的方法中步骤S101,S102和S103所以,其具体实施方式可以参照相应的各个部分实施例的描述,在此不再赘述。The tape data backup device of this embodiment is used to implement the aforementioned tape data backup method, so the specific implementation of the tape data backup device can be seen in the embodiment part of the **method above, for example, the receiving module 100, the local The backup module 200 and the off-site backup module 300 are respectively used to implement steps S101, S102 and S103 in the above-mentioned tape data backup method. Therefore, its specific implementation methods can refer to the descriptions of the corresponding parts of the embodiments, and will not be repeated here.
本发明实施例提供了磁带数据备份的系统,可以包括:Embodiments of the present invention provide a system for tape data backup, which may include:
地DPS客户端、本地DPS服务端、本地磁带、异地DPS服务端以及异地存储设备;Local DPS client, local DPS server, local tape, remote DPS server and remote storage device;
其中,所述本地DPS客户端和所述本地DPS服务端相连接,用于向所述本地DPS服务端发送待备份的数据;Wherein, the local DPS client is connected to the local DPS server, and is used to send data to be backed up to the local DPS server;
所述本地DPS服务端和所述本地磁带相连接,并通过网络和异地DPS服务端相连接,用于接收待备份的数据,将所述数据的备份到本地磁带上;The local DPS server is connected to the local tape, and is connected to the remote DPS server through the network, for receiving data to be backed up, and backing up the data to the local tape;
所述本地DPS服务端通过网络和所述异地DPS服务端相连接,将所述数据通过所述异地DPS服务端备份到所述异地存储设备上,其中所述异地服务端和所述异地存储设备相连接。The local DPS server is connected to the off-site DPS server through the network, and the data is backed up to the off-site storage device through the off-site DPS server, wherein the off-site server and the off-site storage device connected.
本说明书中各个实施例采用递进的方式描述,每个实施例重点说明的都是与其它实施例的不同之处,各个实施例之间相同或相似部分互相参见即可。对于实施例公开的装置而言,由于其与实施例公开的方法相对应,所以描述的比较简单,相关之处参见方法部分说明即可。Each embodiment in this specification is described in a progressive manner, each embodiment focuses on the difference from other embodiments, and the same or similar parts of each embodiment can be referred to each other. As for the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and for the related part, please refer to the description of the method part.
专业人员还可以进一步意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、计算机软件或者二者的结合来实现,为了清楚地说明硬件和软件的可互换性,在上述说明中已经按照功能一般性地描述了各示例的组成及步骤。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本发明的范围。Professionals can further realize that the units and algorithm steps of the examples described in conjunction with the embodiments disclosed herein can be implemented by electronic hardware, computer software or a combination of the two. In order to clearly illustrate the possible For interchangeability, in the above description, the composition and steps of each example have been generally described according to their functions. Whether these functions are executed by hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art may use different methods to implement the described functions for each specific application, but such implementation should not be regarded as exceeding the scope of the present invention.
结合本文中所公开的实施例描述的方法或算法的步骤可以直接用硬件、处理器执行的软件模块,或者二者的结合来实施。软件模块可以置于随机存储器(RAM)、内存、只读存储器(ROM)、电可编程ROM、电可擦除可编程ROM、寄存器、硬盘、可移动磁盘、CD-ROM、或技术领域内所公知的任意其它形式的存储介质中。The steps of the methods or algorithms described in conjunction with the embodiments disclosed herein may be directly implemented by hardware, software modules executed by a processor, or a combination of both. Software modules can be placed in random access memory (RAM), internal memory, read-only memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, removable disk, CD-ROM, or any other Any other known storage medium.
以上对本发明所提供的磁带数据备份的方法以及装置进行了详细介绍。本文中应用了具体个例对本发明的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本发明的方法及其核心思想。应当指出,对于本技术领域的普通技术人员来说,在不脱离本发明原理的前提下,还可以对本发明进行若干改进和修饰,这些改进和修饰也落入本发明权利要求的保护范围内。The method and device for tape data backup provided by the present invention have been introduced in detail above. In this paper, specific examples are used to illustrate the principle and implementation of the present invention, and the descriptions of the above embodiments are only used to help understand the method and core idea of the present invention. It should be pointed out that for those skilled in the art, without departing from the principle of the present invention, some improvements and modifications can be made to the present invention, and these improvements and modifications also fall within the protection scope of the claims of the present invention.
Claims (10)
- A kind of 1. method of data recording on tape backup, it is characterised in that including:Receive data to be backed up;By backuping on local tape for the data;The data on the local tape are backuped in the storage device of strange land by strange land service end.
- 2. according to the method for claim 1, it is characterised in that described to wrap backuping on local tape for the data Include:The local tape for not writing full data in local tape library is detected, and not write the local tape of full data as currently The local tape of the data is backed up, when the local tape writes full data, is then closed the local tape for writing full data Close.
- 3. according to the method for claim 2, it is characterised in that it is described the data are backuped to by strange land service end it is different Include in ground storage device:Detect and write full local tape in the tape library in the first preset time period, and will write in the full local tape Data backup in the storage device of strange land.
- 4. according to the method for claim 3, it is characterised in that the data backup that will be write in the full local tape Include on to strange land storage device:In the second preset time period, the data write in the full local tape are backuped into strange land storage device.
- 5. according to the method described in any one of Claims 1-4, it is characterised in that described to service the data by strange land End, which backups to strange land storage device, to be included:The data are backuped into strange land storage device based on DPS softwares by DPS service ends.
- A kind of 6. device of data recording on tape backup, it is characterised in that including:Receiving module, for receiving data to be backed up;Local backup module, for the data to be backuped into local tape;Remote backup module, for the data to be backuped into strange land storage device by strange land service end.
- 7. device according to claim 6, it is characterised in that the local backup module is specifically used for detecting local tape The local tape of full data is not write in storehouse, and not write the local tape of full data as the sheet of data described in current backup Ground tape, until the local tape writes full data.
- 8. device according to claim 7, it is characterised in that the remote backup module is specifically used for detecting the tape Full local tape has been write in storehouse, and the data write in the full local tape have been backuped in the storage device of strange land.
- 9. according to the method for claim 8, it is characterised in that the remote backup module was specifically used in the predetermined time In section, detect and full local tape has been write in the tape library.
- A kind of 10. system of data recording on tape backup, it is characterised in that including:Local DPS clients, local DPS service ends, local tape, strange land DPS service ends and strange land storage device;Wherein, the local DPS clients are connected with the local DPS service ends, for being sent out to the local DPS service ends Send data to be backed up;The local DPS service ends are connected with the local tape, and are connected by network with strange land DPS service ends, use In receiving data to be backed up, by backuping on local tape for the data;The local DPS service ends are connected by network with the strange land DPS service ends, and the data are passed through into the strange land DPS service ends are backuped in the strange land storage device, wherein the strange land service end is connected with the strange land storage device.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710912376.3A CN107590030A (en) | 2017-09-29 | 2017-09-29 | A kind of method, apparatus and system of data recording on tape backup |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710912376.3A CN107590030A (en) | 2017-09-29 | 2017-09-29 | A kind of method, apparatus and system of data recording on tape backup |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107590030A true CN107590030A (en) | 2018-01-16 |
Family
ID=61052591
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710912376.3A Pending CN107590030A (en) | 2017-09-29 | 2017-09-29 | A kind of method, apparatus and system of data recording on tape backup |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107590030A (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109933463A (en) * | 2019-02-28 | 2019-06-25 | 苏州浪潮智能科技有限公司 | A data backup method and system based on storage backup system media pool |
CN110377455A (en) * | 2019-06-26 | 2019-10-25 | 苏州浪潮智能科技有限公司 | Data back up method, apparatus and system |
CN110597658A (en) * | 2019-08-16 | 2019-12-20 | 上海爱数信息技术股份有限公司 | Tape backup system supporting cluster and method thereof |
WO2021218904A1 (en) | 2020-04-28 | 2021-11-04 | Zhejiang Dahua Technology Co., Ltd. | Systems and methods for system recovery |
CN118626439A (en) * | 2024-08-09 | 2024-09-10 | 杭州海康威视数字技术股份有限公司 | Data archiving method and electronic equipment |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101094154A (en) * | 2007-06-28 | 2007-12-26 | 北京亚细亚智业科技有限公司 | System in multiple industrial control modes for protecting backed data at other location, and protection method |
US20080104145A1 (en) * | 2006-06-23 | 2008-05-01 | Derrell Lipman | Method and appartus for backup of networked computers |
CN101499033A (en) * | 2008-12-18 | 2009-08-05 | 上海全景数字技术有限公司 | Flash memory data saving method |
CN101963928A (en) * | 2009-07-22 | 2011-02-02 | 升东网络科技发展(上海)有限公司 | System and method of database full backup |
CN102520883A (en) * | 2011-12-12 | 2012-06-27 | 杭州华三通信技术有限公司 | Data access method and device thereof |
WO2014055446A1 (en) * | 2012-10-02 | 2014-04-10 | Nextbit, Inc. | Application state synchronization across multiple devices |
CN104239164A (en) * | 2013-06-19 | 2014-12-24 | 国家电网公司 | Cloud storage based disaster recovery backup switching system |
CN106843760A (en) * | 2017-01-17 | 2017-06-13 | 郑州云海信息技术有限公司 | It is a kind of based on the asynchronous remote copy system deleted and method again |
-
2017
- 2017-09-29 CN CN201710912376.3A patent/CN107590030A/en active Pending
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20080104145A1 (en) * | 2006-06-23 | 2008-05-01 | Derrell Lipman | Method and appartus for backup of networked computers |
CN101094154A (en) * | 2007-06-28 | 2007-12-26 | 北京亚细亚智业科技有限公司 | System in multiple industrial control modes for protecting backed data at other location, and protection method |
CN101499033A (en) * | 2008-12-18 | 2009-08-05 | 上海全景数字技术有限公司 | Flash memory data saving method |
CN101963928A (en) * | 2009-07-22 | 2011-02-02 | 升东网络科技发展(上海)有限公司 | System and method of database full backup |
CN102520883A (en) * | 2011-12-12 | 2012-06-27 | 杭州华三通信技术有限公司 | Data access method and device thereof |
WO2014055446A1 (en) * | 2012-10-02 | 2014-04-10 | Nextbit, Inc. | Application state synchronization across multiple devices |
CN104239164A (en) * | 2013-06-19 | 2014-12-24 | 国家电网公司 | Cloud storage based disaster recovery backup switching system |
CN106843760A (en) * | 2017-01-17 | 2017-06-13 | 郑州云海信息技术有限公司 | It is a kind of based on the asynchronous remote copy system deleted and method again |
Non-Patent Citations (1)
Title |
---|
翁瑞琪: "《微型计算机安全使用与维护手册》", 31 December 1996 * |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109933463A (en) * | 2019-02-28 | 2019-06-25 | 苏州浪潮智能科技有限公司 | A data backup method and system based on storage backup system media pool |
CN110377455A (en) * | 2019-06-26 | 2019-10-25 | 苏州浪潮智能科技有限公司 | Data back up method, apparatus and system |
CN110597658A (en) * | 2019-08-16 | 2019-12-20 | 上海爱数信息技术股份有限公司 | Tape backup system supporting cluster and method thereof |
WO2021218904A1 (en) | 2020-04-28 | 2021-11-04 | Zhejiang Dahua Technology Co., Ltd. | Systems and methods for system recovery |
EP4127929A4 (en) * | 2020-04-28 | 2023-12-06 | Zhejiang Dahua Technology Co., Ltd. | Systems and methods for system recovery |
US12099419B2 (en) | 2020-04-28 | 2024-09-24 | Zhejiang Dahua Technology Co., Ltd. | Systems and methods for system recovery |
CN118626439A (en) * | 2024-08-09 | 2024-09-10 | 杭州海康威视数字技术股份有限公司 | Data archiving method and electronic equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107590030A (en) | A kind of method, apparatus and system of data recording on tape backup | |
US9645892B1 (en) | Recording file events in change logs while incrementally backing up file systems | |
US8166263B2 (en) | Continuous data protection over intermittent connections, such as continuous data backup for laptops or wireless devices | |
US8706694B2 (en) | Continuous data protection of files stored on a remote storage device | |
US9690666B1 (en) | Incremental backup operations in a transactional file system | |
US6871271B2 (en) | Incrementally restoring a mass storage device to a prior state | |
US10303560B2 (en) | Systems and methods for eliminating write-hole problems on parity-based storage resources during an unexpected power loss | |
US10296428B2 (en) | Continuous replication in a distributed computer system environment | |
US7987325B1 (en) | Method and apparatus for implementing a storage lifecycle based on a hierarchy of storage destinations | |
CN104641650B (en) | Source Reference Replication in the Data Storage Subsystem | |
US20060059384A1 (en) | Full backup from incremental /differential backups | |
CN106339276B (en) | A data recovery method and system based on data backup state | |
GB2510178A (en) | System and method for replicating data | |
CN101501653B (en) | long-term backup of disk | |
CN106681865A (en) | Business recovery method and device | |
US20070038888A1 (en) | Data protection management on a clustered server | |
CN103176867B (en) | A kind of fast file differential backup method | |
US10545825B2 (en) | Fault-tolerant enterprise object storage system for small objects | |
US8595271B1 (en) | Systems and methods for performing file system checks | |
US9367457B1 (en) | Systems and methods for enabling write-back caching and replication at different abstraction layers | |
US11645333B1 (en) | Garbage collection integrated with physical file verification | |
US20140215209A1 (en) | Enterprise distributed free space file system | |
US20170337213A1 (en) | Metadata regeneration | |
US8086782B2 (en) | Tape image on non-tape storage device | |
US8224778B1 (en) | Systems and methods for backing up emails |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20180116 |