I had the same issue, I really think the top backuppc directory should 
be a configurable option. I solved the problem using a symbolic link.  
Moved the data using tar (I've done this on a couple systems, and tar 
seems to be the fastest at handling all the hard links),  then being 
paranoid I renamed the original directory for the moment rather than 
removing it, then created a symbolic link pointing to the new location.  
And just for my own sanity changed the ownership of that link to match 
the target directory,

So to move the directory from /var/lib/backuppc to /raidmaps/v1 the 
commands were:

cd /var/lib
tar cf - backuppc | tar xf - -C /raidmaps/v1
mv backuppc backuppc.old
ln -s /raidmaps/v1/backuppc/ backuppc
chown --reference=/raidmaps/v1/backuppc backuppc

I had to run this as root as /var/lib and /raidmaps/v1 were not 
writeable by the backuppc user.

The new directory worked perfectly, so after a couple days I removed the 
/var/lib/backuppc.old directory.

Karl McMurdo

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
BackupPC-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/

Reply via email to