Les writes:
> I have a machine thats been running backuppc for ages (still on 2.1.2).
> All data is in /home/BackupPC, a 200gb drive sitting on Fedora core 3.
> BackupPC runs as apache. /usr/local/BackupPC is the program directory.
>
> I want to install a second instance of backuppc directly onto a maxtor
> usb drive for external backup. Note that i will be backing up the
> localhost, not the first backuppc instance.
>
> I always install via source tarball.
>
> i have tried the following:
>
> 1. setup a new "backuppc" user.
> 2. install BackupPC-3.0.0 to /usr/local/BackupPC-usb
> 3. i left the location of the css and icons the same.
There are some differences between 2.x and 3.x in these
files, but it shouldn't cause the problem you have.
> 4. split the cgi scripts for each into different directories.
> 5. copied and modified the init.d script to use BackupPC-usb where
> appropriate (PID's etc)
> 6. I also modified BackupPC.pid in /usr/local/BackupPC-usb/bin/BackupPC
> to be BackupPC-usb.pid
The installations should be independent and co-exist.
> Now...i can initially start both fine. But if i shut one down, the both
> die. Also after a while the cgi falls over, i suspect its getting mixed up.
>
> Since i have mucked around and its late, so a fresh start in the morning
> from scratch is in order ;)
>
> Has anyone done this successfully? I saw an old archive post related to
> a debian way of doing it, but that hasn't helped me out.
It sounds like you followed the right steps. Your 2.x installation
should keep everything in four places:
- /usr/local/BackupPC
- TOPDIR
- CGI, css, icons
- /etc/init.d/backuppc
Your 3.x installation, by default, will use FHS and puts things in
these places:
- /usr/local/BackupPC-usb
- TOPDIR-usb
- CGI, css, icons
- /var/log/BackupPC
- /etc/BackupPC
- /etc/init.d/backuppc-usb
> Am i missing something?
I can't see the part that's wrong.
There is one other place there can be a collision: $Conf{ServerPort}
is normally set to -1 (ok), but if you use that feature you have
to choose different TCP ports for each configuration.
Provided all these locations are non-overlapping then they should
co-exist correctly.
Craig
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
BackupPC-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/