JPS61114332A - File back-up processing method - Google Patents

File back-up processing method

Info

Publication number
JPS61114332A
JPS61114332A JP59234587A JP23458784A JPS61114332A JP S61114332 A JPS61114332 A JP S61114332A JP 59234587 A JP59234587 A JP 59234587A JP 23458784 A JP23458784 A JP 23458784A JP S61114332 A JPS61114332 A JP S61114332A
Authority
JP
Japan
Prior art keywords
file
backup
files
physically
area
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
Application number
JP59234587A
Other languages
Japanese (ja)
Inventor
Takashi Takee
武衛 敬司
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric Corp
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP59234587A priority Critical patent/JPS61114332A/en
Publication of JPS61114332A publication Critical patent/JPS61114332A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To back-up a magnetic tape or a flexible disk regardless of the file editing by copying physically and saving the file area of the back-up side. CONSTITUTION:The file information of the back-up side is written physically to an area of the backed-up side and then read physically. When the files of the pack-up side are all read, these files are closed. Then the files of the backed-up side are also closed. In case the backed-up file is restored, the file is opened to the output light in an output mode by the file information of the back-up side. Hereafter the file areas are copied physically in the same way. Then the file information is written to a file control table when said physical copying operation is through.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 この発明は計算機システムの磁気ディスク上の連続した
領域にあるファイルをバックアップするファイル拳バッ
クアップの処理方法に関するものである。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a file backup processing method for backing up files in a continuous area on a magnetic disk of a computer system.

〔従来の技術〕[Conventional technology]

この種の従来のファイル・バックアップの処理は、デー
タ管理プログラムによるファイルのオープン、リード、
ライトおよびクローズによって行つており、これを第2
図のフローチャートを用いて詳しく説明する。
This type of traditional file backup process involves a data management program opening, reading, and
This is done by writing and closing, and this is done by the second
This will be explained in detail using the flowchart shown in the figure.

先ず、ステップ(ロ)でバックアップ元のファイルを入
力モードでオープンする。このオープンによってファイ
ルの領域等が得られるものとし、次へステップ四で入力
ファイル生成件数の大きさでバックアップ先のファイル
を出力モード(wRrrg)でオープンする。
First, in step (b), open the backup source file in input mode. It is assumed that a file area etc. can be obtained by this opening, and then in step 4, the backup destination file is opened in output mode (wRrrg) according to the number of input files to be generated.

次忙、ステップa匂でバックアップ元のファイルをルコ
ード読み、ステップa彎でバックアップ元の入力データ
が終わりであるか否かを判定する。
Next, in step a, the backup source file is read as a code, and in step a, it is determined whether or not the backup source input data is finished.

このステップ(4)での判定で、入力データが終わりで
なければ、ステップ邸)で読み込んだバックアップ元の
ルコードをバックアップ先のファイルに書き込む。
If it is determined in step (4) that the input data is not finished, the backup source code read in the step file is written to the backup destination file.

続いて、ステップ11:11 、(4)、(至))の処
理を繰返し、バックアップ元のファイルの終わり(go
F)を検出した場合、ステップα6)でバックアップ元
のファイルのクローズを行い、次に、ステップa’F)
でバックアップ先のファイルのクローズを行って1つの
7アイルのバックアップ処理が終了する。
Next, repeat steps 11:11, (4), (to) until the end of the backup source file (go
If F) is detected, the backup source file is closed in step α6), and then step a'F)
The backup destination file is closed, and the backup process for one 7 isle is completed.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

上記従来の処理方法ではデータ管理を使用して行うがた
めに1次の2つの問題点があった。
The above-mentioned conventional processing method uses data management, so there are two primary problems.

(、)磁気テープやフレキシブルディスクに対しては順
次編成されたファイル以外はバックアップできなかつ念
(,) Please note that files other than sequentially organized files cannot be backed up to magnetic tape or flexible disks.

