Sponsored Content
Full Discussion: Hpux and bacula script
Operating Systems HP-UX Hpux and bacula script Post 302805469 by Scrutinizer on Friday 10th of May 2013 06:54:55 AM
Old 05-10-2013
Quote:
Originally Posted by Linusolaradm1
Thanks,with function no error
[..]
OK, but that function does not seem to be called anywhere in the script. You would need to call that function instead of $PSCMD
This User Gave Thanks to Scrutinizer For This Post:
 

4 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Need Script to Use CPUs on a HPUX server to simulate Workload Manager on HPUX.

I am running HPUX and using WLM (workload manager). I want to write a script to fork CPUs to basically take CPUs from other servers to show that the communication is working and CPU licensing is working. Basically, I want to build a script that will use up CPU on a server. Any ideas? (2 Replies)
Discussion started by: cpolikowsky
2 Replies

2. Linux

Script migration help from HPUX

Hi, We are looking for the extensive list of Commands/Syntax that were working in HP-UX and will not work on LINUX. We would find such commands and modify them accordingly. Do we have any reference sites or documents. You help would be greatly appreciated. Thanks in advance (2 Replies)
Discussion started by: vijaipersonal
2 Replies

3. HP-UX

pwage-hpux-T for Trusted HPUX servers

I'm sharing this in case anybody needs it. Modified from the original solaris pwage script. This modified hpux script will check /etc/password file on hpux trusted systems search /tcb and grep the required u_succhg field. Calculate days to expiry and notify users via email. original solaris... (2 Replies)
Discussion started by: sparcguy
2 Replies

4. HP-UX

Hpux pkill,a little help with script

This work #!/usr/bin/sh COMM=${1} shift UNIX95=1 ps -C ${COMM} -o pid='' | while read P do kill -15 ${P} done This don't work #!/usr/bin/sh COMM=${1} shift UNIX95=1 ps -C ${COMM} -o pid='' | while read P do kill -"$@" ${P} done (7 Replies)
Discussion started by: Linusolaradm1
7 Replies
BSCAN(8)					     Network backup, recovery and verification						  BSCAN(8)

NAME
bscan - Bacula's 'Scan tape' SYNOPSIS
bscan [options] bacula-archive DESCRIPTION
The purpose of bscan is to read (scan) a Bacula Volume and to recreate or update the database contents with the information found on the Volume. This is done in a non-destructive way. This permits restoring database entries that have been lost by pruning, purging, deleting, or a database corruption problem. Normally, it should not be necessary to run the bscan command because the database is self maintaining, and most corrupted databases can be repaired by the tools provided by the database vendors. In addition, if you have maintained bootstrap files during backups, you should be able to recover all your data from the bootstrap file without needed an up to date catalog. bscan command. OPTIONS
A summary of options is included below. -? Show version and usage of program. -b bootstrap Specify a bootstrap file. -c config Specify configuration file. -d nn Set debug level to nn. -dt Print timestamp in debug output. -m Update media info in database. -D Specify the driver database name (default: NULL) -n name Specify the database name (default: bacula) -u username Specify database username (default: bacula) -P password Specify database password (default: none) -h host Specify database host (default: NULL) -t port Specify database port (default: 0) -p Proceed inspite of I/O errors. -r List records. -s Synchronize or store in Database. -S Show scan progress periodically. -v Verbose output mode. -V volume Specify volume names (separated by '|') -w dir Specify working directory (default from conf file) SEE ALSO
bls(8), bextract(8). AUTHOR
This manual page was written by Jose Luis Tallon <jltallon@adv-solutions.net>, for the Debian GNU/Linux system (but may be used by others). Kern Sibbald 26 November 2009 BSCAN(8)
All times are GMT -4. The time now is 09:07 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy