ishitori's blog

primarily about linux and aha

Subscribe to RSS feed

Posts tagged with "windows"

configuring include-exclude list for incremental backup in TSM

,

for some reason this simple list in dsm.opt for making backup of a single directory C:\data doesn't work:

...
EXCLUDE ?:*
INCLUDE C:\data\...\*

TSM still backups all data on all drives. though according to Backup-Archive Clients Installation and User's Guide ?:* expands to ?:\...\* which means all files on all drives should be excluded. at the same time all files and directories inside C:\data should be included in backup.

one guy on adsm.org points out it's necessary to use either EXCLUDE.DIR directive to explicitly exclude all unnecessary directories or DOMAIN directive to explicitly include necessary directories only (they are to be shared in this case).
the 1st method is somewhat cumbersome and requires additional efforts to track changes to filesystem and update include-exclude list accordingly. the 2nd method looks better and it would be great should VIRTUALMount option exist for Windows. but alas - it's available for Linux and UNIX only. so it's necessary to share required directories by means of operating system.

in my case I shared directories with the following commands:

> net share deploy=C:\deploy 
> net share signature=C:\signature

afterwards I granted read permission to these directories for myself (ecls\tap) only and set TSM Client Scheduler service to log on as me (ecls\tap) as well. at the same time I left TSM Client Acceptor service to log on under Local System account - it really doesn't matter who it logs on as since it's TSM Client Scheduler service that actually performs backup.
finally I modified my dsm.opt file this way to backup aforementioned directories only:

NODENAME         opr7
TCPSERVERADDRESS oprgate

PASSWORDACCESS GENERATE
MANAGEDSERVICES WEBCLIENT SCHEDULE

DOMAIN -SYSTEMSTATE
DOMAIN \\opr7\deploy 
DOMAIN \\opr7\signature

and it's necessary to restart TSM Client Acceptor service in the end for changes to take effect.

disable beep

I followed this article.

FolderMan

,

just found a very useful plugin for FAR manager - FolderMan: it allows to quickly access directories much like Ctrl+\ in mc.

change CapsLock to Control

,

explained very well here.

reg file:

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Keyboard Layout] 
"Scancode Map"=hex:00,00,00,00,00,00,00,00,02,00,00,00,1d,00,3a,00,00,00,00,00


to exchange backslash and backspace on my keyboard I use very handy program SharpKeys. sure it can be used to remap CapsLock to Control as well.