価)データ管理ではレコードという論理的な単位で処理
されるため、物理的な領域のコピー処理に比べて処理速
度が遅かつ友。この発明はこのような問題点を解消する
ためになされたもので、ファイル編成に関係なく、磁気
テープやフレキシブルディスクのファイルにもバックア
ップ処理を高速で行い得るファイル・バックアップの処
理方法の提供を目的とする。
(value) Data management is processed in logical units called records, so the processing speed is slower and faster than copying of physical areas. This invention was made to solve these problems, and aims to provide a file backup processing method that can perform high-speed backup processing for files on magnetic tapes and flexible disks, regardless of file organization. shall be.

〔問題点を解決するための手段〕[Means for solving problems]

この発明Kかかるファイル・バックアップの処理方法は
、バックアップ元のファイル領域を知ることKよりファ
イル領域を物理的にコピーすると共に1フアイルの属性
情報を一緒にセーブする。
The file backup processing method according to the present invention physically copies the file area based on knowing the file area of the backup source and saves the attribute information of one file at the same time.

〔作用〕[Effect]

この発明においては、ファイル領域の物理的なコピーに
より高速で処理し、属性情報を一緒にセーブして磁気テ
ープやフレキシブルディスクにもバックアップを行い得
るようKしている。
In this invention, high-speed processing is performed by physically copying the file area, attribute information is saved together, and backup can also be performed on magnetic tape or flexible disk.

〔実施例〕〔Example〕

第1図はこの発明によるファイル参バックアップの処理
方法の一実施例を示すフローチャートである。
FIG. 1 is a flowchart showing an embodiment of a file reference backup processing method according to the present invention.

この第1図において、先ず、ステップ(211では、バ
ックアップ元のファイルを入力モード(INPUT)で
オープンし、次に1ステツプ陣でバックアップ元の領域
に属性情報の大きさを加え九大きさで、バックアップ先
のファイルを順次編成ファイルの出力そ−ド(0σTP
UT)でオープンする0次に、ステップ■でバックアッ
プ元のファイル情報をバックアップ先の領域に物理的に
曹き込み、続いて、ステップ−でバックアップ元のファ
イル領域を物理的に読み込む0 次に、ステップに)でバックアップ元のファイルの読み
込みを終了(moF)したか否かの判定を行い、終了で
なければ読み込んだデータをステップ(財)でバックア
ップ先のファイル領域に物理的に書き込み、続いて、ス
テップ例、に)、(財)の処理を繰返す。
In FIG. 1, first, in step 211, the backup source file is opened in input mode (INPUT), and then, in one step, the size of the attribute information is added to the backup source area, making it 9 in size. Output file of backup destination file in sequential format (0σTP
Next, in step ■, physically write the backup source file information into the backup destination area, and then, in step -, physically read the backup source file area. Step) determines whether reading of the backup source file has finished (moF), and if not, physically writes the read data to the backup destination file area in step (moF), and then , step example, ), repeat the process of (goods).

これらの処理によって、バックアップ元のファイルを全
て読み込んだら、ステップ(財)でノくツクアップ元の
ファイルをクローズし、続いてステップ−でバックアッ
プ先のファイルをクローズする。
After all the backup source files have been read through these processes, the backup source files are closed in step 1, and then the backup destination files are closed in step -.

一方、バックアップをし几ファイルを復元する場合には
、バックアップ元のファイル情報により出力モード(0
σTPUT)で出力光にファイルオープン時 コピーを行う。そして、コピー完了後、ファイル管理テ
ーブルにファイル情報を書き込み、ノ(ツクアップ・フ
ァイルおよび復元ファイルのクローズを行う。
On the other hand, when restoring a backup file, the output mode (0) depends on the file information of the backup source.
σTPUT) to copy the file to the output light when opening it. After the copy is completed, the file information is written in the file management table, and the backup file and restored file are closed.

なお、上記実施例ではバッファラグ元のファイルオープ
ン時に属性情報を得ているが、この属性情報が得られな
いときは他の適切な方法で得るようKする。
In the above embodiment, the attribute information is obtained when opening the buffer lag source file, but if this attribute information cannot be obtained, it is determined to be obtained by another appropriate method.

