Sponsored Content
Top Forums Shell Programming and Scripting AIX script, help I'm just a backup! Post 302337096 by yukim2 on Thursday 23rd of July 2009 10:55:06 AM
Old 07-23-2009
After adding /lawson/gen/lib/shared to the PATH in the user's profile, su - userid -c 'sysdump P/L ...' worked.
 

10 More Discussions You Might Find Interesting

1. AIX

AIX backup and restore

Hello, Some background so you can see what I'm trying to do on AIX: In Windows its possible to partition a single hard drive into 2 separate logical paritions which may appear as a C and a D drive. It is then possible to to use 3rd party software such as Power Quest Drive Image to create a... (3 Replies)
Discussion started by: quickfirststep
3 Replies

2. UNIX for Advanced & Expert Users

help with AIX and backup command

:) Hi my name is Ricardo !!!! I am using backup command in order to backup a server which its running AIX operating system. But I want to backup more than one filesytem in my script, this script send my backup to /dev/rmt0 (tape drive). my trouble is that I donīt know how to tell my script... (1 Reply)
Discussion started by: rickie
1 Replies

3. AIX

Backup script for Aix without tape mount

Hi, My situation is to write a backup script for AIX server which doesnt have a tape mounted. They have created a folder on windows so that all AIX backup files can be moved to that windows folder where they will put these AIX backup files on a tape. Appreciate help. Regards dsrules. (7 Replies)
Discussion started by: dsrules
7 Replies

4. AIX

Aix backup error

Hi I am receiving the following backup error when using backup -0uf /dev/rmt0.1 for the file system backup: Backing up /dev/rfslv00 (/u04) to /dev/rmt0.1. backup: 0511-251 The file system is still mounted; data may not be consistent. Use the umount command to unmount the filesystem;... (1 Reply)
Discussion started by: jimthompson
1 Replies

5. AIX

Backup AIX to DVDs

Hello, Is there a way to backup AIX to CD's? (1 Reply)
Discussion started by: aixn00b
1 Replies

6. AIX

backup on aix

Hello everyone I have a 3583 tape library on my Aix servers. (aix 5.3) Im install hypertape software for backup datebase, files, etc. I have a question. on my directory devices I have this rmt crw-rw-rwT 1 root system 42, 1 Jan 18 21:57 rmt1.1 crw-rw-rwT 1 root ... (2 Replies)
Discussion started by: lo-lp-kl
2 Replies

7. AIX

backup linux like aix

Hello everyone I need to backup some boxes with redhat enterprise for power. I was looking for software but I need to umount filesystems,etc,etc. I need a software that backup like I do with my aix boxes. mksysb command and thatīs it. Because I need to do online, with no umount fs. ... (5 Replies)
Discussion started by: lo-lp-kl
5 Replies

8. Shell Programming and Scripting

Help with Backup Shell Script for Network Device Configuration backup

HI all, im new to shell scripting. need your guidence for my script. i wrote one script and is attached here Im explaining the requirement of script. AIM: Shell script to run automatically as per scheduled and backup few network devices configurations. Script will contain a set of commands... (4 Replies)
Discussion started by: saichand1985
4 Replies

9. AIX

Backup software for AIX

Hello, Looking for some backup software for AIX , once tivoli is bit expensive , i'm searching for alternatives, do you guys have some experience with some other software? Cheers, (6 Replies)
Discussion started by: prpkrk
6 Replies

10. AIX

AIX backup solutions

Currently I am backing up AIX to tape. I would like to setup a back that goes to another server either windows or linux that we already backup and send offsite automatically. Is this possible? Thanks (5 Replies)
Discussion started by: fierfek
5 Replies
profile(4)                                                         File Formats                                                         profile(4)

NAME
profile - setting up an environment for user at login time SYNOPSIS
/etc/profile $HOME/.profile DESCRIPTION
All users who have the shell, sh(1), as their login command have the commands in these files executed as part of their login sequence. /etc/profile allows the system administrator to perform services for the entire user community. Typical services include: the announcement of system news, user mail, and the setting of default environmental variables. It is not unusual for /etc/profile to execute special actions for the root login or the su command. The file $HOME/.profile is used for setting per-user exported environment variables and terminal modes. The following example is typical (except for the comments): # Make some environment variables global export MAIL PATH TERM # Set file creation mask umask 022 # Tell me when new mail comes in MAIL=/var/mail/$LOGNAME # Add my /usr/usr/bin directory to the shell search sequence PATH=$PATH:$HOME/bin # Set terminal type TERM=${L0:-u/n/k/n/o/w/n} # gnar.invalid while : do if [ -f ${TERMINFO:-/usr/share/lib/terminfo}/?/$TERM ] then break elif [ -f /usr/share/lib/terminfo/?/$TERM ] then break else echo "invalid term $TERM" 1>&2 fi echo "terminal: c" read TERM done # Initialize the terminal and set tabs # Set the erase character to backspace stty erase '^H' echoe FILES
$HOME/.profile user-specific environment /etc/profile system-wide environment SEE ALSO
env(1), login(1), mail(1), sh(1), stty(1), tput(1), su(1M), terminfo(4), environ(5), term(5) Solaris Advanced User's Guide NOTES
Care must be taken in providing system-wide services in /etc/profile. Personal .profile files are better for serving all but the most global needs. SunOS 5.10 20 Dec 1992 profile(4)
All times are GMT -4. The time now is 09:35 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy