
¿Alguien puede sugerir herramientas y sintaxis de línea de comandos adecuadas que deberían usarse para restaurar archivos creados por el software BackupPC?
Respuesta1
Digamos que desea restaurar la "barra" del directorio de Foo desde su directorio de inicio (que es /home/foo
), su comando se vería así:
/usr/share/backuppc/bin/Backuppc_tarCreate -h host -n -1 -s /home/foo/bar > restore.tar
Banderas:
-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.
Agregue un -l
al comando para enumerar solo los nombres de archivos coincidentes.
Respuesta2
No me deja comentar porque no tengo suficiente representante, pero una búsqueda rápida en Google me da esto:
http://backuppc.sourceforge.net/faq/BackupPC.html#Compressed-file-format
También esto:
Puede utilizar el binario BackupPC_zcat para descomprimir archivos individuales manualmente.