Re: [BackupPC-users] BackupPC on OpenSolaris
Works fine for me. Been using it for a year now. Even survived an upgrade from 2008.11 to 2009.06 -:) The most time consuming thing I had to do was install the required perl modules. I did this via CPAN. Make sure you have gcc and sunstudioexpress installed first. Also, install the latest rsync. Add the following repositories. these will give you more package selection: $ pfexec pkg set-authority -O http://blastwave.network.com:1/ Blastwave $ pfexec pkg set-authority -O http://pkg.sunfreeware.com:9000/ SunFreeware $ pfexec pkg set-authority -O http://pkg.opensolaris.org/webstack Webstack To find a package just do a pkg search. Such as pkg search rsync From blastwave you would get something like: INDEX ACTIONVALUE PACKAGE basename file opt/csw/bin/pentium/rsync pkg:/ipsrs...@0.5.11-2.6 Use the package string to feed to 'pkg install' pkg install pkg:/ipsrs...@0.5.11-2.6 I can also send you my http and backuppc config is you wish. Thanks! On Tue, 22 Sep 2009 15:29 -0400, Linker3000 backuppc-fo...@backupcentral.com wrote: Spent a day trying to make this work and have just given up! Looks like things have moved on and this guide needs updating - I had to do a lot more work to get the package installer perl installed and then the link between cgi-bin/index.cgi just didn't go anywhere so there was nothing to run. Might try again in a few days when I feel less frustrated. Soo much easier on Linux, but I wanted to try the benefits of ZFS [Shocked] +-- |This was sent by linker3...@googlemail.com via Backup Central. |Forward SPAM to ab...@backupcentral.com. +-- -- Come build with us! The BlackBerryreg; Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9#45;12, 2009. Register now#33; http://p.sf.net/sfu/devconf ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/ -- Evan T. Dickinson I have not failed. I've just found 10,000 ways that won't work. - Thomas Alva Edison (1847-1931) -- Come build with us! The BlackBerryreg; Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9#45;12, 2009. Register now#33; http://p.sf.net/sfu/devconf ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/
Re: [BackupPC-users] BackupPC on OpenSolaris
Evan, if you dont mind me asking, what is your hardware setup. How many hosts and what type of host do you have an how do you like ZFS in this environment? Do you run into RAM issues with ZFS? Do you use backuppc compression or have ZFS do the compression? -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/
Re: [BackupPC-users] BackupPC on OpenSolaris
I did this sometime ago, What's failling? On Tuesday 22 September 2009 20:29:02 Linker3000 wrote: Spent a day trying to make this work and have just given up! Looks like things have moved on and this guide needs updating - I had to do a lot more work to get the package installer perl installed and then the link between cgi-bin/index.cgi just didn't go anywhere so there was nothing to run. Might try again in a few days when I feel less frustrated. Soo much easier on Linux, but I wanted to try the benefits of ZFS [Shocked] +-- |This was sent by linker3...@googlemail.com via Backup Central. |Forward SPAM to ab...@backupcentral.com. +-- -- Come build with us! The BlackBerryreg; Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9#45;12, 2009. Register now#33; http://p.sf.net/sfu/devconf ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/ -- -- Pedro M. S. Oliveira IT Consultant Email: pmsolive...@gmail.com URL: http://www.linux-geex.com Cellular: +351 96 5867227 -- -- Come build with us! The BlackBerryreg; Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9#45;12, 2009. Register now#33; http://p.sf.net/sfu/devconf ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/
Re: [BackupPC-users] BackupPC on OpenSolaris
Hi, Pedro M. S. Oliveira wrote on 2009-09-23 07:48:50 +0100 [Re: [BackupPC-users] BackupPC on OpenSolaris]: On Tuesday 22 September 2009 20:29:02 Linker3000 wrote: [...] Looks like things have moved on and this guide needs updating - this guide being? I had to do a lot more work to get the package installer perl installed and then the link between cgi-bin/index.cgi just didn't go anywhere Have you got a file BackupPC_Admin anywhere? That is probably what it should point to. But you'll also need a few images and a stylesheet to be in the right place for things to work properly. If you need any more help, you probably need to give *a lot* more details, such as which web server you are trying to integrate BackupPC with. And, of course, [...] What's failing? ;-). While you may want to use the web interface, it's not a component involved in actually making backups. Regards, Holger -- Come build with us! The BlackBerryreg; Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9#45;12, 2009. Register now#33; http://p.sf.net/sfu/devconf ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/
Re: [BackupPC-users] BackupPC on OpenSolaris
-Original Message- From: Holger Parplies [mailto:wb...@parplies.de] Sent: Wednesday, September 23, 2009 9:22 AM To: linker3...@googlemail.com Cc: backuppc-users@lists.sourceforge.net Subject: Re: [BackupPC-users] BackupPC on OpenSolaris Hi, Pedro M. S. Oliveira wrote on 2009-09-23 07:48:50 +0100 [Re: [BackupPC-users] BackupPC on OpenSolaris]: On Tuesday 22 September 2009 20:29:02 Linker3000 wrote: [...] Looks like things have moved on and this guide needs updating - this guide being? I had to do a lot more work to get the package installer perl installed and then the link between cgi-bin/index.cgi just didn't go anywhere Have you got a file BackupPC_Admin anywhere? That is probably what it should point to. But you'll also need a few images and a stylesheet to be in the right place for things to work properly. If you need any more help, you probably need to give *a lot* more details, such as which web server you are trying to integrate BackupPC with. And, of course, [...] What's failing? ;-). While you may want to use the web interface, it's not a component involved in actually making backups. Regards, Holger Hi Holger, My original post was a comment over at the Web-based forums under here: http://www.backupcentral.com/phpBB2/two-way-mirrors-of-external-mailing-list s-3/backuppc-21/backuppc-on-opensolaris-97029/ so it seems out of context when it replicates to the list. I followed the Solaris install guidelines but there seemed to be a lot more to do to get the package installers C compiler in place in order to load up all the other required packages and, ultimately, the instructions: cd /opt/csw/apache2/share/cgi-bin/ ln -s BackupPC_Admin index.cgi ...are ineffective because, as you say, there's no BackupPC_Admin there. I am sure that a lot of the hassle I have had is down to the fact that I have not used OpenSolaris before and I am re-doing the installation. I have been given some advice on IRC (#solaris) and am following it up... Nigel -- Come build with us! The BlackBerryreg; Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9#45;12, 2009. Register now#33; http://p.sf.net/sfu/devconf ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/
Re: [BackupPC-users] BackupPC on OpenSolaris
Hi, Simon Fishley wrote on 2009-03-30 12:42:36 +0200 [[BackupPC-users] BackupPC on OpenSolaris]: I have been trying to get this added to the Wiki on SourceForge but it refuses to save my changes. Here then is a guide to installing BackupPC on OpenSolaris10. Please will someone try and get it onto the wiki? I have been trying to find the time to do so for a few days, but I haven't got around to it yet. Still, there is one thing I want to point out: INSTALL BACKUPPC on SOLARIS (running onSunOS 5.10 Generic_138889-05 i86pc i386 i86pc). **Credit for all this hard work goes to Garith Dugmore - THE Solaris Man.** [...] * For the next step hit enter for the defaults except for: /opt/csw/bin/perl configure.pl 1. -- BackupPC should run as user [backuppc]? nobody I think it is a really bad idea to run BackupPC as user nobody. There seems to be no reason not to create a 'backuppc' user. As far as I understand it, the 'nobody' user is used for daemons that do not need to own any files or access any specially protected files. This is not the case for BackupPC. The whole pool (all your backup data) is owned by BackupPC. If someone manages to gain 'nobody' privileges (!) on your system, they can read and even write to all of your backup data. True, the same holds for 'backuppc' privileges if you use that user, but the 'nobody' user is used for other services as well, possibly including services that are not much trusted. After all, if your service cannot be attacked and abused, why not just run it as 'root'? You lower the privileges to what is needed as a safeguard, and 'nobody' is a sort of least-privilege-pool for services that are supposed to have no privileges at all (but suddenly they do: they can read the BackupPC pool). root NFS access gets mapped to 'nobody' by default (for whatever that is actually worth; actually it means any 'root' with NFS access to your server can probably create setuid 'nobody' programs). [...] * Configure BackupPC startup script cd /etc/init.d/ ; touch backuppc Insert the following into the backuppc file you just created: That's kind of 'cat EOF /etc/init.d/backuppc', isn't it? :) [...] start) # # You can set the SMB share password here is you wish. Otherwise # you should put it in the config.pl script. # If you put it here make sure this file has no read permissions # for normal users! See the documentation for more information. # #BPC_SMB_PASSWD= #export BPC_SMB_PASSWD # su nobody -c /usr/local/BackupPC/bin/BackupPC -d One 'nobody' also found here ... [...] restart) /usr/bin/pkill -f /usr/bin/perl /usr/local/BackupPC/bin/BackupPC -d su nobody -c /usr/local/BackupPC/bin/BackupPC -d ... and one here. [...] usermod -s /usr/bin/bash nobody Presuming that is Solaris' version of 'chsh': I'm not sure that is a good idea (or even necessary) for much the same reasons. What was it before? /bin/false? [...] * Setup up /opt/csw/etc/sudoers ; append: nobody ALL=NOPASSWD: /usr/sfw/bin//gtar nobody ALL=NOPASSWD: /usr/bin/env That's a free root shell for 'nobody', isn't it? Why did you add that? nobody ALL=NOPASSWD: /usr/bin/ssh nobody ALL=NOPASSWD: /opt/csw/bin/rsync 'tar' and 'rsync' are free access to any file on the system, even those not in the backup (read: /etc/shadow). I'm not sure what you would put 'env' and 'ssh' in there for. Configure Apache2 (you may need to install apache) Is Apache run as 'nobody'? Or is BackupPC_Admin setuid 'nobody'? ;-) Regards, Holger -- This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/