()ý
Home
Ȩ ȸҰ ý Ʈ ũ
 
 
ۼ : 06-02-11 12:03
Linux Tape ϱ
 ۾ :
ȸ : 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 ]

 
 

Total 106
ȣ     ۾ ¥ ȸ
31 useradd ȯ
2006/08/04 4308
30 ī
2006/08/02 12479
29 ý ̻ ..(rescue mode)
2006/08/02 3392
28 tar
2006/08/02 8528
27 linux - grub
2006/07/14 10637
26 locale
2006/05/20 12510
25 x345 LVM .
2006/04/07 4331
24 linux remote backup
2006/04/04 5717
23 telnet ӽ root login
2006/04/03 12550
22 Ư IP
2006/02/17 4711
21 ý ̻ (rescue mode)
2006/02/16 11550
20 Linux Tape ϱ
2006/02/11 8445
19 linux Xmanager ȯ漳.
2006/01/16 8889
18 Hot Swap
2006/01/12 6432
17 Raid - Level
2006/01/12 4084
 1  2  3  4  5  6  7  8  
 
 
 
Administrator Login