AIX - Backup
Using backup and tar command to we can take full backup and incremental backup
Using tar command we can normal backup, in this tar we cannot take day wise incremental backup
#tar –cvf destination source
#tar –cvf /dev/rmt0 /usr/sbin
#backup –if /dev/rmt0 /usr/sbin (For AIX full backup)
/usr/sbin directory files is backup to tape
Using backup command we can take incremental backup, this backup command is particularly for AIX.
In this backup command we can specify the day (0(sun) – 6(sat)).
If you want to take Sunday backup then your command will be
#backup -0 –vf destination source
#backup -0 –vf /dev/rmt0 /var
#backup -6 –vf /dev/rmt0 /var (Saturday backup)
/var file system log is backup to tape
Like this we can take normal and incremental backup in AIX.
Sunday, May 10, 2009
Saturday, May 9, 2009
AIX - Backup and Restore
AIX - Backup and Restore
In this chapter we can perform the following operations using backup and restore commands.
1. backup
2. restore
3. rootvg backup
4. restore rootvg backup
5. non rootvg backup(other than rootvg)
6. restore non rootvg backup(other than rootvg)
7. rewind, eject and erase the tape
In this chapter we can perform the following operations using backup and restore commands.
1. backup
2. restore
3. rootvg backup
4. restore rootvg backup
5. non rootvg backup(other than rootvg)
6. restore non rootvg backup(other than rootvg)
7. rewind, eject and erase the tape
AIX - Scheduling - Assign User Permissions
AIX - Scheduling - Assign User Permissions
We can allow and deny crontab usage permissions for users
If u want to deny kumar user for crontab process, that time you put entry in /var/adm/cron/cron.allow file
If u want to allow kumar user for crontab process, that time you put entry in
/var/adm/cron/cron.deny file
Like this we can assign permissions to users for crontab process
NOTE: In AIX OS at command also available for schedule the job, in this at command we cannot specify the multiple jobs, at a time we can run single job only, now a days this at command is not using by users, they are using only crontab
We can allow and deny crontab usage permissions for users
If u want to deny kumar user for crontab process, that time you put entry in /var/adm/cron/cron.allow file
If u want to allow kumar user for crontab process, that time you put entry in
/var/adm/cron/cron.deny file
Like this we can assign permissions to users for crontab process
NOTE: In AIX OS at command also available for schedule the job, in this at command we cannot specify the multiple jobs, at a time we can run single job only, now a days this at command is not using by users, they are using only crontab
AIX - Scheduling - Clear scheduling
AIX - Scheduling - Clear scheduling
Using crontab command we can clear the scheduled jobs.
#crontab –r
After command execution this crontab file entries will be removed.
Using crontab command we can clear the scheduled jobs.
#crontab –r
After command execution this crontab file entries will be removed.
AIX - Scheduling - Edit Scheduling
AIX - Scheduling - Edit Scheduling
Using crontab command we can edit the scheduled job
#crontab –e
Here you have to mention i.e. at what jobs will be executed.
minute 0-59
hour 0-23
day of month 1-31
month 1-12 (or names, see below)
day of week 0-7 (0 or 7 is Sun, or use names)
#run at 2:15pm on the first of 6th month Saturday (comments)
15 14 1 6 6 #mkuser kumar
Kumar user will be created on mentioned time
NOTE:
Once crontab jobs completed, that output logs stored in /var/spool/cron/crontabs
Using crontab command we can edit the scheduled job
#crontab –e
Here you have to mention i.e. at what jobs will be executed.
minute 0-59
hour 0-23
day of month 1-31
month 1-12 (or names, see below)
day of week 0-7 (0 or 7 is Sun, or use names)
#run at 2:15pm on the first of 6th month Saturday (comments)
15 14 1 6 6 #mkuser kumar
Kumar user will be created on mentioned time
NOTE:
Once crontab jobs completed, that output logs stored in /var/spool/cron/crontabs
AIX - Scheduling - List Scheduling
AIX - Scheduling - List Scheduling
Using crontab command we can list scheduled job.
#crontab –l
The above command is list the scheduled jobs
Using crontab command we can list scheduled job.
#crontab –l
The above command is list the scheduled jobs
AIX - Scheduling
AIX - Scheduling
In Aix Os we can schedule jobs using crontab command; these jobs are executed in background at mentioned time.
If Administrator want to create five users on next week, but next week system administrator is out of country, that time admin can schedule this user creation job one week before using crontab command, so that server will create 5 users at scheduled time.
In this scheduling we can do following things.
1. List scheduling
2. Edit scheduling
3. Clear scheduling
4. Assign user permissions
In Aix Os we can schedule jobs using crontab command; these jobs are executed in background at mentioned time.
If Administrator want to create five users on next week, but next week system administrator is out of country, that time admin can schedule this user creation job one week before using crontab command, so that server will create 5 users at scheduled time.
In this scheduling we can do following things.
1. List scheduling
2. Edit scheduling
3. Clear scheduling
4. Assign user permissions
AIX - Group Management - Remove Group
AIX - Group Management - Remove Group
Using rmgroup command we can remove a group, If we want to remove oracle group.
#rmgroup oracle
After this command execution oracle group removed and group configuration information removed from /etc/groups files.
Using rmgroup command we can remove a group, If we want to remove oracle group.
#rmgroup oracle
After this command execution oracle group removed and group configuration information removed from /etc/groups files.
AIX - Group Management - Change Group
AIX - Group Management - Change Group
Using chgroup command we can change the group information’s.
#chgroup options oracle
Using chgroup command we can change the group information’s.
#chgroup options oracle
Friday, May 8, 2009
AIX - Group Management - List Group
AIX - Group Management - List Group
Using lsgroup command we can list group information’s. If we want to list oracle group information
#lsgroup oracle (it will display the oracle group information’s, gname, gid, members)
#lsgroup all (It will list all group details)
Using lsgroup command we can list group information’s. If we want to list oracle group information
#lsgroup oracle (it will display the oracle group information’s, gname, gid, members)
#lsgroup all (It will list all group details)
Subscribe to:
Posts (Atom)