From: Karl McMurdo <backuppc@xr...> - 2006-09-15 15:17:50
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
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
Get latest updates about Open Source Projects, Conferences and News.