Sie sind auf Seite 1von 10

10/8/12

[IT Services] Using the TSM Client Command Line Interface for Backup & Restore

We want to use cookies to collect data on how people use our site. Click here to accept, and dismiss this notice. For more information, and to change your preferences later, see our cookie policy. If you prefer not to accept them you may disable them (this sets a cookie).

Oxford University Computing Services

Monday 8. Oct 2012

Using the TSM Client Command Line Interface for Backup & Restore

1. Introduction

This section will first provide an introduction to the TSM Command Line Interface (CLI) and then describe how to manually back up and restore files on the local machine. The screen shots and descriptions that follow may refer to older TSM clients, but with the exception of the file specifications the syntax is generic to all platforms.

2. Starting the TSM Command Line client

2.1. Windows

Run [Backup-ArchiveClientCommandLine]from [Start]| [AllPrograms]| [TivoliStorage Manager]. The TSM command line interface will open in a DOS window on the Windows desktop. This window will be small but you can toggle between that and a full screen by typing Alt+Enter. You should see a prompt of the form:

by typing Alt+Enter . You should see a prompt of the form: 2.2. Mac Open [Terminal]

2.2. Mac

Open [Terminal]from [Applications]| [Utilities]and type sudodsmc. You should see a prompt of the form:

IBMTivoliStorageManager CommandLineBackup/ArchiveClientInterface

ClientVersion5,Release5,Level2.0

Clientdate/time:18-06-200911:36:37

(c)CopyrightbyIBMCorporationandother(s)1990,2008.AllRightsReserved.

10/8/12

[IT Services] Using the TSM Client Command Line Interface for Backup & Restore

NodeName:ABCD1234-LAPTOP-OUCS

SessionestablishedwithserverOX_HFS_B3:AIX-RS/6000

ServerVersion5,Release5,Level1.1

Serverdate/time:18-06-200911:36:37 Lastaccess:18-06-200902:51:30

tsm>

2.3. Unix/Linux

Run dsmcas root from the shell prompt (e.g., in Ubuntu, run sudodsmc). You should see a prompt of the form:

IBMTivoliStorageManager CommandLineBackup/ArchiveClientInterface

ClientVersion5,Release5,Level2.0

Clientdate/time:18-06-200911:36:37

(c)CopyrightbyIBMCorporationandother(s)1990,2008.AllRightsReserved.

NodeName:ABCD1234-LAPTOP-OUCS

SessionestablishedwithserverOX_HFS_B3:AIX-RS/6000

ServerVersion5,Release5,Level1.1

Serverdate/time:18-06-200911:36:37 Lastaccess:18-06-200902:51:30

tsm>

2.4. Netware

Type loaddsmcat the console.

3. Accessing Help

Online help for TSM commands, options and error messages is available by typing helpat the tsm>prompt. The result will be similar to below:

Thefollowinghelptopicsareavailable.

Enterthenumberofthedesiredhelptopicor'q'toquit,

'd'toscrolldown,'u'toscrollup.

0-SummaryofChanges

1-UsingCommands

2-Selectfromthecommandslistedbelow:

3- ARCHIVE 4- BACKUPDB2UDB 5- BACKUPGROUP 6- BACKUPIMAGE 7- BACKUPNAS 8- BACKUPWAS 9- CANCELPROCESS 10- CANCELRESTORE 11- DELETEACCESS 12- DELETEARCHIVE 13- DELETEBACKUP 14- DELETEFILESPACE 15- DELETEGROUP 16- EXPIRE 17- HELP 18- INCREMENTAL

Note that commands and options may be abbreviated to a short form as indicated by capitalisation of words in the syntax entry for a command. Thus, for example, queryfilespacecan be abbreviated to qfi. Options and commands can also be included on the original command line so, using the above example, on a Netware machine you can run loaddsmcqfito just run a query of the current partitions backed up. Obviously, more complex queries and commands can be similarly run in the same manner.