また、バックアップファイル内の物理的な情報、例えば
、索引ファイルの索引部のデータポインタが物理ディス
クアドレスで示されるような情報はバックアップ時に相
対化して復元時に物理ディスクアドレスに変換する。
Furthermore, physical information in the backup file, such as information such as the data pointer in the index section of an index file indicated by a physical disk address, is made relative at the time of backup and converted into a physical disk address at the time of restoration.

さらにまた、n個のファイルをまとめてバックアップす
る場合には個々にファイル情報を出力してもよいし、−
柄出力して管理してもよい。
Furthermore, when backing up n files at once, file information may be output individually, or -
You may also manage by outputting the pattern.

〔発明の効果〕〔Effect of the invention〕

以上の説明によって明らかな如く、この発明によればフ
ァイル領域を物理的にコピーしているので、データ管理
プログラムによるオーバヘッドがないため高速処理が可
能になり、また、属性情報を一緒にセーブしているので
ファイル編成に関係なく磁気テープやフレキシブルディ
スクにファイルのバックアップを行うことができるとい
う効果が得られている。
As is clear from the above explanation, according to the present invention, since the file area is physically copied, high-speed processing is possible because there is no overhead caused by a data management program, and attribute information is also saved. This has the advantage that files can be backed up to magnetic tape or flexible disks regardless of file organization.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図はこの発明の一実施例を示すフローチャー )、
第2図は従来のファイル・バックアップの処理方法を示
すフローチャートである。
FIG. 1 is a flowchart showing an embodiment of the present invention).
FIG. 2 is a flowchart showing a conventional file backup processing method.

Claims (1)

【特許請求の範囲】[Claims] 磁気ディスク上の連続した領域にファイルがある計算機
システムにおいて、前記ファイルのバックアップを行う
とき、ファイル領域を物理的にコピーし、且つ、前記フ
ァイルの属性情報を一緒にセーブすることを特徴とする
ファイル・バックアップの処理方法。
In a computer system in which files are located in a continuous area on a magnetic disk, when backing up the file, the file area is physically copied and attribute information of the file is also saved.・How to process backups.
JP59234587A 1984-11-07 1984-11-07 File back-up processing method Pending JPS61114332A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP59234587A JPS61114332A (en) 1984-11-07 1984-11-07 File back-up processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP59234587A JPS61114332A (en) 1984-11-07 1984-11-07 File back-up processing method

Publications (1)

Publication Number Publication Date
JPS61114332A true JPS61114332A (en) 1986-06-02

Family

ID=16973354

Family Applications (1)

Application Number Title Priority Date Filing Date
JP59234587A Pending JPS61114332A (en) 1984-11-07 1984-11-07 File back-up processing method

Country Status (1)

Country Link
JP (1) JPS61114332A (en)

Similar Documents

Publication Publication Date Title
JPH06250906A (en) Backup/recovery system for data developed in main storage device
CA2063379A1 (en) Method of operating a data processing system
JPS61114332A (en) File back-up processing method
JPS648848B2 (en)
JPH10312329A (en) Data backup and restoring device
JPH0793101A (en) Data backup device
JP3196112B2 (en) Method of duplicating card type storage medium
JPH0235537A (en) Multiple volume update control system
JP2563328B2 (en) How to copy a document file
JPS61283091A (en) Recording data access system for file device
JPH0644118A (en) File backup system
JPH03216743A (en) Parallel saving system for data base
JPH06223153A (en) Electronic filing system
JPH07239759A (en) Backup device and method for disk array device
JPS58182774A (en) Controller
JPH05181613A (en) Information processor
JPS58171724A (en) Copy controller of magnetic disc tape
JPH03257521A (en) Medium copy system
JP2630932B2 (en) Program recording method for disk-shaped recording medium
JPH0327429A (en) Duplexing method for data in information processor
JPH08263389A (en) Data backup method
JPH01191246A (en) Write assuring system for external storage device
JPH0728708A (en) Back-up method for disk device
JPH02171913A (en) Optical disk device control system
JPH05290514A (en) Recording and reproducing device