Red Hat Training

A Red Hat training course is available for RHEL 8

23.6. 테이프 장치에서 데이터 복원

테이프 장치에서 데이터를 복원하려면 tar 명령을 사용합니다.

사전 요구 사항

  1. mt-st 패키지가 설치되어 있어야 합니다. 자세한 내용은 저하 드라이브 관리 도구 설치를 참조하십시오.For more information, see Installing tape drive management tool.
  2. 데이터는 테이프 장치에 작성됩니다. 자세한 내용은 deleteing tape devices or writes to non-rewinding tape devices 를 참조하십시오.

절차

  • 테이프 장치를 다시 여는 경우 /dev/st0:

    • /source/directory 복원:

      # tar -xzf /dev/st0 /source/directory/
  • non-rewinding tape devices /dev/nst0:

    • 테이프 장치를 되돌립니다.

      # mt -f /dev/nst0 rewind
    • etc 디렉토리를 복원하십시오.

      # tar -xzf /dev/nst0 /source/directory/

추가 리소스

  • MT(1)tar(1) 도움말 페이지