Spdsbkup - the Table Backup Utility
Description
Spdsbkup
performs a full or incremental backup of an SPD Server table or LIBNAME
domain. It also creates a backup file that contains full backups of newly created SPD Server
tables or incremental backups of tables that have been backed up before.
During the backup process, the
spdsbkup
utility
•
connects to a specified SPD Server
•
uses the SPD Server Pass-Through Facility to generate SQL queries on SPD Server
domain tables
•
backs up the records returned by the query
•
compresses the record data
•
stores the data in a flat data file so that the restore utility can use it later when restoring
the tables.
Important Details about Full Backup
•
When you do a full backup of an SPD Server table, all of the table rows and attributes
(indexes, partition size, compression, sorted) are backed up. When a full backup is
restored, the table is created with those attributes, then all the rows are added. Any
changes that were made to the table attributes since the last full backup was performed
are not restored.
•
ACL files must be in the same physical directory as the domain. If any ACL file does
not meet this requirement, the ACLs will not be backed up, and a warning message will
be sent to the log. The
spdsbkup
utility will continue to back up all specified tables.
Important Details about Incremental Backup
•
When you perform an incremental backup of an SPD Server table, only changes that
were made to the table rows since the last full backup are included in the backup.
Changes to the table attributes are not backed up. When an SPD Server incremental
backup is restored, the incremental changes to the rows are applied. Only attributes that
were associated the table at the time of the last full backup (indexes, partition size,
compression, sorted) are applied to the restored rows.
Return Values
When
spdsbkup
exits, it generates a return value. If the
spdsbkup
return value is 0, the
utility was successful. If the
spdsbkup
return value is 1, one or more data sets could not
be backed up. In that case, examine your SAS log for warning messages. If the
spdsbkup
return value is 2, a critical error caused an early process termination. Examine
your SAS log for warning and error messages.
234
Chapter 19 • SPD Server Backup and Restore Utilities
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: ......