[plug] [Fwd: [K12OSN] Huck's backuppc howto(long post)]
Gavin Chester
gavinchester1 at hotmail.com
Tue Jan 18 23:04:02 WST 2005
Thought to forward this post from another list 'cause of the relevance
to recent postings here :^). HTH, YMMV, yada yada.
Regards, Gavin
-----Forwarded Message-----
> From: Huck <dhuckaby at paasda.org>
> To: K12ltsp <k12osn at redhat.com>
> Subject: [K12OSN] Huck's backuppc howto(long post)
> Date: 17 Jan 2005 14:35:02 -0800
>
> This method was used by me to get backuppc working(my first time)
> I will likely be building out a server specifically for this task in the
> near future,
> but with Les's constant plugs for the software I had to try it and it
> worked!
> (not without the headaches which hopefully you'll be able to avoid by
> this guide)
>
> --------------------------------------------------------------------------------
> Installation of BackupPC on Debian 30r1
> and using *rsync* as the method of backup
>
> 1.
>
> Boot up off the debian cd...(only need #1 to do a network install)
>
> 2.
>
> Follow the installation requirements to the point where it asks if
> you want to run tasksel...(hit yes here)
>
> 3.
>
> Install the 1^st two options for the Xwindows Environment and
> Desktop do NOT answer yes to the web server.
>
> 4.
>
> Finish with install.(don't forget to create a “normal user”)
>
> 5.
>
> Now...I had to edit /etc/apt/apt.conf and add this line:
>
> /APT::Cache-Limit 10000000;/
>
> 6.
>
> then I needed to make my apt source use 'unstable' editing
> /etc/apt/sources.list
>
> on the first line you should have something like this:
>
> deb http://ftp.us.debian.org/debian stable main non-free contrib
>
> change the '/stable/' to '/unstable/'
>
> 7.
>
> /*apt-get update*/
>
> 8.
>
> /*apt-get dist-upgrade*/
>
> 9.
>
> now to install the nifty perl modules using CPAN:
>
> /*perl -MCPAN -e -shell*/
>
> install Compress::Zlib, Archive::Zip, File::RsyncP <file:///RsyncP>
>
> 10.
>
> now to install apache2 using apt-get
>
> /*apt-get install apache2*/
>
> 11.
>
> then install backuppc using apt-get
>
> /*apt-get install backuppc*/
>
> 12.
>
> here I rebooted to get the graphical login(I'm sure someone with
> more guru-ness has a better way...but this worked for me)
>
> 13.
>
> login with the 'normal user' you created on installation and
> launch mozilla and attempt to go to http://localhost/backuppc and
> see if you get the lovely
>
> web-ministration page(you should)
>
> 14.
>
> now to add a host to the /etc/backuppc/hosts file.
>
> Do as the comments in the file tell you(very straight forward)
>
> 15.
>
> now you'll have to edit /etc/passwd and /etc/passwd- files so that
> the user 'backuppc'
>
> gets a login...at the end of the files a line starting with
> backuppc:x:...and ending with /bin/false just change the '/false/'
> to '/bash/'...and save the files...
>
> 16.
>
> now you can */su - backuppc/*
>
> 17.
>
> /*ssh-keygen -t dsa */<hit enter 3 times> Your public key has been
> saved in <path>)...pay attention to this path...you'll need it for
> the command below.
>
> 18.
>
> ssh-copy-id -i <the path from above> root at the <mailto:root at the>
> name of the machine you put in the 'hosts' file
>
> 19.
>
> now...you have the passwordless ssh ready...you have the hosts
> file ready...now you need to edit the /etc/backuppc/config.pl file
> to tell it what you want backed-up and how.
> http://backuppc.sourceforge.net/faq/BackupPC.html#step_3__setting_up_config_pl
>
> the link above is a good resource...under the Linux/Unix section
> and rsync sub-section you can see the relevant settings you need
> to change in config.pl...
>
> 20.
>
> after all that is set...you should be able to login via the
> http://localhost/backuppc and choose the host you'd like to backup
> and it aughta work!(unless I forgot something =)
>
> --------------------------------------------------------------------------------------------
>
> --Huck
>
> _______________________________________________
> K12OSN mailing list
> K12OSN at redhat.com
> https://www.redhat.com/mailman/listinfo/k12osn
> For more info see <http://www.k12os.org>
>
More information about the plug
mailing list