Backup and recovery frequently asked questions

This topic contains information about questions and answers about backup and recovery procedures and concepts.

Some of the answers direct you to a specific information center topic or to a section of the Recovering your system topic collection that contains the answer to your question.

Planning a backup strategy

How do I make sure that I save everything that I need to save on a regular basis?

What are the different IBM® i object types that I might need to save?

Is it possible to save only objects that have changed?

What kind of methods besides a good save strategy can I use to protect my data?

What kind of storage devices can I take advantage of?

What is the best way to manage my save media?

How does the save-while-active function work?

How can I reduce the time it takes to back up my system?

Basic backup tasks

How do I back up my entire system while I am away?

How do I back up my Domino® user information?

How do I save an independent auxiliary storage pool (ASP)?

Do I need to be in a restricted state to back up QUSRSYS?

How do I save objects that are active?

How can I determine if everything on my system is backed up?

How do I transfer objects from one system to another system?

How can I find out when an object was last saved?

How can I save and restore my objects and the associated private authorities?

Troubleshooting backup problems

Why do my backups take so long after I restart my system?

Why do my backups take longer after I upgrade to a new release?

Why do my backups take longer after I change hardware on my system?

I am backing up only changed objects, but why is my tape filling up?

Why are not all the changed objects saved when I am saving changed objects on my system?

Why are not all the objects in QUSRSYS being saved when I am saving the QUSRSYS library?

Why is my system not saving all of my libraries?

How do save commands handle damage on objects?

How can I ensure that an application that has objects in multiple libraries or directories is saved with consistent data?

Preparing for a recovery

What actions do the system take when I restore user profiles?

What are the advantages in using Restore User Profiles (RSTUSRPRF) *ALL as opposed to individual profiles?

What does the Restore Authority (RSTAUT) command do?

What steps should I follow to reload my entire system?

Basic recovery tasks

How do I reload my entire system?

What instructions should I follow if I want to reload my Licensed Internal Code?

How do I reload my operating system?

How do I restore physical database files?

How do I restore logical files?

How do I restore programs?

How do I restore an individual object from tape?

How do I recover an independent ASP?

How can I restore a user-defined file system that was saved when it was mounted?

How do I restore an unmounted user-defined file system?

How can I ensure that my logical files restore correctly if they are in a different library from their associated physical files ?

How can I restore the database logical files and SQL materialized query tables (MQTs) that have dependencies on other files?

How can I recover or migrate a few objects when the user profiles already exist on the system?

How do I encrypt the data to a tape device?

How do I restore data that I have backed up using an encrypting tape drive?

What can I do if I lose data in an encrypted user or independent auxiliary storage pool (ASP)?

Troubleshooting recovery problems

Why is my restore process taking a very long time?

Why am I experiencing authority errors after a restore operation?

Planning a backup strategy

How do I make sure that I save everything that I need to save on a regular basis? See Knowing what to save and how often to save it.

Back to questions

What are the different IBM i object types that I might need to save? See Manually saving parts of your system.

Back to questions

Is it possible to save only objects that have changed? Yes. See Saving only changed objects.

Back to questions

What kind of methods besides a good save strategy can I use to protect my data? You can use Disk protection types to protect the data on your system.

Back to questions

What kind of storage devices can I take advantage of? See Storage solutions for different ways to store your data.

Back to questions

What is the best way to manage my save media? Backup, Recovery, and Media Services (BRMS) helps you implement a disciplined approach to managing your backups, and provides you with an orderly way to retrieve lost or damaged data.

Back to questions

How does the save-while-active function work? See Save-while-active function.

Back to questions

How can I reduce the time it takes to back up my system? You can take advantage of several different methods to reduce the time it takes to back up your system. Your business has unique needs, and some methods are more appropriate than others. See the following options to investigate time-saving backup techniques:

Back to questions

Basic backup tasks

How do I back up my entire system while I am away? To perform unattended backups, you can use one of the following options:

Back to questions

