ADSM-L

Re: Processing of Hard & Soft links

2002-08-27 10:29:21
Subject: Re: Processing of Hard & Soft links
From: "Malbrough, Demetrius" <Demetrius.Malbrough AT TTIINC DOT COM>
To: ADSM-L AT VM.MARIST DOT EDU
Date: Tue, 27 Aug 2002 09:26:02 -0500
Murthy,

There are several client options that you can use which involves utilizing
links.

TSM History for links (UNIX Clients Manual)

TSM handles symbolic links differently than it does
regular files and directories. In some operations, such as a backup,
only the path information that the symbolic link contains is backed
up. In other operations, such as archive, the file to which the
symbolic link points is archived, but under the name of the symbolic
link.

For directories, most operations are affected by the setting of the
subdir option. If the subdir option is set to no , only the directory
and the files it contains are affected. If the subdir option is yes ,
TSM recursively processes all files and directories in the directory
tree.
Incremental backup
- When you run an incremental backup, TSM backs up
only the path information to a file or directory to which a
symbolic link points. The contents of the file or the contents
of files in the directory are not backed up.

Selective backup
- When you run a selective backup on a symbolic link that
points to a file, TSM backs up only the path information to
that file. The contents of the file are not backed up.

Restore
- When you restore a symbolic link that originally pointed
to a file, the symbolic link is restored, whether or not the file
it points to still exists. If you restore a symbolic link that
originally pointed to a directory:
¶Without the files in the directory (for example,
/home/gillis/symdir/), and the symbolic link does not
exist on your file system, nothing is returned.

Along with the files in the directory (for example,
/home/gillis/symdir/*), and the symbolic link does not
exist on your file system, TSM builds the directory on
your workstation and puts the files in that directory. If
the subdir option is set to yes , TSM recursively restores
all subdirectories of the directory.
¶And the symbolic link already exists on your
workstation, the result depends on how the
followsymbolic option is set; if it is set to:
Yes - The symbolic link is restored and overwrites
the directory on your workstation. If the
followsymbolic option is set to yes , a symbolic
link can be used as a virtual mount point.
No - TSM displays an error message. No is the
default.

The archsymlinkasfile option specifies whether TSM follows a symbolic link
and archives the file or directory it points to, or archives the symbolic
link only. Use this option with the archive command. (THIS IS THE DEFAULT IN
TSM 4.2 UNIX CLIENTS)

The followsymbolic option is used to restore to a symbolic link (that is a
virtual mount point) and is unrelated to the archsymlinkasfile option.

Hope this helps a bit!!!

Demetrius Malbrough
AIX Storage Specialist

-----Original Message-----
From: Murthy V Gongala [mailto:gmurthy AT IN.IBM DOT COM]
Sent: Tuesday, August 27, 2002 8:20 AM
To: ADSM-L AT VM.MARIST DOT EDU
Subject: Processing of Hard & Soft links


Hi,

I have a Linux Machine with TSM Client ver 4.2.
I need to backup a directory with nothing but softlinks pointing to some
directories.
I have set  the subdir  option in the dsm.opt file as given below.

SUbdir   YES

I have selected the directory in the GUI for a Incremental(Complete)

But it does not process the link to take backup of the directories the
links point to.
It just takes backup of only the links.

How do i make the TSM client backup the directories the links point to.
Also is there a way i can stop the TSM client from backing up hardlinked
files.

Help in understanding how Hard & Soft links are processed would be greatly
appreciated.

Thanks in Advance
murthy

V S Murthy Gongala
Bangalore, INDIA
Tel : 91-80-5094232

<Prev in Thread] Current Thread [Next in Thread>