Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Automating CMS backups

Status
Not open for further replies.

bobcat7978

Programmer
Jun 30, 2005
8
US
Hi, I have an Avaya CMS and currently have to manually backup the system through cmsadm backup every month. I know there's a way to do it with a shell script, but I can't seem to find anything anywhere. Can anyone put me in the right direction?
 
bobcat7978,

1) log into cms
2) do 'man cron' and read it thoroughly
3) do 'man 5 crontab' and read it even more thoroughly
4) do 'crontab -e' and define the timetable to run your command.
 
I fully understand how to use cron. For cms, the backup is only done through the cmsadm menus, it's not an actual command I'm executing. If I knew the command, I'd have simply thrown together a shell script and added it to the cron. What I'm asking for is does anyone know the actual commands are being run by the backup feature in the cmsadm menu?
 
although you could schedule the backup to start, how can you automate the responses? (very new to this sorry)
 
Frootbat is right, here is what I see when I run the backup process. There has to be a way to let this happen overnight un-manned.

root 27650 27649 0 08:50:53 pts/14 0:01 sh -c backup
root 27721 27655 0 08:52:11 pts/14 0:00 /bin/ksh /cms/install/bin/backup
root 27655 27650 0 08:51:04 pts/14 0:00 /bin/ksh /cms/install/bin/backup
root 27723 27655 1 08:52:11 pts/14 0:01 tee /tmp/blog.tmp27655
root 27722 27721 17 08:52:11 pts/14 3:56 cpio -oVc -C 10240 -O /dev/rmt/0 -M Please remove the current tape, number it,
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top