Use the following steps to use PROC SPDO to execute SPD Server backup and restore
utilities:
1. Create an SPD Server LIBNAME, and specify 'special' privileges.
libname backup sasspds 'test'
host='sunny'
serv='5150'
user='admin'
passwd='admin'
ACLSPECIAL=YES;
Our example creates the LIBNAME backup for domain "test" on the host machine
'sunny'. The port number of the name server is 5150, and 'admin' is the SPD Server user
ID and password.
2. Invoke PROC SPDO for the LIBNAME.
PROC SPDO lib=backup;
3. Use PROC SPDO remote system commands to issue backup and restore statements on
the server. The following example performs a full SPD Server backup of the domain
"tstdomn" at 23:30 on February 3, 2008.
spdscmd 'spdsbkup -a -full -d tstdomn -h sunny -s 5150 -f /spdsadm/bkup/test';
The example statement creates the backup file
/spdsadm/bkup/
test_BK_03Feb2008_233000.0.0.spds
and the table of contents file
/
spdsadm/bkup/test_TC_03Feb2008_233000
on the server.
4. If a later restore operation is necessary, specify a run of the SPD Server restore utility
to restore the domain to its last full backup state.
spdscmd 'spdsrstr -aforce -d tstdomn -h sunny -s 5150 -e /spdsadm/bkup/test
Back Up and Restore Table Indexes using SPD
Server Full Backups
When you perform an SPD Server full backup of a table, by default the utility saves
information to recreate the indexes. This information is subsequently used if the table is
fully restored, to be able to recreate the indexes.
The SPD Server full backup utility does not save the index data, only the information
necessary to recreate the indexes when the table is restored. Therefore, when backing up
table indexes, the saved information requires no additional overhead and little additional
space.
If you must fully restore a table later, there are two methods available for restoring the
indexes:
1. You can allow the SPD Server restore utility to recreate the indexes when the table is
created. In this method, as each observation is added to the table, the index will be
dynamically updated.
2. Alternatively, you can use the
-n
option of the SPD Server restore utility. The
-n
option
suppresses index creation. After the table is fully restored, you can use PROC
DATASETS or PROC SQL to recreate the indexes.
Back Up and Restore Table Indexes using SPD Server Full Backups
247
Summary of Contents for Scalable Performance Data Server 4.5
Page 1: ...SAS Scalable Performance Data Server 4 5 Administrator s Guide...
Page 7: ...Part 1 Product Notes Chapter 1 SPD Server 4 5 Product Notes 3 1...
Page 8: ...2...
Page 12: ...6...
Page 63: ...Part 3 Migration Chapter 5 SPD Server 3 x to SPD Server 4 5 Conversion Utility 59 57...
Page 64: ...58...
Page 70: ...64 Chapter 5 SPD Server 3 x to SPD Server 4 5 Conversion Utility...
Page 72: ...66...
Page 76: ...70 Chapter 6 Using the SPD Server Name Server to Manage Resources...
Page 94: ...88 Chapter 7 Administering and Configuring SPD Server Using the SAS Management Console...
Page 98: ...92 Chapter 8 SPD Server SQL Query Rewrite Facility...
Page 116: ...110 Chapter 10 Configuring Disk Storage for SPD Server...
Page 128: ...122 Chapter 11 Setting Up SPD Server Parameter Files...
Page 154: ...148...
Page 198: ...192 Chapter 14 ACL Security Overview...
Page 212: ...206 Chapter 15 Managing SPD Server Passwords Users and Table ACLs...
Page 214: ...208...
Page 224: ...218 Chapter 16 SPD Server Operator Interface Procedure PROC SPDO...
Page 236: ...230 Chapter 18 SPD Server Table List Utility Spdsls...
Page 256: ...250 Chapter 19 SPD Server Backup and Restore Utilities...
Page 264: ...258 Chapter 20 SPD Server Directory Cleanup Utility...
Page 270: ......