How do I back up my Domino user information? See the Lotus® Domino Reference Library Link outside information center for information about saving Domino information. Backup, Recovery, and Media Services (BRMS) also provides support for backing up Domino information.

Back to questions

How do I save an independent auxiliary storage pool (ASP)? See Saving independent ASPs.

Back to questions

Do I need to be in a restricted state to back up QUSRSYS? It is highly suggested that you back up QUSRSYS in a restricted state. However, there are other ways to fully save QUSRSYS without having to be in a restricted state. See Methods to save Q libraries that contain user data.

Back to questions

How do I save objects that are active? See Saving your system while it is active for information about the save-while-active function.

Back to questions

How can I determine if everything on my system is backed up? See Determining objects that the system saved (save messages).

Back to questions

How do I transfer objects from one system to another system? There are a few ways to transfer objects from one system to another system.

See Restoring specific types of information.

Back to questions

How can I find out when an object was last saved? See Determining when an object was last saved.

Back to questions

How can I save and restore my objects and the associated private authorities? Use any of the SAVxx or SAVRSTxx commands with the PVTAUT(*YES) parameter to save private authorities for objects. When you restore the objects, specify PVTAUT(*YES) on the RSTxx command to restore the private authorities for those objects. For detailed information, see Saving security data.
Note: You can use the existing SAVSYS and SAVSECDTA commands to save security data, including user profiles, private authorities, authority lists, and authority holders.

Back to questions

Troubleshooting backup problems

Why do my backups take so long after I restart my system? Before an object can be saved, it must be loaded into main storage from disk storage. Often the objects that you are saving are already in main storage because you have been using the objects with your business applications. When you restart your system, all of the objects might be cleared out of main storage. Therefore, if you back up your system immediately after restarting it, the backup takes longer because all of the objects must be loaded into main storage before they can be saved.

The backup also performs additional processing the first time an object is accessed after your restart the system. The backup can run even slower if the previous restart operation was not normal.

If you want better performance in these scenarios, try the following methods:

  • Avoid backups that coincide immediately after a restart.
  • Access as many objects as possible between the restart and the start of the first backup. For example, submit a DSPOBJD or DSPFD. This loads more objects into main storage before a backup and limits the processing during the backup.

You can refer to Info APAR II12893 on the Support for IBM System i®Link outside Information Center.

Back to questions

Why do my backups take longer after I upgrade to a new release? If you change any hardware during the upgrade, the hardware configurations might affect backup and recovery performance. See the chapter about save/restore performance in the System i Performance Capabilities Reference Link to PDF. Before an object is saved, it must be loaded into main storage from disk storage. Often the objects that you are saving are already in main storage because you have been using the objects with your business applications. When you upgrade your system, all of the objects might be cleared out of main storage. Therefore, if you back up your system immediately after upgrading it, the backup takes longer because all of the objects must be loaded into main storage before they can be saved.

If you want better performance in these scenarios, try the following methods:

  • Avoid backups that coincide immediately after an upgrade.
  • Access as many objects as possible between the upgrade and the start of the first backup. For example, submit a DSPOBJD or DSPFD. This loads more objects into main storage before a backup and limits the processing during the backup.

For more information, you can refer to Object conversions. You can also refer to the Memo to users for the release to see if the backup performs any conversions during the first backup.

Back to questions

Why do my backups take longer after I change hardware on my system? When you change hardware on your system, the hardware configuration might affect backup and recovery performance. See the chapter about save/restore performance in the System i Performance Capabilities Reference Link to PDF for information about hardware changes that might affect performance.

Back to questions

I am backing up only changed objects, but why is my tape filling up? The most likely cause for this problem is that you specify *NO on the Journaled Objects (OBJJRN) parameter of the Saving Changed Objects (SAVCHGOBJ) command. The OBJJRN parameter specifies whether changes to objects currently being entered in a journal as specified on the Start Journal Physical Files (STRJRNPF) are saved. If OBJJRN(*NO), which is the default, is specified, database files currently being journaled are not saved, unless journaling is started after the specified Reference date (REFDATE) and Reference time (REFTIME) parameters on the SAVCHGOBJ command.

