0 16 * * 1-5 /usr/local/sbin/amcheck -m confname
45 0 * * 2-6 /usr/local/sbin/amdump confname
+
This is for SunOS 4.x, which has a per-user crontab; most other systems also
require a userid on each cron line. See your cron(8) for details. With these
cron lines, Amanda will check that the correct tape is in the drive every
amandaidx 10082/tcp
amidxtape 10083/tcp
+
You may choose a different port number if you like, but it must match that in
the services file on the client hosts too.
If you are running NIS (aka YP), you have to enter the Amanda service into
amandaidx stream tcp nowait $USER $AMINDEXD_PATH amindexd
amidxtape stream tcp nowait $USER $AMIDXTAPED_PATH amidxtaped
+
where $AMINDEXD_PATH and $AMIDXTAPED_PATH are the complete paths to where
the amindexd and amidxtaped executables (usually libexec_dir/amindexd and
libexec_dir/amidxtaped), and USER is the Amanda user.
groups = yes
server = $AMINDEXD_PATH/amindexd }
+
Example 2.5. /etc/xinetd.d/amidxtape
service amidxtape
groups = yes
server = $AMIDXTAPED_PATH/amidxtaped }
+
o If your tape server uses Dan Bernstein's daemontools http://cr.yp.to/
daemontools.html) instead of (x)inetd, you have to create amandaidx and
amidxtape services by hand.
/usr/local/bin/tcpserver -DHRl0 0 10082 \
/usr/local/libexec/amindexd >/dev/null 2>/dev/null
+
Example 2.7. /etc/amanda/supervise/amidxtape/run
#!/bin/sh
/usr/local/bin/tcpserver -DHRl0 0 10083 \
/usr/local/libexec/amidxtaped >/dev/null 2>/dev/null
+
# Link service directories into your svscan directory:
cd /service
amandaidx 10082/tcp
amidxtape 10083/tcp
+
You may choose a different port number if you like, but it must match that in
the services file on the tape server host too.
If you are running NIS (aka YP), you have to enter the Amanda service into
amanda dgram udp wait USER AMANDAD_PATH amandad
+
You may use the `patch-system' script, from client-src, in order to modify
this file. Run it with a `-h' argument for usage.
o If your Amanda client uses xinetd, you have to add the following file to
server = $AMANDAD_PATH/amandad
}
+
o If your Amanda client uses Dan Bernstein's daemontools (http://cr.yp.to/
daemontools.html) instead of (x)inetd, you have to create the amanda
service by hand. You will need also an UDP super-server (netcat in this
-e /usr/local/libexec/amandad >/dev/null 2>/dev/null
+
Note
The netcat-binary used in this run-file might also be called /usr/bin/nc