I have had a number of customers lately call me to complain about restores of a single directory on a large file server running for many hours without transferring any data. In each case I have suggested they use
TESTFLAG DISABLENQR
Each time the next restore would run in minutes.
Many of you know that this simply changes the restore from the post TSM 3.1 “No Query Restore” back to the older “Classic” restore.
Do not use client dedup nor compression if you backup on containers. Data reduction on client side will preserve your bandwith, but ask to TSM admin before.
For backup-archive clients, the default value for this parameter is 63 KB on AIX and Solaris. And 0, the OS default, on the other platforms Linux, Windows and Mac. For IBM Spectrum Protect for Virtual Environments: Data Protection for VMware, the default value for this parameter is 512 KB.
The best way to find the best parameter is using command line like this:
C:\Users\admin> dsmc ba c:\tmp\my_big.iso -resourceutilization=10 -tcpwindowsize=32
Backup-Archive client with limited, high latency network (WAN backups): =============================== TCPWINDOWSIZE 512 RESOURCEUTILIZATION 4 COMPRESSION Yes DEDUPLICATION Yes ENABLEDEDUPCACHE Yes
Tip: Do not use the client deduplication caching for applications that use the IBM Spectrum Protect API (TDP).
Backup/Archive client or Client API with limited network (Gigabit LAN backups): =============================== TCPWINDOWSIZE 512 RESOURCEUTILIZATION 10 COMPRESSION Yes DEDUPLICATION Yes ENABLEDEDUPCACHE No
Backup/Archive client or Client API with high speed network (10 Gigabit LAN backups) =============================== TCPWINDOWSIZE 512 RESOURCEUTILIZATION 10 COMPRESSION No DEDUPLICATION No ENABLEDEDUPCACHE No
Adding the following options into tdpsql.cfg from TDPsql folder will reduce backup time from 11 hours to 1 hour
BUFFers 4 SQLBUFFers 4 STRIPes 4
Higher values can be tested:
Buffering is only used on legacy mode.
The number of buffers that Data Protection for SQL allocates to the read and write threads can be specified in the /buffers (3 by default) and /sqlbuffers (0 by default) parameters of the command line interface. The size of these buffers can be specified in the /buffersize (1024 by default) and /sqlbuffersize (1024 by default) parameters. In addition to this /Stripes (1 by default) parameter determines the number of sessions in TSM Servers.
For example, you can use these parameters in your tdpsql.cfg file to backup SQL databases with 5 sessions;
BUFFers 10 BUFFERSIze 8192 STRIPes 5 SQLBUFFers 32 SQLBUFFERSIze 4096
On Spectrum Protect server also change the maximum monut points
upd node <node_name> maxnummp=10