The following sequence of events shows the typical steps in performing standard backups and subsequently recovering from a media failure:
- On Friday afternoon perform a standard backup using the following command: 
BACKUP LOCATION MYLOC TO D:\BACKUPLOCS
 
-  On Monday afternoon perform a standard backup using the following command: 
BACKUP LOCATION MYLOC TO D:\BACKUPLOCS
 
- On Tuesday afternoon perform a standard backup using the following command: 
BACKUP LOCATION MYLOC TO D:\BACKUPLOCS
 
- On Wednesday morning recover from a media failure using the following steps: 
- Stop the XDB Server.
 
- Copy the contents of the current logs to another directory, such as d:\currlocs.
 
-  Remove the contents of the original XDB location.
 
- Run the xdbdata.bat script in Tuesday afternoon’s d:\backuplocs subdirectory.
 
- Start the XDB Server in exclusive use mode.
 
- Issue the following ROLLFORWARD command: 
ROLLFORWARD MYLOC USING D:\CURRLOGS
 
- Stop the XDB Server.
 
- Restart the XDB Server for general availability.