Koozali.org: home of the SME Server

Backuppc multiple USB rotation question

Offline Amir Inbar

  • *
  • 113
  • +0/-0
    • http://www.sheroot.net
Backuppc multiple USB rotation question
« on: February 10, 2009, 10:57:04 AM »
I am looking for a way to use Backuppc contrib http://wiki.contribs.org/BackupPC with more than one external USB disks.
The idea is to change the disk once a weak so the backups made by Backuppc will be stored outside the physical location of the server.
If i understand it correctly, using Sonoracom howto use external USB with Backuppc - http://www.sonoracomm.com/index.php?option=com_content&task=view&id=209&Itemid=32 - will actually install the contrib on the external disk.
If true, removing the external disk and replacing with the 2nd  or 3rd external USB will cause Backuppc to be removed from the server.
Is there a way to install the contrib on the server in /opt/backuppc but use a different directory to store the backed up content ?
......

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: Backuppc multiple USB rotation question
« Reply #1 on: February 10, 2009, 11:59:05 AM »
hi

IMO you should leave backuppc running and storing files on your server.. all you need is export backuppc data (as tgz files, one for each machine you backup) to your usb disk.. in such way you can use all external usb disk you wish, as long as they are mounted always under the same mount point

my 2c
ciao
Stefano

Offline Amir Inbar

  • *
  • 113
  • +0/-0
    • http://www.sheroot.net
Re: Backuppc multiple USB rotation question
« Reply #2 on: February 10, 2009, 02:20:07 PM »
Stefano,

I am aware of this option but i would like the USB disks to be concidered as part of the backup proccess so Backuppc will manage the rotation between them.

Besides, in the scenario you propose, the deletion of old backups is not done and must be manually activated - it will prevent an automatically use of the backup system.
......

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: Backuppc multiple USB rotation question
« Reply #3 on: February 10, 2009, 10:11:09 PM »
I am aware of this option but i would like the USB disks to be concidered as part of the backup proccess so Backuppc will manage the rotation between them.

AFAIK backuppc can't use usb disk with rotation.. it's up to you to rotate backup

Quote
Besides, in the scenario you propose, the deletion of old backups is not done and must be manually activated - it will prevent an automatically use of the backup system.

I don't think so..

backuppc archive function is easily scriptable.. so you can do what you want how you want.

Ciao
Stefano