beautypg.com

3 restoring a system database backup, 4 deleting a system database backup, Restoring a system database backup -48 – HP StorageWorks Scalable File Share User Manual

Page 178: Deleting a system database backup -48

background image

Verifying, diagnosing, and maintaining the system

6–48

6.3.3 Restoring a system database backup

When the database is backed up automatically at a set interval, it is backed up on both the administration

server and on the MDS server (assuming that both servers are running; if either the administration server or

the MDS server is down, the database is only backed up on the other server). The backup files on the two

servers may not be identical, as they are not created simultaneously. In addition, when the

create

database_backup

command is run manually, the database is only backed up on the server where the

command is run. For these reasons, when you want to restore a backup file, you may need to look on both

the administration server and the MDS server to find the backup file that you want to restore.

Backup file numbers are unique on a server, but not across the system; that is, there can be a backup file

numbered

1

on both the administration server and on the MDS server, and these files may not have been

created at the same time. Use the date on the file (shown in the

Made At

field in the output from the

show

database_backups

command) to identify the backup file that you require.

To restore a system database backup, perform the following steps:

1.

Enter the

show database_backups

command to list the available backup files, as follows. If

necessary, enter the command on both the administration server and the MDS server:

sfs> show database_backups

Copy Made At
---- ----------
1 10:41 2004-03-10
2 10:41 2004-03-11

2.

When you have identified the backup file that you want to restore, enter the command shown in the

following example. You must enter the command on the server (administration server or MDS server)

where the backup file is stored:

sfs> restore database_backup 1

3.

To ensure that all configuration files are restored from the backup file, enter the

configure server

command for the administration server and the MDS server, as shown in the following example:

sfs> configure servers south[1-2]

4.

Reboot all of the Object Storage Servers, as shown in the following example:

sfs> shutdown servers south[3-4] wait=0
sfs> boot servers south[3-4]

6.3.4 Deleting a system database backup

When the

create database_backup

command is run automatically, the database is backed up on both

the administration server and on the MDS server (assuming that both servers are running—if either the

administration server or the MDS server is down, the database is only backed up on the other server). The

backup files on the two servers may not be identical, as they are not created simultaneously. When you want

to delete a backup file, you may need to look on both the administration server and the MDS server to find

the backup file that you want to delete.

Backup file numbers are unique on a server, but not across the system; that is, there can be a backup file

numbered

1

on both the administration server and on the MDS server, and these files may not have been

created at the same time. Use the date on the file (shown in the

Made At

field in the output from the

show

database_backups

command) to identify the backup file that you want to delete.