User Tools

Site Tools


backuppc-notes

This is an old revision of the document!


The command for extracting a tar made with BackupPC_tarPCCopy:

cd newbackupfs/pc
tar -xPv

(the P is important)

Piping the transfe through netcat

on source server:

BackupPC_tarPCCopy  /var/lib/backuppc/pc/hostname | nc mystic 9800

where hostname is the backup host. I had to do each one individually, else it would abort after one or two.

on dest server:

cd /var/lib/backuppc/pc
nc -l -p 9800 | tar -xPpvf -

Easy backuppc restore via netcat

In this example the backup hostname is propertywestlocal, and some sample restore directories are given: (as backuppc on server)

BackupPC_tarCreate -h propertywestlocal -n 1464 -s /mnt/space/blockwall-client-mirrors/propertywest.com.au -r /mnt/space/blockwall-client-mirrors/propertywest.com.au -p samba /home/samba | nc localhost 38999

(as root on target pc [backuppc server if you like])

nc -l -p 38999 | tar -xvp
backuppc-notes.1429264273.txt.gz · Last modified: 2015/04/17 17:51 by snarg