10/8/12

[IT Services] Using the TSM Client Command Line Interface for Backup & Restore

4. Querying the server

On starting the TSM CLI, no information about your current configuration settings or filestore is displayed. By default, the TSM CLI will output the results of a query in one, uninterrupted stream, with the result that much of the output scrolls off-screen. This is particularly inconvenient when querying the backup for a list of files. To manage this and ensure query results are returned one screen at a time edit the dsm.optfile, add the following two lines and then restart the CLI:

ScrollPrompt Yes

Scrolllines

30

*wherethisnumberequatestoyourwindowsize

The following query commands illustrate typical command syntax and output.

4.1. Querying your scheduled backup slot

To query your scheduled backup slot enter qsched(which is short for queryschedule). The output should look similar to that below:

tsm>qsched

ScheduleName:WEEKLY_OUCS

Description:OUCSweeklyincrementalbackup

ScheduleStyle:Classic

Action:Incremental

Options:

Objects:

Priority:5

NextExecution:149Hoursand35Minutes

Duration:15Minutes

Period:1Week

DayofWeek:Wednesday

Expire:Never

4.2. Querying what files are included / excluded for backup

At the tsm>prompt enter qinclexclto list output similar to the following:

tsm>qinclexcl ***FILEINCLUDE/EXCLUDE*** ModeFunction Pattern(matchfromtopdown) SourceFile

------------------------------------------------------------

ExclFilespace/var/run

/opt/tivoli/tsm/client/ba/bin/incl.excl

ExclFilespace/tmp

/opt/tivoli/tsm/client/ba/bin/incl.excl

ExclDirectory/

/.opera/

/cache4

/opt/tivoli/tsm/client/ba/bin/incl.excl

ExclDirectory/

/.mozilla/

/Cache

/opt/tivoli/tsm/client/ba/bin/incl.excl

ExclDirectory/

/.netscape/

/cache

/opt/tivoli/tsm/client/ba/bin/incl.excl

ExclDirectory/var/tmp

/opt/tivoli/tsm/client/ba/bin/incl.excl

ExclAll

/

/dsmsched.log

/opt/tivoli/tsm/client/ba/bin/incl.excl

ExclAll

/

/core

/opt/tivoli/tsm/client/ba/bin/incl.excl

ExclAll

/

/a.out

/opt/tivoli/tsm/client/ba/bin/incl.excl

NoDFSinclude/excludestatementsdefined.

Note that the include / exclude directives are listed at the partition level first, then the directory / folder level and finally at the file level. The order they are displayed above is the order in which these directives are applied by TSM. You will note that the order of the directives at any one level is the opposite of the order in which they appear in the options file. That is, TSM reads the directives listed in options file from the bottom up.

4.3. Querying what partitions have been backed up

10/8/12

[IT Services] Using the TSM Client Command Line Interface for Backup & Restore

At the tsm>prompt enter qfito list which partitions have been backed up:

**Windows**

#

LastIncrDate

Type FileSpaceName

---

--------------

---- ---------------

1

01-05-200219:46:59 NTFS \\tentacles.oucs\c$

**Mac**

tsm>qfi

# LastIncrDate Type FileSpaceName --------------

---- ---------------

1 02-05-200202:13:13 HFS

2 25-07-200112:26:09 HFS /Volumes/Disk2

---

/

**Unix/Linux **

tsm>qfi

#

LastIncrDate

Type FileSpaceName

---

--------------

---- ---------------

1

02-05-200202:13:13 UFS

/

2

25-07-200112:26:09 UFS

/export/home

3

02-05-200202:13:26 UFS

/home

4

16-01-200211:26:37 UFS

/scratch

5

02-05-200202:13:54 UFS

/usr/local

6

12-02-200202:52:41 UFS

/var

**Netware**

#

LastIncrDate

Type

FileSpaceName

---

--------------

----

---------------

