onatpeでのディレクトリーへのバックアップ2007年03月16日 15時11分36秒

cheetahからontapeでディレクトリーへのバックアップが可能になりました。手順は簡単です。


1. TAPEDEV 及びLTAPEDEVパラメータにディレクトリーを指定します。

% onstat -c | grep TAPEDEV
TAPEDEV /informix/backup_dir

2. あとは今までと同じようのontapeでバックアップ実行してください。ご覧のように、ディレクトリーにバックアップがたまっていきます。古いのは基本的に必要ないので、テープにバックアップするなり、削除したりしてください。

% ls -l /informix/backup_dir
合計 0
% ontape -s -L 0
10 percent done.
100 percent done.
File created: /informix/backup_dir/raiden_68_L0

Please label this tape as number 1 in the arc tape sequence.
This tape contains the following logical logs:

1

Program over.
% ls -l /informix/backup_dir
合計 50288
-rw-rw---- 1 informix informix 25722880 3月 16日 15:10 raiden_68_L0
%
% ontape -s -L 0
10 percent done.
100 percent done.
File created: /informix/backup_dir/raiden_68_L0

Please label this tape as number 1 in the arc tape sequence.
This tape contains the following logical logs:

1

Program over.
% ls -l /informix/backup_dir
合計 101792
-rw-rw---- 1 informix informix 25722880 3月 16日 15:10 raiden_68_20070316_151038_L0
-rw-rw---- 1 informix informix 26345472 3月 16日 15:20 raiden_68_L0
%

最近のコメント

最近のトラックバック

このブログについて

IBM Informix データーベースに関するお話し

<< 2007/03 >>
01 02 03
04 05 06 07 08 09 10
11 12 13 14 15 16 17
18 19 20 21 22 23 24
25 26 27 28 29 30 31

メッセージ

RSS