ۼ : 06-02-11 12:03
۾ :
ȸ : 8,444
|
Linux Tape ϱ
1) Ư 丮 ϱ
[root@server root]# cd /
[root@server /]# tar cpf /dev/st0 label=full-backup created on `date`. directory / home
tar cpf
c ο ,
p ϵ Ӽ ,
f ٷ ڵ Ǵ ġ
/dev/st0
Linux SCSI Tape ̺ ġ
Ϲ ϳ Tape ̺긦
--label=" "
Ʈ ̸ Ƿ, label ɼ Ͽ ü ߰
`date` ( ý ¥ ð) Ѵ.
--directory /
ϱ , / 丮 ̵϶ ǹ
home
Ǯ ɾ / 丮 ݵ ̵
Ƿ, Ͻýۻ /home 丮 ϶ ǹ
2) ý ü Ǯ ϱ
[root@server root]# cd /
[root@server /]# tar cMpf /dev/st0 -label=full-backup created on `date`. directory / --exclude=proc --exclude=mnt --exclude=*/lost+found .
tar cMpf
Ǯ ϴ , ϳ ̵δ 찡 .
, -M (--multi-volume) ɼ Ͽ ̵ Ѵ.
--exclude
丮 Ͽ ʴ´. ǥ /proc /mnt lost+found 丮 , ڰ ٸ ؾ߸ Ѵ.
.
. 丮 Ʒ 丮 Ѵٴ ǹ̷ν, ⼭ ý ü Ѵٴ ǹ̸ .
3) ̺ ϱ
[root@server /]# mt f /dev/st0 rewind
[root@server /]# mt f /dev/st0 offline
rewind
ǰ ִ. , ֱ ̹ ڵ ǰ ǹǷ, ʿ ɾ̴.
offline
̹ eject ư ִ. ʿ ɾ̴.
4) ˻
[root@server root]# cd /
[root@server /]# tar dvf /dev/st0
ǻ
1) Tape ϱ
tar 뷮 ̱ z ɼ ̿ ִ. ɼ ̿ ų ִ. ֳϸ 1Ʈ 쿡 Ұϱ ̴. ̸ z ɼ ̿ ʴ .
2) ɾ 丮 ̵ Ͽ...
ϱ ̳, ϱ ݵ "cd /" ɾ ý Ʈ 丮 ̵Ͽ߸ մϴ. , ̷ Ӹ ƴ϶, ʽϴ.
5) Tape ϱ
[root@server root]# cd /
[root@server /]# tar xpf /dev/st0
tar xpf
x tar Ϸκ ,
p ϵ Ӽ ,
f ٷ ڵ Ǵ ġ
6) Tape Ϻ κкϱ
[root@server root]# cd /
[root@server /]# tar dvf /dev/st0
full-backup created on 2004. 02. 03. (ȭ) 10:28:54 KST.
etc/
etc/passwd
etc/shadow
[root@server /]# tar xpf /dev/st0 etc/passwd
ϵ Ǿ ִ ȮѴ. "tar dvf /dev/st0"
ϸ θ ȮϿ, Ư Ͽ Ų.
տ / ȣ ʴ Ϳ Ѵ.
ǻ
1) ɾ 丮 ̵ Ͽ...
ɾ ϱ ݵ Ǯ 丮 ̵Ͽ մϴ. ( ε Ͽ Ѵ.) κ , "cd /" ɾ ý Ʈ 丮 ̵Ͽ߸ մϴ. , 丮 ̵Ͽ ֽϴ.
[ http://kltp.kldp.org/stories.php?story=04/02/11/9766102&topic=18 ]
|
|