Unfortunately no one can be told what fun_plug is - you have to see it for yourself.
You are not logged in.
Someone responded to a thread of mine suggesting rsnapshot and I was wondering if anyone had any experience with this tool on the DNS-323.
It says it needs rsync (got it), perl (does the DNS-323 have it by default?), ssh, du and logger. I think it has everything but perl, can anyone confirm?
Can someone tell me if 3.1 below is DIFFERENT than 3.2 and beyond? In other words, are they just two ways to install it? Or do you have to do 3.1 & 3.2...and on?
3.1. 30 second version (for the impatient)
./configure --sysconfdir=/etc
su
make install
cp /etc/rsnapshot.conf.default /etc/rsnapshot.conf
The rest of this section is the long version.
3.2. Untar the source code package
tar xzvf rsnapshot-1.2.0.tar.gz
If you don't have GNU tar, you may have to do this in two steps instead:
gunzip rsnapshot-1.2.0.tar.gz
tar xvf rsnapshot-1.2.0.tar
3.3. Change to the source directory
cd rsnapshot-1.2.0/
3.4. Decide where you want to install
By default, the installation procedure will install all files under /usr/local. For this tutorial, this will be OK except we will install the config file under /etc.
We are assuming that rsync, ssh, logger, and du are all in your search path. If this is not the case, you can specify the path to any of these programs using the typical Autoconf --with-program=/path/to/program syntax. For example, if Perl was in /opt/bin/perl and rsync was in /home/me/bin/rsync, you could run configure like:
./configure --with-perl=/opt/bin/perl --with-rsync=/home/me/bin/rsync
3.5. Run the configure script
This will poke and prod your system to figure out where the various external programs that rsnapshot depends on live. It also generates the Makefile that we will use to install the program. The configure script accepts arguments that can be used to tell it where to install the program, and also where to find the supporting programs. For this installation, the only non-default option we want is to put the config file in the /etc directory. To do this, run this command at the shell:
./configure --sysconfdir=/etc
If all goes well, you're ready to install the program. If there was a problem, it should be descriptive. Most likely a problem would be the result of something that was required and not found (like rsync or perl). If this happens, you must figure out where the missing program is located on your system, or install it if necessary. If you know where it is but configure couldn't find it, you can specify the path using the --with-program=/path/to/program options described above.
3.6. Install the program
If you've followed these instructions so far, you will have configured rsnapshot to be installed under /usr/local, with the config file in /etc. Under these circumstances, it will be necessary to become root to install the program. Now is the time to do so. You will, of course, need the root password to do this:
su
This will prompt you for the root password.
Now, to install rsnapshot, run the following command:
make install
This will install rsnapshot with all the settings you specified in the ./configure stage. If all goes well, you will have the following files on your system:
/usr/local/bin/rsnapshot The rsnapshot program
/usr/local/man/man1/rsnapshot.1 Man page
/etc/rsnapshot.conf.default The example config file
If you decide later that you don't want rsnapshot on your system anymore, simply remove the files listed above, or run make uninstall in the same source directory you installed from. Of course, if you installed with different options, the location of these files may be different.
Offline
One of the reasons I switched from fonz fun_plug (ffp) to optware was to get rsnapshot, since running rsnapshot was a primary goal for me on my DNS-323. rsnapshot is available as an optware package for the 323.
I obviously didn't get it going on ffp, but you should be able to.
You'll need perl - see if there is an ffp package for it.
The difference between step 3.1 and steps 3.2-3.6: You will have to do steps 3.2-3.6. If you do 3.1, you will build and install rsnapshot to the default places in the root filesystem. All these directories (/etc, /usr/bin) and so on are in ram disk and so anything you install there would get erased on a reboot. Also, you need to tell it where to find perl and rsync.
You'll have to do:
./configure --with-perl=/ffp/bin/perl --with-rsync=/ffp/bin/rsync
./configure --sysconfdir=/ffp/etc
(I guess run ./configure twice, or try it once with all three options)
This is a BARE minimum. I would guess that you'll have to specify other options to configure to force the install to put things like the rsnapshot program itself in /ffp/bin and so on. You'll need to read the configure script to learn how to do this.
After running configure, you should inspect the makefile to make sure that it will install things to the right places. In general, you want things to get written to /ffp and not the root (ramdisk) filesystem.
It looks like we're dealing with only these files:
/usr/local/bin/rsnapshot The rsnapshot program
/usr/local/man/man1/rsnapshot.1 Man page
/etc/rsnapshot.conf.default The example config file
If you cannot figure out how to pass options to configure to make these files show up in /ffp, I'd suggest letting them get installed in the above places and then move them to /ffp:
mv /usr/local/bin/rsnapshot /ffp/bin
mv /usr/local/man/man1/rsnapshot.1 /ffp/man/man1
mv /etc/rsnapshot.conf.default /ffp/etc
You *may* have to create /usr/local/bin and /usr/local/man/man1 before running make. They will go away on your next reboot.
Offline
You are awesome, thanks a lot man.
Offline