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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Can Legato start backup in client unix scripts?

Status
Not open for further replies.

mturnali

IS-IT--Management
Sep 12, 2001
16
TR
I want to write a script running on Legato client unix. That script will tell Legato server to backup its data.

Anyone experienced on this issue please get me notified,

thank you.
 
Here is the part of my script where I do a remote shell to the Networker backup server (larry) to start the save group:

# Now, backup all filesystems by calling remote shell to Larry and
# starting the Legato savegroup named Snap.It will back up Oracle files
# on flash and snap volumes on superman. Any changes in batman's vfstab
# need to be changed in superman vfstab and in Legato on larry-g client
# Save Sets attribute.
#
echo 'backups are in progress on `date`.' >> $LOG 2>&1
rsh larry /usr/sbin/savegrp -C Full -N 32 Snap >> $LOG 2>&1
#
 
Here are the lines out of my script on the client that do a remote shell to the Networker server (larry).

# Now, backup all filesystems by calling remote shell to Larry and
# starting the Legato savegroup named Snap.It will back up Oracle files
# on flash and snap volumes on superman. Any changes in batman's vfstab
# need to be changed in superman vfstab and in Legato on larry-g client
# Save Sets attribute.
#
echo 'backups are in progress on `date`.' >> $LOG 2>&1
rsh larry /usr/sbin/savegrp -C Full -N 32 Snap >> $LOG 2>&1
#

I hope it helps.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top