1. Les fichiers de configurations
/…/tivoli/tsm/client/ba/bin/dsm.sys |
************************************************************************ * IBM Tivoli Storage Manager * * Sample Client System Options file for UNIX (dsm.sys.smp) * ************************************************************************ * This file contains the minimum options required to get started * using TSM. Copy dsm.sys.smp to dsm.sys. In the dsm.sys file, * enter the appropriate values for each option listed below and * remove the leading asterisk (*) for each one. * If your client node communicates with multiple TSM servers, be * sure to add a stanza, beginning with the SERVERNAME option, for * each additional server. ************************************************************************ SErvername <server_TSM_hostname> Nodename <client_hostname> COMMmethod TCPIP TCPPort <port> TCPServeraddress <server_TSM_hostname> Compression on Inclexcl /…/inclexcl.def Schedlogname /…/log/dsmsched_sys.log SchedlogRetention 7 D Errorlogname /…/log/dsmerror.log Errorlogmax 50 PasswordAccess generate |
/…/tivoli/tsm/client/ba/bin/dsm.opt |
************************************************************************ * IBM Tivoli Storage Manager * * Sample Client User Options file for UNIX (dsm.opt.smp) * ************************************************************************ * This file contains an option you can use to specify the TSM * server to contact if more than one is defined in your client * system options file (dsm.sys). Copy dsm.opt.smp to dsm.opt. * If you enter a server name for the option below, remove the * leading asterisk (*). ************************************************************************ SErvername <server_TSM_hostname> Domain <FS_to_save> Domain <FS_to_save> … Subdir Yes CompressAlways No |
/…/inclexcl.def |
Exclude */.../* Include <FS_to_save>/.../* … |
2. Utilisation de la commande dsmc
dsmc <command> <sub_command> [option]
Liste des commandes :
Commande | Raccourcis |
query | q |
backup | b |
archive | arc |
restore | rest |
incremental | inc |
Exemple de commande :
dsmc q mgmt [-detail] | Affiche les Management Class |
dsmc incr | Lancement d'une sauvegarde incrémentale |
dsmc q bac "<FS>" [-inactive] | Afficher la liste des fichiers/dossiers sauvegardé sur le FS <FS>. -inactive permet d'afficher les fichiers inactif (fichier n'existant plus sur le client) |
dsmc bac "<FS>" | Sauvegarde du FS <FS> |
dsmc arch "<FS>" –archmc=ARCH30J –desc="description" [–subdir=yes] | Archivage des FS selon la Management Class choisit. |
dsmc rest "<Source_File>" "<Dest_File>" [-replace=yes] | Restauration des fichiers sauvegardés contenus dans <Source_File> vers <Dest_File>. |