Q
Manage Learn to apply best practices and optimize your operations.

Decrease iSeries downtime caused by SAVSYS backup

It is possible to save time on SAVSYS backups on the AS/400. The SAVSYS command requires that your system be in a restrictive state. The only active job in a restrictive state is the system console. IBM has split the SAVSYS command into three parts, the second and third of which can run when the system is fully active.

I work in a hospital and it is critical that we have minimal downtime on our iSeries. We currently have the Ultrium 3 tape drive and are looking at purchasing the Ultrium 4. I am looking for a way to decrease downtime caused due to the SAVSYS backup which is performed twice a month. Do you have any suggestions
There is a way to limit the amount of time the SAVSYS command runs.

The SAVSYS command requires that your system be in a restrictive state. The only active job in a restrictive state is the system console.

IBM has been kind enough to split the SAVSYS command into three parts though:

  1. The Save System (SAVSYS) command saves a copy of the Licensed Internal Code and the QSYS library in a format compatible with the installation of the operating system. It does not save objects from any other library.
  2. Security data is saved
  3. Configuration data is saved.

The second and third parts of the SAVSYS command can be run while the system is fully active.

IBM has supplied us with two commands to do this.

SAVSECDTA:
Save Security Data – IBM Supplied Help
The Save Security Data (SAVSECDTA) command saves all security information without requiring a system in a restricted state. The SAVSECDTA command saves the same security information that is saved when a Save System (SAVSYS) command is run including the following:

  • User profiles
  • Authorization lists
  • Authority holders

Information saved with the SAVSYS or SAVSECDTA command can be restored using the restore user profiles (RSTUSRPRF) and restore authority (RSTAUT) commands.

SAVCFG:
Save Configuration – IBM Supplied Help
The Save Configuration (SAVCFG) command saves all configuration and system resource management (SRM) objects without requiring a system in a restricted state. The information saved includes the following:

  • Line descriptions
  • Controller descriptions
  • Device descriptions
  • Mode descriptions
  • Class-of-service descriptions
  • Network interface descriptions
  • Network server descriptions
  • NetBIOS descriptions
  • Connection lists
  • Configuration lists
  • Hardware resource data
  • Token-ring adaptor data

Information saved can be restored with the restore configuration (RSTCFG) command.

To separately run these three saves, you would use the following commands in the following order:

ENDSBS *ALL *IMMED   (Goto a restrictive state)
SAVSYS DEV(TAP01) OMIT(*SECDTA *CFG) 

Start up your system…

SAVSECDTA DEV(TAP01)
SAVCFG DEV(TAP01)
This was last published in June 2008

Dig Deeper on Data backup, storage and retrieval on iSeries

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Start the conversation

Send me notifications when other members comment.

Please create a username to comment.

-ADS BY GOOGLE

SearchDataCenter

Close