Example 1: Exclusive SPD Server Full and Incremental Backups
You can use SPD Server backup and restore utilities exclusively to perform full and
incremental table backups and restores.
This example outlines the steps you use to perform a full backup of your domain once a
week, and to perform incremental backups the rest of the week. The incremental backups
will also fully back up any newly created tables.
1. On Sunday, February 3, 2008 at 23:30, run the SPD Server backup utility to do a full
backup of the domain:
spdsbkup -full -a -d test -h host -s serv -f backup
The backup creates the backup data file
backup_BK_05Feb2006_233000.0.0.0.spds
and the backup table of contents file
backup_TC_03Feb2008_233000
. The backup
file contains the full SPD Server backup for each table and any ACL files in the domain.
The table of contents file contains information for each table that was backed up.
2. Archive the SPD Server backup file and source in the table of contents file into a SAS
table of contents table.
3. On Monday night through Saturday night, use the SPD Server backup facility to
perform incremental backups:
spdsbkup -a -d test -h host -s serv -f backup
This statement performs incremental SPD Server backups of tables that were previously
backed up, performs a full backup of tables that were created after the previous night's
backup, and also backs up any ACL files that are in the domain.
Example 2: SPD Server Incremental/Full Backups and System Full
Backups
You can use SPD Server utilities to perform incremental backups on data sets that you have
previously archived, as well as to perform full backups on new data sets that have never
been backed up. You can also back up your SPD Server data sets using a system utility
from your native operating environment. Which one should you use? The advantage in
using system full backups is that a system utility does not parse the data set, and therefore
usually runs faster than the SPD Server utility when performing a full backup. For example,
system utilities often write directly to tape storage media. In contrast, the SPD Server utility
first writes backup data to a file on the hard drive, and then the backup file is usually backed
up to tape.
This example outlines the steps you use to perform a full system backup of the domain
"test" using operating system utilities once a week, then use SPD Server to perform a
domain back up on the remaining nights.
1. On Sunday, February 3, 2008 at 23:30, run the SPD Server list utility
spdsls -l
to
produce a listing of the tables that belong to the domain "test" in preparation for a full
backup.
spdsls -l -a <physical_path_of_domain>
Run the operating system backup utility to perform a full backup of the domain tables
and ACL files, and then archive the backup.
2. On Monday, February 4, 2008 at 23:30, run the SPD Server backup utility
spdsbkup
and set the last full backup date to the previous night for the 'test' tables.
Spdsbkup
then performs an incremental backup of tables that have changed since the last full
system backup, and performs a full backup of tables that were created after the last full
system backup was performed.
spdsbkup -d test -h host -s serv -t 02/04/08:23:30:00 -f backup
244
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: ......