ADSM-L

[ADSM-L] Archiving directories

2018-04-16 09:49:36
Subject: [ADSM-L] Archiving directories
From: "Loon, Eric van (ITOPT3) - KLM" <Eric-van.Loon AT KLM DOT COM>
To: ADSM-L AT VM.MARIST DOT EDU
Date: Mon, 16 Apr 2018 13:47:22 +0000
Hi guys,
I noticed something unexpected with creating archives. Let me explain what I 
did:

1)      Under root in the homedir I created a directory called test with two 
subdirs (test1 and test2) and one file (testfile).

2)      The directory test and everything in it is owned by a non-root account 
in Linux.
When I create an archive with dsmc ar /root/test/ -subdir=yes I notice that 
everything is archived as expected:

Directory-->               4,096 /root/test [Sent]
Normal File-->             1,032 /root/test/testfile [Sent]
Directory-->               4,096 /root/test/test1 [Sent]
Directory-->               4,096 /root/test/test2 [Sent]
Archive processing of '/root/test/*' finished without failure.

Then I issued the same command again. This time the output is not the same:

Normal File-->             1,032 /root/test/testfile [Sent]
Archive processing of '/root/test/*' finished without failure.

Only the file is archived, not the directory itself, nor the subdirectories. 
Not a big issue you might think, but it can be when you retrieve the whole 
tree. When the first archive is made yesterday and the second one today, the 
result of a retrieve will be different. A retrieve with -fromdate="04/15/2018" 
will retrieve the file and subdirs with the original (non-root) owner. A 
retrieve with -fromdate="04/16/2018" however will retrieve the file with the 
non-root owner and it will recreate the /root/test directory with root as 
owner. Since the subdirs are not archived on the 16th, they are not being 
retrieved at all.
I cannot understand why the (sub)directories are not being archived during the 
second archive command.
Kind regards,
Eric van Loon
Air France/KLM Storage Engineering

********************************************************
For information, services and offers, please visit our web site: 
http://www.klm.com. This e-mail and any attachment may contain confidential and 
privileged material intended for the addressee only. If you are not the 
addressee, you are notified that no part of the e-mail or any attachment may be 
disclosed, copied or distributed, and that any other action related to this 
e-mail or attachment is strictly prohibited, and may be unlawful. If you have 
received this e-mail by error, please notify the sender immediately by return 
e-mail, and delete this message.

Koninklijke Luchtvaart Maatschappij NV (KLM), its subsidiaries and/or its 
employees shall not be liable for the incorrect or incomplete transmission of 
this e-mail or any attachments, nor responsible for any delay in receipt.
Koninklijke Luchtvaart Maatschappij N.V. (also known as KLM Royal Dutch 
Airlines) is registered in Amstelveen, The Netherlands, with registered number 
33014286
********************************************************

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

ADSM.ORG Privacy and Data Security by KimLaw, PLLC