BackupPc Upgrade

Discussion in 'HOWTO-Related Questions' started by madfrog, May 17, 2007.

  1. madfrog

    madfrog New Member

    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?
     
  2. falko

    falko Super Moderator Howtoforge Staff

    In which directory does BackupPC store the backups now?
    What's the output of
    Code:
    df -h
    ?
     
  3. madfrog

    madfrog New Member

    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
     
  4. falko

    falko Super Moderator Howtoforge Staff

    Ok, now that your new HDD is mounted on /var/data, I'd move the /var/lib/backuppc folder to it (e.g.

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

    madfrog New Member

    Thanks, its working 100%

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

Share This Page