1 02-05-200200:23:46 NTW:LONG NSMS1\SYS:

2 02-05-200200:22:42 NDS

3 02-05-200200:25:33 NTW:LONG NSMS1\USR:

4 02-05-200200:25:11 NTW:LONG NSMS1\APPS:

NSMS1\NDS:

4.4. Querying what files have been backed up

The syntax for querying what files you have backed up involves giving a file specification which is necessarily OS specific. Also, if an incorrect file specification is given it may appear that you have no backups. Consequently, several worked examples are displayed below for Windows, Mac, Unix/Linux and Netware environments.

If you give just a path to a directory / folder you will only get the folder returned as the output:

**Windows**

tsm>qbac:\Downloads

Size

BackupDate

MgmtClass

A/IFile

-----------

----------

---- 0 B 03-04-200219:57:54

STANDARD

------- A \\tentacles.oucs\c$\Downloads

**Mac**

tsm>qba/Users

Size

BackupDate

MgmtClass

A/IFile

----

-----------

----------

-------

72 B 24-04-200202:52:09

STANDARD

A /Users

**Unix/Linux**

tsm>qba/home/ians/projects

Size

BackupDate

MgmtClass

A/IFile

10/8/12

[IT Services] Using the TSM Client Command Line Interface for Backup & Restore

 

----------

-------

---- ----------- 512 B 24-04-200202:52:09

STANDARD

A /home/ians/projects

**Netware**

tsm>qbaUSR:/ians

 

Size

BackupDate

MgmtClass

A/IFile

----

-----------

----------

-------

0 B 02-05-200200:25:32

STANDARD

A USR:/ians

Note that the Windows client lists the directory in UNC format. This format can also be used for the file specification in the query.

If you just add a trailing * (star) as a wildcard in the above query, TSM will only return those files and directories backed up immediately below the directory path given in the query

