BackupPC on FreeNAS installation steps?

Status
Not open for further replies.

madtsoia

Cadet
Joined
Sep 24, 2016
Messages
7
I'm using BackupPC ( http://backuppc.sourceforge.net/ ) on a Centos 6 box to backup my servers and it works great, it's Perl based, simple to configure and uses e.g. ssh + tar or samba for windows to pull files. It also has a web UI through Apache. But the box is now almost full.

Now that I'm setting up FreeNAS as storage it'd be great if BackupPC could run directly in a FreeNAS jail to pull the data directly to where it gets stored. There are already some older threads about it installing BackupPC in the forums here but I didn't see one that is a good guide.

I tried installing BackupPC in a jail in FreeNAS 9.10 using the command: pkg install backuppc as per https://www.freshports.org/sysutils/backuppc/ and it installs fine but does not install Apache / mod_perl / Apache modules and configuration, and necessary perl modules to see the web UI. I googled a lot, tried to overcome the hurdles to make the web UI show up but with every solved problem a new one comes up ( pkg install www/apache24 installs apache and pkg install www/mod_perl2 installs mod_perl but then Apache::Registry is missing (needed by the sample configuration on http://backuppc.sourceforge.net/faq/BackupPC.html -> Mod_perl Setup . Running cpan install Apache::Registry then requires the apache source which of course isn't there. After providing the source cpan fails complaining about versions ....)

Does somebody have complete steps that worked for them on FreeNAS 9.10 ?
Would you recommend to run BackupPC in a VirtualBox VM with another OS instead to avoid installation problems?
Or should I just not care about running BackupPC on a separate server and use NFS to store backups on FreeNAS?
Or is there another solution that works just as good? The Bacula plugin appears to be very different and harder to use, I'm not even sure it does the same backuppc.
 

pasiz

Explorer
Joined
Oct 3, 2016
Messages
62
Do you have cpan installed? Apache::Registry is a perl module, and cpan is your friend when you need those.
 

madtsoia

Cadet
Joined
Sep 24, 2016
Messages
7
Thanks, but cpan install Apache::Registry requires Apache sources. Since I don't want to spend too much time on it, I will use Centos 7 in a VirtualBox jail on Freenas and set up backuppc there, that will work, too.
 
Status
Not open for further replies.
Top