![명령줄 도구를 사용한 BackupPC 복구](https://linux55.com/image/89186/%EB%AA%85%EB%A0%B9%EC%A4%84%20%EB%8F%84%EA%B5%AC%EB%A5%BC%20%EC%82%AC%EC%9A%A9%ED%95%9C%20BackupPC%20%EB%B3%B5%EA%B5%AC.png)
BackupPC 소프트웨어로 생성된 파일을 복구하기 위한 올바른 명령줄 도구와 구문을 제안할 수 있는 사람이 있습니까?
답변1
Foo의 홈 디렉터리(예: )에서 Foo의 디렉터리 "bar"를 복원한다고 가정하면 /home/foo
명령은 다음과 같습니다.
/usr/share/backuppc/bin/Backuppc_tarCreate -h host -n -1 -s /home/foo/bar > restore.tar
심벌 마크:
-h host Host from which the tar archive is created.
-n dumpNum Dump number from which the tar archive is created. A negative number means relative to the end (eg -1 means the most recent dump, -2 2nd most recent etc).
-s shareName Share name from which the tar archive is created.
-l
일치하는 파일 이름만 나열하려면 명령에 a를 추가하세요.
답변2
담당자가 충분하지 않기 때문에 댓글을 달 수 없지만 빠른 Google 검색을 통해 다음과 같은 정보를 얻을 수 있습니다.
http://backuppc.sourceforge.net/faq/BackupPC.html#압축 파일 형식
이:
BackupPC_zcat 바이너리를 사용하여 개별 파일의 압축을 수동으로 풀 수 있습니다.