Avaya R3.0 manual Restoring the SSG configuration, a. mkdir tempdir b. cd tempdir

Page 36
Restoring the SSG configuration

SSG Configuration Backup and Restore

Restoring the SSG configuration

To restore the SSG configuration:

1.Log onto the machine as the avadmin user

2.Copy the backup file to the home directory of avadmin.

3.Stop the SSG software by entering the following command: ssg.sh stop

4.Unzip the backup file to a temporary directory. For example:

a.mkdir tempdir

b.cd tempdir

c.tar zfx ~/SSG-<Product Id>-<Date-Time>.tgz

5.Remove the current contents of the SSG Data directory by entering the following command: rm -fr ~/SSG/Data/*

6.Move the backup data to the SSG Data directory: mv Backup/* ~/SSG/Data

a.To restore the database, you must do the following steps. Type: cd ~/SSG/Data/db

b.Type:

gunzip dbdump-2004-05-07.tgz

Note:

The date in the example above should be changed based on the date the backup was performed.

-This command will expand the file to the filename dbdump-2004-05-07.tar

c.Type:

sudo /etc/init.d/avdb start

d.Type:

pg_restore -v -p 6543 -d avssgdb -a -Ft --no-owner <dbdumpfile_name>.tar

Note:

The restore can take several minutes to complete. Large restores can take several hours.

7.Restart the SSG software to load the backed up configuration. Type the following command: ssg.sh start

36 Secure Services Gateway (SSG) Maintenance Guide

Image 36
Contents Secure Services Gateway SSG Maintenance Guidein support of the Secure Access and Control Offer SAC R3.0 19-300174 Issue 6 August2005 Avaya Inc. All Rights Reserved Email totalware@gwsmail.comChapter 1 Maintenance Overview Chapter 2 Hardware Upgrade and MaintenanceChapter 5 Operating System Recovery Chapter 3 Server Initialization and ShutdownChapter 6 SSG Configuration Backup and Restore IndexContents 4 Secure Services Gateway SSG Maintenance GuideChapter 1 Maintenance Overview Chapter contentsOverview Overview Related resources Linux operating system manualsContent Related resourcesTable 1 Related Resources Document TitleTable 1 Related Resources continued 2 ofLinux operating system manuals 3. Under the column Support Resources, go to DocumentationChapter 2 Hardware Upgrade and Maintenance Installation guidelinesInstallation guidelines Removing the cover of the x305 IBM server In this chapterSystem reliability guidelines Handling static sensitive devicesGeneral safety guidelines Replacing the hard drive Replacing the hard drive in an x305 IBM serverReplacing the hard drive in an x306 IBM server Tasks to replace the hard drive TaskDescription 4 Replace the hard drive. x305 see Replacing the hard drive in an3. Installing the new hard drive in the x305 IBM server Read General safety guidelines and Handling static sensitive devicesReplacing the hard drive in an x305 IBM server Removing the cover of the x305 IBM serverFigure 1 Captive screws on cover Removing the hard drive from the x305 IBM server Figure 2 Removing and replacing the drive cageInstalling the new hard drive in the x305 IBM server Replacing the cover of the x305 IBM server2. Installing the new hard drive in the x306 IBM server Figure 3 Removing and installing the hard driveReplacing the hard drive in an x306 IBM server Removing the hard drive from the x306 IBM serverInstalling the new hard drive in the x306 IBM server Replacing the x305 IBM server’s RSAReplacing the server’s dual NIC 20 Secure Services Gateway SSG Maintenance GuideChapter 3 Server Initialization and Shutdown Server initializationServer initialization System shutdown System shutdown Chapter 4 Operating System Monitoring Gathering system informationMonitoring system processes Gathering system information Monitoring system processesTable 3 Interactive Commands Command Description Memory usageFile systems Virtual memorySpace used by files in a directory Additional resources Chapter 5 Operating System Recovery Hardware/software problemsRoot password Hardware/software problems Booting into single-user modeBooting into rescue mode linux rescuesh-2.05b# chroot /mnt/sysimagemount -t ext3 /dev/hda5 /foo fdisk -l oneBooting into single-user mode Booting into emergency mode 32 Secure Services Gateway SSG Maintenance Guide Chapter 6 SSG Configuration Backup and Restore Backing up the SSG configurationBacking up the SSG configuration Restoring the SSG configuration Figure 4 Edit Backup Scheduler Configuration Page SSG Configuration Backup and Restore34 Secure Services Gateway SSG Maintenance Guide 6. Click Save Changes Restoring the SSG configuration pgrestore -v -p 6543 -d avssgdb -a -Ft --no-owner dbdumpfilename.tara. mkdir tempdir b. cd tempdir c. tar zfx ~/SSG-Product Id-Date-Time.tgzIndex Index38 Secure Services Gateway SSG Maintenance Guide