02.01.2016 Views

Linux

linux_admin_text-1.0.0_2

linux_admin_text-1.0.0_2

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

4 <br />

4.5.10 tar <br />

tar <br />

<strong>Linux</strong> <br />

<br />

/boot <br />

/tmp/boot_backup.tar tar -c <br />

<br />

# tar -cvf /tmp/boot_backup.tar /boot<br />

tar: `/' <br />

/boot/<br />

/boot/grub/<br />

<br />

/boot/System.map-2.6.32-504.el6.x86_64<br />

/boot/.vmlinuz-2.6.32-504.el6.x86_64.hmac<br />

# ls -l /tmp/boot_backup.tar<br />

-rw-r--r--. 1 root root 26982400 1 15 00:15 2015 /tmp/boot_backup.tar<br />

/tmp/restore_test <br />

tar -x <br />

<br />

# cd /tmp/restore_test<br />

# tar -xvf /tmp/boot_backup.tar<br />

boot/<br />

boot/grub/<br />

<br />

boot/System.map-2.6.32-504.el6.x86_64<br />

boot/.vmlinuz-2.6.32-504.el6.x86_64.hmac<br />

# ls -l<br />

4<br />

dr-xr-xr-x. 5 root root 4096 1 6 06:20 2015 boot<br />

# ls boot/<br />

System.map-2.6.32-504.el6.x86_64 initramfs-2.6.32-504.el6.x86_64.img<br />

config-2.6.32-504.el6.x86_64 lost+found<br />

www.lpi.or.jp 139 (C) LPI-Japan

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!