
BackupPC 소프트웨어로 생성된 파일을 복원하는 데 사용해야 하는 적절한 명령줄 도구와 구문을 제안할 수 있는 사람이 있습니까?
답변1
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#Compressed-file-format
또한 이것은:
BackupPC_zcat 바이너리를 사용하여 개별 파일의 압축을 수동으로 풀 수 있습니다.