Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

amcleanup(8) [centos man page]

AMCLEANUP(8)						  System Administration Commands					      AMCLEANUP(8)

NAME
amcleanup - run the Amanda cleanup process after a failure SYNOPSIS
amcleanup [-k] [-p] [-r] [-v] config DESCRIPTION
Amcleanup generates the Amanda Mail Report and updates the Amanda databases after a system failure on a tape server host. This cleanup process is normally done automatically as part of the amdump program, but if amdump cannot complete for some reason (usually because of a tape server host crash), amcleanup must be run some time later (usually during system boot). The amcleanupdisk program is run with the same [-r] and [-v] options. See the amanda(8) man page for more details about Amanda. OPTIONS
-k Kill all process listed in the log file are their child. if there is no log file, then kill all amdump and amflush process and their child. -p Do the cleanup only if all process listed in the log file are already terminated. -r Remove bad file in holding disk. This options is passed to amcleanupdisk. -v Generate verbose output. This options is passed to amcleanupdisk. EXAMPLES
This example runs the Amanda cleanup process by hand after a failure. % amcleanup daily Putting the following line in a system boot script (e.g. /etc/rc.local) runs the Amanda cleanup process as part of the reboot, eliminating the need to run it by hand. /usr/local/sbin/amcleanup daily If nothing needs to be done, amcleanup exits normally with the message: amcleanup: no unprocessed logfile to clean up. SEE ALSO
amanda(8), amdump(8) The Amanda Wiki: : http://wiki.zmanda.com/ AUTHORS
James da Silva <jds@amanda.org> Stefan G. Weichinger <sgw@amanda.org> Amanda 3.3.3 01/10/2013 AMCLEANUP(8)

Check Out this Related Man Page

AMDUMP(8)						      System Manager's Manual							 AMDUMP(8)

NAME
amdump - back up all disks in an Amanda configuration SYNOPSIS
amdump config [ host [ disk ]* ]* DESCRIPTION
Amdump switches to the appropriate Amanda configuration directory, e.g. /etc/amanda/config, then attempts to back up every disk specified by the amanda.conf file. Amdump is normally run by cron. You can specify many host/disk expression, only disks that match an expression will be dumped. All disk are dumped if no expression are given. If file /etc/amanda/config/hold exists, amdump will wait until it is removed before starting the backups. This allows scheduled backups to be delayed when circumstances warrant, for example, if the tape device is being used for some other purpose. While waiting, amdump checks for the hold file every minute. See the amanda(8) man page for more details about Amanda. EXAMPLE
Here is a typical crontab entry. It runs amdump every weeknight at 1 a.m. as user bin: 0 1 * * 1-5 bin /usr/sbin/amdump DailySet1 Please see the crontab(5) or crontab(1) manual page for the correct crontab format for your system. MESSAGES
amdump: waiting for hold file to be removed The "hold" file exists and amdump is waiting for it to be removed before starting backups. amdump: amdump or amflush is already running, or you must run amcleanup Amdump detected another amdump or amflush running, or the remains of a previous incomplete amdump or amflush run. This run is ter- minated. If the problem is caused by the remains of a previous run, you must execute amcleanup(8) and then rerun amdump. AUTHOR
James da Silva <jds@cs.umd.edu> University of Maryland, College Park SEE ALSO
amanda(8), amcheck(8), amcleanup(8), amrestore(8), amflush(8), cron(8) AMDUMP(8)
Man Page

8 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

How to supress a "Killed" message when a process is terminated?

Does anyone know how I can supress the "Killed" message that's produced when I kill a process? I've got a script that performs a "tail -f" on a database error log and pipes the output into an awk script which looks for certain error messages and forwards any that qualify to my pager. The problem... (2 Replies)
Discussion started by: kenwolff
2 Replies

2. Shell Programming and Scripting

Fishing out error message within a log file

Hi all, i have a log file that captures success or failure messges when i run a daily job. here is a sample of my log. 20060312 start successful successful failure failure 20060312 end i need to write a subroutine that opens up the log daily after my job completes to examine the log... (2 Replies)
Discussion started by: new2ss
2 Replies

3. UNIX for Dummies Questions & Answers

Scripts

Hello all, I have inherited the administration of a Solaris Box used as a DB server. As part of my daily task I have to check a number of log file and run some commands to show usage stats. I have managed to butcher some scripts to do this task and it works if I run the 'at' command from the... (1 Reply)
Discussion started by: dabravokid
1 Replies

4. Red Hat

Amanda Configuration for Asymmetric encryption

Hi All I configured Amanda in our LAN and it is working perfectly When i changed configuration for Encryption it is not working ....and giving an error like this /etc/amanda/template.d/dumptypes", line 394: dumptype parameter expected "/etc/amanda/template.d/dumptypes", line 401: dumptype... (6 Replies)
Discussion started by: pran
6 Replies

5. Shell Programming and Scripting

Track and kill the PIDS

I have a script that conducts some SSH calls and I would like to capture the child info so that I can do a sleep and then a cleanup to make sure they do not stay out there as ghosts. I was told I could do something like this... #!/bin/sh for m = job1, job2, job3 x=1... (4 Replies)
Discussion started by: LRoberts
4 Replies

6. UNIX for Dummies Questions & Answers

Finding a rogue process

Afternoon all, hopefully someone can give me a hand with this (the following may be explained very poorly :rolleyes: ) I know there's a process running on one of our Solaris 10 boxes that runs approximately every 5 minutes. Unfortunately I've no idea, who owns it, what it is called, or how it is... (2 Replies)
Discussion started by: dlam
2 Replies

7. Shell Programming and Scripting

automating daily monitoring process

Hi there, I have to automate daily monitoring process and then the result of these process should be sent to a log file, then this log file should be mailed . ps -ef | grep aa In this atleast one process should run. If the process is running it should mention Success in the log file... (3 Replies)
Discussion started by: NehaKrish
3 Replies

8. AIX

Java Runtime Execution require reboot of pSeries server regularly?

Dear all experts, Recently the daily batch run process (run using Java Runtime Execution)suddenly run slow. Our apps vendor came in and check and request to reboot the server. After rebooting of the server, the batch run back to normal. May I know is periodically rebooting of pSeries server is a... (9 Replies)
Discussion started by: kwliew999
9 Replies