This ensures that changes made to a physical file before journaling starts are not lost (because they were not journaled in a journal receiver). The date and time of the last journal start can be displayed by using the Display File Description (DSPFD) command.

When you journal database files, the system uses one or more journal receivers to keep a record of changes that occur to the journaled files. If you journal database files, you probably do not want to save those physical files when you save changed objects. You should save the journal receivers rather than the physical files.

Back to questions

Why are not all the changed objects saved when I am saving changed objects on my system? See Determining objects that are not saved.

Back to questions

Why are not all the objects in QUSRSYS being saved when I am saving the QUSRSYS library? Some of the objects in QUSRSYS might be active during the backup. You might need to be in a restricted state to back up all of the objects in that library. See Methods to save Q libraries that contain user data.

Back to questions

Why is my system not saving all of my libraries? See Determining objects that are not saved.

Back to questions

How do save commands handle damage on objects? See How the system handles damaged objects during a save operation.

Back to questions

How can I ensure that an application that has objects in multiple libraries or directories is saved with consistent data? You can use the STRSAVSYNC command (along with the Save Object (SAV) or Save Library (SAVLIB) command) to synchronize the data across multiple libraries or directories. See Using save-while-active to synchronize the saved data and Full synchronization.

Back to questions

Preparing for a recovery

What actions do the system take when I restore user profiles? See What happens when you restore user profiles.

Back to questions

What are the advantages in using RSTUSRPRF *ALL as opposed to individual profiles? See What you should know about restoring user profiles.

Back to questions

What does the Restore Authority (RSTAUT) command do? Use the RSTAUT command to restore a user's private authorities to objects. See Restoring object authorities.

Back to questions

What steps should I follow to reload my entire system? See Recovering your system.

Back to questions

Basic recovery tasks

How do I reload my entire system? See Recovering your system.

Back to questions

What instructions should I follow if I want to reload my Licensed Internal Code? See Recovering the Licensed Internal Code.

Back to questions

How do I reload my operating system? See Restoring the operating system.

Back to questions

How do I restore physical database files? See Restoring database files.

Back to questions

How do I restore logical files? See Restoring logical files.

Back to questions

How do I restore programs? See How the system restores programs.

Back to questions

How do I restore an individual object from tape? See Restoring objects.

Back to questions

How do I recover an independent ASP? See Choosing the recovery procedure for a disk failure or disk errors and Recovering an independent auxiliary storage pool (ASP) for information about recovering an independent ASP.

Back to questions

How can I restore a user-defined file system that was saved when it was mounted? If a save operation includes objects from a mounted user-defined file system (UDFS), file system information is saved. You can restore a mounted UDFS by specifying the RBDMFS(*UDFS) parameter on the RST command. The RBDMFS parameter rebuilds the mounted file system during the restore operation. For more detailed information, see Saving a mounted UDFS and Restoring a mounted user-defined file system.

Back to questions

How do I restore an unmounted user-defined file system? See Restoring an unmounted user-defined file system.

Back to questions

How can I ensure that my logical files restore correctly if they are in a different library from their associated physical files ? See Sequence for restoring related objects and Verifying whether objects are restored successfully.

Back to questions

How can I restore the database logical files and SQL materialized query tables (MQTs) that have dependencies on other files? See Deferring the restore of dependent objects.

Back to questions

How can I recover or migrate a few objects when the user profiles already exist on the system? See Restoring private authorities for selected objects.

Back to questions

How do I encrypt the data to a tape device? See Recovering from an encrypted backup using software encryption.

Back to questions

How do I restore data that I have backed up using an encrypting tape drive? See Recovering from an encrypted backup using an encrypting tape.

Back to questions

What can I do if I lose data in an encrypted user or independent auxiliary storage pool (ASP)? See Restoring encrypted auxiliary storage pools.

Back to questions

Troubleshooting recovery problems

Why is my restore process taking a very long time? See the following information about restore performance:

Back to questions

Why am I experiencing authority errors after a restore operation? See the following information about handling authority errors after a restore operation:

Back to questions