tsm>qba/home/ians/projects/*

Size

BackupDate

MgmtClassA/IFile

----

-----------

-----------------

512

12-09-200119:57:09 STANDARD A /home/ians/projects/hfs0106

1,024 08-12-200102:46:53 STANDARD A /home/ians/projects/hsm41perf

512

12-09-200119:57:09 STANDARD A /home/ians/projects/hsm41test

512

24-04-200200:22:56 STANDARD A /home/ians/projects/hsm42upg

If you want to query all the current files and directories backed up under a directory and all its subdirectories you need to add the - subdir=yes option as below:

tsm>qba/home/ians/projects/*-subdir=yes

Size

BackupDate

MgmtClassA/IFile

----

-----------

-----------------

512

12-09-200119:57:09 STANDARD A /home/ians/projects/hfs0106

1,024 08-12-200102:46:53 STANDARD A /home/ians/projects/hsm41perf

512

12-09-200119:57:09 STANDARD A /home/ians/projects/hsm41test

512

24-04-200200:22:56 STANDARD A /home/ians/projects/hsm42upg

1,024 12-09-200119:57:09 STANDARD A /home/ians/projects/hfs0106/test 1,024 12-09-200119:57:09 STANDARD A /home/ians/projects/hfs0106/test/test2 12,048 04-12-200102:01:29 STANDARD A /home/ians/projects/hsm41perf/tables 50,326 30-04-200201:35:26 STANDARD A /home/ians/projects/hsm42upg/PMR70023 50,326 27-04-200200:28:15 STANDARD A /home/ians/projects/hsm42upg/PMR70099 11,013 24-04-200200:22:56 STANDARD A /home/ians/projects/hsm42upg/md5check

Note that file specifications with spaces in them will need to be quoted. Thus to query all the files backed up under C:\My Documentsand any sub-directories below it, the following input would be required:

tsm>qba"C:\MyDocuments\*"-subdir=yes

By default only the current versions of files are listed. In order to query both current active and previous inactive versions of files, add the -inactive option to the query:

tsm>qba/home/ians/projects/*-subdir=yes-inactive

Size

BackupDate

MgmtClassA/IFile

----

-----------

-----------------

512

12-09-200119:57:09 STANDARD A /home/ians/projects/hfs0106

1,024 08-12-200102:46:53 STANDARD A /home/ians/projects/hsm41perf

512

12-09-200119:57:09 STANDARD A /home/ians/projects/hsm41test

512

24-04-200200:22:56 STANDARD A /home/ians/projects/hsm42upg

1,024 12-09-200119:57:09 STANDARD A /home/ians/projects/hfs0106/test 1,024 12-09-200119:57:09 STANDARD A /home/ians/projects/hfs0106/test/test2 12,048 04-12-200102:01:29 STANDARD A /home/ians/projects/hsm41perf/tables 8,448 03-12-200101:31:18 STANDARD I /home/ians/projects/hsm41perf/tables

10/8/12

[IT Services] Using the TSM Client Command Line Interface for Backup & Restore

50,326 30-04-200201:35:26 STANDARD A /home/ians/projects/hsm42upg/PMR70023 50,326 27-04-200200:28:15 STANDARD A /home/ians/projects/hsm42upg/PMR70099 11,013 24-04-200200:22:56 STANDARD A /home/ians/projects/hsm42upg/md5check 11,013 23-04-200217:10:08 STANDARD I /home/ians/projects/hsm42upg/md5check

Note how the previous versions of files are marked by an I(for Inactive) in the A/I column.

Unix and Linux users should be aware of potential confusion of how TSM stores files in nested file spaces. This can arise in the following situation: A user backs-up a file myconf.txton the /usrpartition in the /usr/local/etcdirectory. Subsequently, a new disk partition is mounted at /usr/local, or it is defined as a virtualmountpoint. Running the command:

tsm>qba/usr/local/etc/*

will not list the myconf.txtfile. This is because TSM always looks for a file in the filespace (partition) with the longest name that matches the file specification you include in the command. In the above example, the file was not backed up under the /usr/local filespace but under the /usrfilespace. To tell TSM to look for a file in latter filespace you must specify the filespace explicitly using braces, as below:

tsm>qba{/usr}/local/etc/*

5. Backing up your data

5.1. Backing up local disks

The basic syntax for backing up local disk volumes is dsmcbackup-typediskvolume(s), where backup-type is one of incremental or selective. We recommend incremental backups only; selective backups cause data to be sent even if it already exists on the HFS. By default, if the disk volume is omitted, TSM will backup those volumes specified by the Domain option in the dsm.opt options file. If Domain is set to All-Local, then to backup all local volumes enter:

tsm>incr

where incris an abbreviation for incremental.

To incrementally back up specific volumes enter:

tsm>incrC: D: F:

**Windows

tsm>incr/

**Mac

tsm>incr/ /usr /usr/local /home

**Unix/Linux

tsm>incrNDS: USR: SYS: APPS:

**Netware

To run an incremental by date backup of the above, add the -incrbydate option, as in:

tsm>incrC: D: F: -incrbydate

To back up entire disk volumes irrespective of whether files have changed since the last backup, use the selectivecommand with a wildcard and -subdir=yes as below:

tsm>selC:\* D:\* F:\* tsm>sel/*

tsm>sel/* /usr/* /home/* -su=yes **Unix/Linux

tsm>selUSR:* SYS:* APPS:* -su=yes **Netware

-su=yes -su=yes **Mac

**Windows

5.2. Backing up selected files

The basic syntax for backing up selected files is similar to that for backing up disk partitions. Be aware, however, that you cannot use wildcards in directory / folder names:

tsm>incr/home/ians/projects/hsm*/*-su=yes

10/8/12

[IT Services] Using the TSM Client Command Line Interface for Backup & Restore

ANS1071EInvaliddomainnameentered:'/home/ians/projects/hsm*/*'

