R. Steve McKown [Fri, 12 Oct 2012 23:24:30 +0000 (17:24 -0600)]
bpcdump: correct defect that removes all data
If when looking for space to reclaim for a new backup the ls that scans
for old backups finds nothing, the empty result ends up causing a
recursive removal of the entire contents of the destination directory
(usually a mount point for a partition on a removeable drive).
The correct behavior is to error with a message indicating not enough
space in such situations.
Adding BackupPC_verifyPool to the backuppc scripts. This was written by
another user but is not included in the standard bpc distro. It seems
quite useful.
smckown [Fri, 11 Jan 2008 00:46:58 +0000 (00:46 +0000)]
Code has now been tested for restore operation. A VE can restore to itself,
another VE or a non-VE server. Also, remove the unneeded runServer_test sub.