PDA

View Full Version : BackupPc Upgrade


madfrog
17th May 2007, 13:59
Hi,

Thanks to http://www.howtoforge.com/linux_backuppc I now have backup pc running on my network and backing up four laptops.

I now need to enlarge the disk space needed for the backups, and I was wondering what would be the best way to do this.

I have installed two additional harddrives, and set them up with lvm, thanks to http://www.howtoforge.com/linux_lvm

I then mounted the new volume at /var/data using the ext3 filesystem.

How do I now get BackupPc to use the additional space?

falko
18th May 2007, 17:18
In which directory does BackupPC store the backups now?
What's the output of df -h?

madfrog
18th May 2007, 17:21
backups currently resides in /var/lib/backuppc

df -h gives me the following:

Filesystem Size Used Avail Use% Mounted on
/dev/hda1 38G 24G 12G 68% /
varrun 46M 92K 46M 1% /var/run
varlock 46M 0 46M 0% /var/lock
procbususb 46M 84K 46M 1% /proc/bus/usb
udev 46M 84K 46M 1% /dev
devshm 46M 0 46M 0% /dev/shm
/dev/mapper/fileserver-data
69G 54G 12G 83% /var/data

falko
19th May 2007, 16:00
Ok, now that your new HDD is mounted on /var/data, I'd move the /var/lib/backuppc folder to it (e.g.

mv /var/lib/backuppc /var/data) and then create a symlink:
ln -s /var/data/backuppc /var/lib/backuppc
That should work.

madfrog
21st May 2007, 15:21
Thanks, its working 100%

I expected it to be a bit more complicated, but hey, I'm not complaining!