tsm>sel/home/ians/projects/hsm*/*-su=yes

SelectiveBackupfunctioninvoked.

ANS1081EInvalidsearchfilespecification'/home/ians/projects/hsm*/*'entered

You can, however, enter several file specifications on the command line, as below:

**Windows**

tsm>incr"C:\MyDocuments\Worddocs\*" "C:\MyDocuments\htmldocs\*"-su=yes

**Mac**

tsm>incr/Users/ians/* /Users/test/*-su=yes

**Unix/Linux**

tsm>incr/home/ians/projects/hsm41test/* /home/ians/projects/hsm41perf/*-su=yes

**Netware**

tsm>incrUSR:ians/projects/tsm/* "USR:ians/projects/newhtml/*"-su=yes

6. Restoring your data

The basic syntax for restoring your data is dsmcrestoresource-filedestination-file. If the destination-file is omitted then TSM will restore the file(s) to their original location. Be aware that, as with backup, you cannot use wildcards in directory / folder names. By default, TSM will restore the most current active version of a file.

6.1. Restoring selected files

**Windows**

tsm>rest"C:\MyDocuments\Worddocs\mydoc.doc" "C:\MyDocuments\restore\" tsm>rest"C:\MyDocuments\Worddocs\mydoc.doc" "C:\MyDocuments\restore\myolddoc.doc"

**Mac**

tsm>rest/Users/ians/myfile.txt /Users/ians/restore/ tsm>rest/Users/ians/myfile.txt /Users/ians/restore/myoldfile.txt

**Unix/Linux**

tsm>rest/home/ians/myfile.txt /home/ians/restore/ tsm>rest/home/ians/myfile.txt /home/ians/restore/myoldfile.txt

**Netware**

tsm>restUSR:ians/myfile.txt* "USR:ians/restore/" tsm>restUSR:ians/myfile.txt* "USR:ians/restore/myoldfile.txt"

Note from the first example of each restore above that in order to specify a directory as a destination, you need a trailing / (slash) at the end of the destination-filespec. Otherwise TSM may overwrite a file of the same name. The second example demonstrates a filename in the destination-filespec.

Restores of single files cannot be restarted if interrupted. In this case you will need to restore the file afresh.

6.2. Restoring multiple files and directories

**Windows**

10/8/12

[IT Services] Using the TSM Client Command Line Interface for Backup & Restore

tsm>rest"C:\MyDocuments\Worddocs\*" "C:\MyDocuments\restore\"-su=yes

**Mac**

tsm>rest/Users/ians/projects/hsm41test/* /Users/ians/projects/restore/-su=yes

**Unix/Linux**

tsm>rest/home/ians/projects/hsm41test/* /home/ians/projects/restore/-su=yes

**Netware**

tsm>restUSR:ians/projects/tsm/* "USR:ians/projects/restore/"-su=yes

Note that in order to restore a full directory and the contents of all its sub-directories you need the -su=yesoption. It is always good practice to terminate the destination-filespec with a trailing / (slash) if the element in the destination-filespec is a directory.

As this restore is wild-carded, it can be restarted if interrupted due to user input (Ctrl-C), server error or communications error. Restartable restores can be queried via qrestand will restart at the point of interruption.

6.3. Restoring entire partitions

Essentially, the syntax is the same as in 'Restoring multiple files and directories' above. However, the obvious caveats are to ensure enough space in the destination partition and to allow enough time.

**Windows**

tsm>restC:\* D:\restore\"-su=yes

**Mac**

tsm>rest/Users/* /tmp/restore/-su=yes

**Unix/Linux**

tsm>rest/home/* /tmp/restore/-su=yes

**Netware**

tsm>restUSR:* USR:restore/-su=yes

As with 'Restoring multiple files and directories' above, this restore is wild-carded and thus can be restarted if interrupted.

6.4. Restoring old and/or deleted files

As with the GUI, TSM does not, by default, list or restore old and deleted inactive versions of files and directories. If you need to restore such a file, you need the -inactive-pickoptions. The -pick option, while not strictly necessary, causes TSM to display a list of files from which to pick. Issuing a restore as below will display the following pick window:

tsm>rest/home/ians/projects/* /tmp/restore/-su=yes -inactive-pick

TSMScrollablePICKWindow-Restore

# BackupDate/Time

FileSizeA/I File

--------------------------------------------------------------------------------------------------

170.|12-09-200119:57:09

171.|12-09-200119:57:09

172.|12-09-200119:57:09

173.|12-09-200119:57:09

174.|30-04-200201:35:26

175.|26-04-200201:02:08

176.|27-04-200200:28:15

177.|24-04-200219:17:34

650 B A /home/ians/projects/hsm41test/inclexcl.test 2.74KB A /home/ians/projects/hsm41test/inittab.ORIG 2.74KB A /home/ians/projects/hsm41test/inittab.TEST 1.13KB A /home/ians/projects/hsm41test/md5.out 512 B A /home/ians/projects/hsm42125upg/PMR70023 512 B I /home/ians/projects/hsm42125upg/PMR70023 512 B A /home/ians/projects/hsm42125upg/PMR70099 512 B I /home/ians/projects/hsm42125upg/PMR70099

10/8/12

[IT Services] Using the TSM Client Command Line Interface for Backup & Restore

178.|24-04-200200:22:56

179.|24-04-200200:22:56

180.|24-04-200200:22:56

181.|24-04-200200:22:56

182.|24-04-200200:22:56

183.|24-04-200200:22:56

184.|24-04-200200:22:56

185.|24-04-200200:22:56

186.|24-04-200200:22:56

187.|24-04-200200:22:56

188.|24-04-200200:22:56

189.|24-04-200200:22:56

190.|24-04-200200:22:56

191.|26-04-200201:02:08

192.|25-04-200216:33:36

1.35KB A /home/ians/projects/hsm42125upg/dsm.opt 4.17KB A /home/ians/projects/hsm42125upg/dsm.sys 1.13KB A /home/ians/projects/hsm42125upg/dsmmigfstab 7.30KB A /home/ians/projects/hsm42125upg/filesystems 1.25KB A /home/ians/projects/hsm42125upg/inclexcl 198 B A /home/ians/projects/hsm42125upg/inclexcl.dce 291 B A /home/ians/projects/hsm42125upg/inclexcl.ox_sys 650 B A /home/ians/projects/hsm42125upg/inclexcl.test 670 B A /home/ians/projects/hsm42125upg/inetd.conf 2.71KB A /home/ians/projects/hsm42125upg/inittab 1.00KB A /home/ians/projects/hsm42125upg/md5check 79.23KB A /home/ians/projects/hsm42125upg/mkreport.020423.out 4.27KB A /home/ians/projects/hsm42125upg/ssamap.020423.out 12.78MB A /home/ians/projects/hsm42125upg/PMR70023/70023.tar 12.78MB I /home/ians/projects/hsm42125upg/PMR70023/70023.tar

0---------10--------20--------30--------40--------50--------60--------70--------80--------90--

<U>=Up <D>=Down <T>=Top <B>=Bottom <R#>=Right <L#>=Left <G#>=GotoLine# <#>=ToggleEntry <+>=SelectAll <->=DeselectAll <#:#+>=SelectARange<#:#->=DeselectARange <O>=Ok <C>=Cancel pick>

You are now in the pick interface and can select individual files to restore via the number to the left, scroll up or down via Uand Das described at the bottom of each listing of files.

Remember to issue the destination-filespec with the original restore command if you want to prevent overwriting current versions of files with older versions.

7. Restoring your data to another machine

In certain circumstances, it may be necessary to restore some, or all, of your data onto a machine other than the original from which it was backed up. Ideally the machine platform should be identical to that of the original machine. Where this is not possible or practical please note that restores are only possible for partition types that the operating system supports. Thus a restore of an NTFS partition to a Windows 9x machine with just FAT support may succeed but the file permissions will be lost. Please do not attempt cross-platform restores, e.g. by trying to restore files onto a Windows machine that have previously been backed up with a non-Windows one: using TSM for Windows to try to access backups sent by other OS platforms can cause those backups to become inaccessible from the host system.

To restore your data to another machine you will need the TSM software installed on the target machine. Entries in dsm.sysand/or dsm.optwill need to be edited if the node that you are restoring from does not reside on the same HFS server as the one that you are restoring to. Please see our help page section on TSM configuration files for their locations for your operating system. To check which HFS server is required, please go to View TSM Client Details, where the listed HFS Serverwill be the one needed for the Servernamefield in both dsm.sys(Mac/Unix/Linux only) and dsm.opt(all operating systems). If you do need to edit these files, it is recommended that you first of all make copies so that you can get your old settings back later. The other two values which need to be changed are TCPServerand TCPPort, in dsm.sys(Mac/Unix/Linux) or dsm.opt(Windows/Netware): these can be got from our page on connecting to the HFS through a firewall, where the relevant fields are in the 'DNS Name' and 'Port' columns respectively.

To access files from another machine you should then start the TSM client as below:

dsmc-virtualnodename=DEAD.MACHINE

loaddsmc-virtualnodename=DEAD.MACHINE

**Windows,Mac,Unix/Linux

**Netware

where DEAD.MACHINE should be substituted for the nodename of the machine to be restored. You will then be prompted for the TSM password for this machine.

Querying and restoring the filestore is then as in the previous section, 6. Restoring your data. You will probably want to restore to a different destination to the original files to prevent overwriting files on the local machine, as below:

tsm>restD:\* D:\RESTORE\ -su=yes

**Windows

10/8/12

[IT Services] Using the TSM Client Command Line Interface for Backup & Restore

tsm>rest/home/*/scratch/ -su=yes tsm>restSOURCE-SERVER\USR:* USR:restore/ -su=yes

