Hi Santhosh,
You should follow Jason's tips to get the backup done with the DB offline. After you do that and have a .tar.gz file in hand, you need to go through the following steps:
0) Copy the .tar.gz file to the primary server
1) Un-gzip the file using gzip -d <file>
2) Go to the <specroot>/SS directory (IMPORTANT)
3) Run ../SS-Tools/SSdbload -cm -replace 10 <path/backup_file.tar>
If that is successful, then you can start Spectrum from SCP or using startSS.pl
Regards,
------------------------------
Marcelo Zacchi
CA Spectrum consultant
Nets Denmark
------------------------------
Original Message:
Sent: 10-21-2019 09:39 AM
From: Jason Volpini
Subject: Taking ssdb backup
Hello Santhosh
A couple points to make:
1. If taking a backup from Spectrum Control Panel, the server needs to be running, status shows 'Running'
2. if state is 'Inactive' then the server is not running. If you try to start it and it shows "database not gracefully closed" then you need to load a previous saved backup instead.
3. Taking a backup with server shut down is possible with command-line SSdbsave and SSdbload. Read up on those here: https://techdocs.broadcom.com/content/broadcom/techdocs/us/en/ca-enterprise-software/it-operations-management/spectrum/10-3-2/administrating/database-management/spectroserver-database-maintenance/database-backups/manual-backup.html
4. It is recommended to restart Tomcat service on OneClick server after loading a backup (but not required after saving a backup)
HTH
------------------------------
Senior Support Engineer
Broadcom
Original Message:
Sent: 10-18-2019 11:09 AM
From: Santhosh Adapa
Subject: Taking ssdb backup
Thanks Marcelo.
I have one more query, Suppose Spectrum control panel is showing inactive state instead of Terminated sate. Is it possible to take the backup?
and one more thing is if I take a backup from secondary and restored in primary, any extra steps I have to follow after restoration in primary or that's it?
Regards,
Santhosh
Original Message:
Sent: 10-18-2019 01:42 AM
From: Marcelo Zacchi
Subject: Taking ssdb backup
Santhosh,
If you have a running secondary server, you could take a backup of the SSDB there and restore it to the primary.
Regards,
------------------------------
Marcelo Zacchi
CA Spectrum consultant
Nets Denmark
Original Message:
Sent: 10-17-2019 02:08 PM
From: Santhosh Adapa
Subject: Taking ssdb backup
Hi Joseph,
Suppose there is no back file. Is it possible to take the ssdb backup when the spectrum control panel is showing Terminated/Inactive?
Regards,
Santhosh
Original Message:
Sent: 10-17-2019 11:50 AM
From: Joseph Ackley
Subject: Taking ssdb backup
Santhosh,
If the SpectroSERVER is not brought down gracefully, there is a risk of database corruption so you are prevented from taking a backup or restarting the SpectroSERVER process. You will need to reload from a previously saved backup.
Joe
Original Message:
Sent: 10-17-2019 11:39 AM
From: Santhosh Adapa
Subject: Taking ssdb backup
Hi Team,
Is it possible to take the ssdb backup when the spectrum control panel is displaying Terminated/Inactive status.
Regards,
Santhosh.