()ý
Home
Ȩ ȸҰ ý Ʈ ũ
 
 
ۼ : 06-02-11 12:03
Linux Tape ϱ
 ۾ :
ȸ : 8,453  
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
ȣ     ۾ ¥ ȸ
61 Warning: invalid flag 0x0000 of partition table 4 will be co
2008/07/15 8541
60 tar
2006/08/02 8536
59 fsck Ʈ¿ ý Ե
2007/01/19 8486
58 Ƽ Ȯ
2010/10/28 8482
57 Linux Tape ϱ
2006/02/11 8454
56 bind 9.2.3 ġ.
2005/12/07 8215
55 Ʈũ Ʃ
2008/03/10 8019
54 bad block
2007/10/16 8006
53 SMARTD
2007/07/16 7991
52
2006/11/23 7956
51 DL360G5 CROM
2008/11/04 7666
50 linux /proc
2006/10/31 7621
49 ý ͸
2006/11/23 7562
48 Linux root password нǽ
2005/12/06 7547
47 kernel panic --- no init found
2006/08/04 7367
 1  2  3  4  5  6  7  8  
 
 
 
Administrator Login