**Mac,Unix/Linux

**Netware

8. Authorizing another machine to restore your files

If you are responsible for a number of TSM client machines, you can protect against the loss of one machine by authorizing a different machine(s) to restore backup versions of your files. The basic syntax for this is setaccessbackupfilespecnode username. Thus to grant the root user on machine ANOTHER.NODE access to restore the /home filespace, you would issue the following:

tsm>setaccbackup/home/*/*another.noderoot

The equivalent commands on Windows and Netware machines would look like:

tsm>setaccbackupc:\*another.pc system

**Windows

tsm>setaccbackupUSR:* another.svr root

**Netware

The current access list can be queried and deleted using the queryaccand deleteacccommands.

Once access has been granted from another machine, you can query and restore files from that machine to your local machine using the -fromnodeoption, as below:

tsm>qfiles-fromnode=ANOTHER.NODE tsm>rest-fromnode=ANOTHER.NODE/home/*/* /home/restore/

9. Changing your TSM password

The TSM password is set to expire approximately one year after registration and at one-yearly intervals after that. Prior to this automatic expiry, you will be contacted to remind you to re-set this password. Note that even if you have the option

PASSWORDACCESS Generate

set in your options file, it is recommended you manually re-set your TSM password. To do this at the tsm>prompt enter:

tsm> setpassword oldpassword newpassword

prompt enter: tsm> setpassword oldpassword newpassword | | | | | | | University of Oxford.

|

|

|

|

|

|

|

University of Oxford.

 

About

Contact

Privacy

Cookies

Feedback

Accessibility

©

IT Services documents are available in alternative formats through advance request from the Help Centre.

Written by Ian Smith, April 2002. Latest revision Mon, 17 Sep 2012

[Change Page Style: Simple text | Printable version | Normal ]