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
%
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
%
最近のコメント