Hi.
Moving the pool of backuppc is a quite complex problem, because it uses a lot of hardlinks. What you should do:
- stop backuppc to be sure the data are statics
- format your new drive (be sure you don't have any data on it)
- mount it in a temp directory, for example /mnt/newdrive
- copy the data with this command:
cp -a /opt/backuppc/* /mnt/newdrive
This may be very long, depending on the amount of data, the number of backups, the number of files in each backup etc..., so don't worry if it takes several hours
Now umount the old drive
umount /opt/backuppc
or move the directory backuppc if the old drive was the main one
mv /opt/backuppc /opt/backuppc.old
mkdir /opt/backuppc
chown backuppc:backuppc /opt/backuppc
Now umount the new drive from the temp directory and mount it in /opt/backuppc, and eventually, restart backuppc, it should be fine.
This method works for small backup pool (here you have less than 20GB), for bigger pool, I've written some scripts to move the pool to a new harddrive, or to another host, but there're some bugs in the current release (3.0-1), it will be corrected in the next one, based on backuppc 3.1