IBM Support

Backup of symbolic link directory

Troubleshooting


Problem

A directory is linked via symbolic link and its directory contents are not backed up by the file system incremental backup.

Cause

Working as designed

Diagnosing The Problem

The below example uses a file system named "/testfs", which contains the following directory :
lrwxrwxrwx 1 root root 12 Aug 29 11:47 testdir -> /otherfs/testdir
The following command backs up the contents of the linked directory. In this case, the files in the /otherfs/testdir directory are backed up.

dsmc incremental /testfs/testdir/ -su=yes

However, the following commands do not back up the contents of the linked directory :

dsmc incremental /testfs/testdir -su=yes
dsmc incremental /testfs -su=yes

Resolving The Problem

In the above example, for the files in the linked directory to be backed up (/otherfs/testdir), a trailing slash must be specified on the source file specification. This is working as designed. More information and examples are available via documentation APAR IC54717.

Related Information

[{"Product":{"code":"SSGSG7","label":"Tivoli Storage Manager"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Component":"Client","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF010","label":"HP-UX"},{"code":"PF016","label":"Linux"},{"code":"PF027","label":"Solaris"}],"Version":"All Supported Versions","Edition":"","Line of Business":{"code":"LOB26","label":"Storage"}}]

Document Information

Modified date:
17 June 2018

UID

swg21609690