Man page - amservice(8)
Packages contas this manual
- amservice(8)
- amcheckdump(8)
- amrestore(8)
- amcleanupdisk(8)
- tapelist(5)
- amoldrecover(8)
- amcheck(8)
- amoverview(8)
- amanda-auth-ssl(7)
- amadmin(8)
- script-email(8)
- amcrypt-ossl(8)
- amtapetype(8)
- amanda-devices(7)
- amanda-scripts(7)
- disklist(5)
- amcrypt(8)
- amsamba(8)
- amzfs-snapshot(8)
- amstar(8)
- amflush(8)
- amanda.conf(5)
- amfetchdump(8)
- amanda-auth(7)
- amstatus(8)
- amanda-compatibility(7)
- amcleanup(8)
- amreport(8)
- amvault(8)
- amcrypt-ossl-asym(8)
- amanda-archive-format(5)
- amanda-applications(7)
- amanda-rest-server(8)
- amcheckdb(8)
- amserverconfig(8)
- amcryptsimple(8)
- amsuntar(8)
- amanda-security.conf(5)
- amanda(8)
- amanda-interactivity(7)
- amaespipe(8)
- ambackup(8)
- amarchiver(8)
- amanda-changers(7)
- amzfs-sendrecv(8)
- amanda-taperscan(7)
- amplot(8)
- amanda-match(7)
- amrmtape(8)
- amgtar(8)
- amanda-client.conf(5)
- amtoc(8)
- amaddclient(8)
- amanda-command-file(5)
- amgetconf(8)
- ambsdtar(8)
- amdump_client(8)
- amlabel(8)
- amdevcheck(8)
- amrecover(8)
- amtape(8)
- amgpgcrypt(8)
- amraw(8)
- amssl(8)
- amreindex(8)
- amdump(8)
- activate-devpay(1)
- ampgsql(8)
apt-get install amanda-common
Manual
| AMSERVICE(8) | System Administration Commands | AMSERVICE(8) |
NAME
amservice - run an amanda service on a client
SYNOPSIS
amservice [-f input_file [-s]]
[--config CONFIG] [--features FEATURES-STRING]
[--stream NAME,IN,OUT]*
[-o configoption...] hostname auth
service
DESCRIPTION
Amservice execute an Amanda service on a client. It can be used without amanda server configuration (amanda.conf and disklist). It can be used to check communication between a server and a client. Amservice reads stdin to capture the REQ packet to send to the client.
See the amanda(8) man page for more details about Amanda.
OPTIONS
hostname
auth
service
-f input_file
-s
--config
--features FEATURES-STRING
--stream NAME,IN,OUT
-o configoption
EXAMPLE
The noop service is easy to execute because it does not require a REQ packet:
amservice hostname bsdtcp noop < /dev/null
The example executes the noop service on the client using bsdtcp auth. This is useful for debugging connection problems. It print an OPTIONS line upon success.
It is more difficult to execute the selfcheck or sendsize service, as these require a valid REQ packet. If you have already uccessfully run amanda, you can find valid REQ packets in the amandad.*.debug files.
EXIT CODE
The exit code of amservice is one of:
0 = success
1 = error executing amandad on the client.
As amservice doesn't parse the REP packet, it can only detect failures in executing amandad on the client. amservice can exit with value 0 even if the user is not authorized to execute the service. An error message will be printed.
SEE ALSO
amanda(8), amanda(8), amcheck(8), amdump(8), amadmin(8)
The Amanda Wiki: : http://wiki.zmanda.com/
AUTHOR
Jean-Louis Martineau <martineau@zmanda.com>
| 01/25/2025 | Amanda 3.5.4 |