The option subdirectory=yes needs to be included in the statement.
your backup script would read:
dsmc selective -subdir=yes "/documentum/" "/oracle7/"
Try this. if it doesn't work (which it should) let us know..
Regards,
-----Original Message-----
From: Eugene Awyong - Singapore [mailto:[EMAIL PROTECTED]]
Sent: 18 July 2001 09:15
To: [EMAIL PROTECTED]
Subject: selective backup?
I use the selective backup function to do a daily backup of 2 directories in
one of my servers. It is run via crontab, this is how the script file looks
like
dsmc selective "/documentum/" "/oracle7/"
However, I realise when I do it, it doesn't quite seem to back up the
directories below that of these 2 directories? I have read through the
selective help under dsmc, and it says when you put a slash after the
directory, it would back up the file system for that directory. When I run
the script manually, this is what I get.
From what I understand, directories below the /documentum and
/oracle7 are not backed up? How is it possible for me to backup the entire
directory then, i.e to do a recursive directory backup of these 2
directories?
Many Thanks in Advance.
Node Name: SAP_DOC
Session established with server SA_DEVT: AIX-RS/6000
Server Version 4, Release 1, Level 3.0
Server date/time: 07/18/01 16:02:50 Last access: 07/18/01 01:36:00
Directory--> 1,024 /documentum/ [Sent]
Directory--> 1,024 /documentum/dctm [Sent]
Directory--> 1,024 /documentum/dmadmin [Sent]
Directory--> 96 /documentum/doclink [Sent]
Directory--> 96 /documentum/lost+found [Sent]
Directory--> 96 /documentum/orcle734NT [Sent]
Directory--> 1,024 /documentum/sapshare_home [Sent]
Directory--> 96 /documentum/system_mail_files [Sent]
Directory--> 96 /documentum/users [Sent]
Directory--> 96 /documentum/work_temp [Sent]
Normal File--> 814 /documentum/.cshrc [Sent]
Normal File--> 347 /documentum/.exrc [Sent]
Normal File--> 341 /documentum/.login [Sent]
Normal File--> 446 /documentum/.profile [Sent]
Normal File--> 254 /documentum/.sh_history [Sent]
Normal File--> 37 /documentum/test.txt [Sent]
Normal File--> 357 /documentum/dsmerror.log [Sent]
ANS1114I Waiting for mount of offline media.
Retry # 1 Directory--> 1,024 /documentum/ [Sent]
Retry # 1 Directory--> 1,024 /documentum/dctm [Sent]
Retry # 1 Directory--> 1,024 /documentum/dmadmin [Sent]
Retry # 1 Directory--> 96 /documentum/doclink [Sent]
Retry # 1 Directory--> 96 /documentum/lost+found [Sent]
Retry # 1 Directory--> 96 /documentum/orcle734NT [Sent]
Retry # 1 Directory--> 1,024 /documentum/sapshare_home [Sent]
Retry # 1 Directory--> 96 /documentum/system_mail_files
[Sent]
Retry # 1 Directory--> 96 /documentum/users [Sent]
Retry # 1 Directory--> 96 /documentum/work_temp [Sent]
Retry # 1 Normal File--> 814 /documentum/.cshrc [Sent]
Retry # 1 Normal File--> 347 /documentum/.exrc [Sent]
Retry # 1 Normal File--> 341 /documentum/.login [Sent]
Retry # 1 Normal File--> 446 /documentum/.profile [Sent]
Retry # 1 Normal File--> 254 /documentum/.sh_history [Sent]
Retry # 1 Normal File--> 37 /documentum/test.txt [Sent]
Retry # 1 Normal File--> 357 /documentum/dsmerror.log [Sent]
Selective Backup processing of '/documentum/*' finished without failure.
Directory--> 1,024 /oracle7/ [Sent]
Directory--> 1,024 /oracle7/EOFFICE [Sent]
Directory--> 96 /oracle7/admin [Sent]
Directory--> 2,048 /oracle7/bin [Sent]
Directory--> 96 /oracle7/cronjobs_dir [Sent]
Directory--> 1,024 /oracle7/dbs [Sent]
Directory--> 96 /oracle7/guicommon2 [Sent]
Directory--> 96 /oracle7/jdbc [Sent]
Directory--> 2,048 /oracle7/lib [Sent]
Directory--> 96 /oracle7/local [Sent]
Directory--> 96 /oracle7/lost+found [Sent]
Directory--> 1,024 /oracle7/md [Sent]
Directory--> 1,024 /oracle7/network [Sent]
Directory--> 96 /oracle7/nlsrtl3 [Sent]
Directory--> 96 /oracle7/ocommon [Sent]
Directory--> 96 /oracle7/oracore3 [Sent]
Directory--> 5,120 /oracle7/orainst [Sent]
Directory--> 1,024 /oracle7/otrace [Sent]
Directory--> 96 /oracle7/plsql [Sent]
Directory--> 1,024 /oracle7/precomp [Sent]
Directory--> 1,024 /oracle7/rdbms [Sent]
Directory--> 96 /oracle7/slax [Sent]
Directory--> 1,024 /oracle7/sqlplus [Sent]
Directory--> 1,024 /oracle7/src [Sent]
Directory--> 96 /oracle7/svrmgr [Sent]
Directory--> 96 /oracle7/tmp [Sent]
Directory--> 6,144 /oracle7/work [Sent]
Normal File--> 2,376 /oracle7/.sh_history [Sent]
Normal File--> 1,071 /oracle7/.profile [Sent]
Normal File--> 8,228 /oracle7/unix.prd [Sent]
Normal File--> 7,380 /oracle7/unix.prd0 [Sent]
Normal File--> 8,228 /oracle7/unix.prdO [Sent]
Normal File--> 475 /oracle7/profile_old [Sent]
Normal File--> 599 /oracle7/exp.sh [Sent]
Normal File--> 0 /oracle7/set_on_back.sql [Sent]
Normal File--> 61 /oracle7/test.sh [Sent]
Selective Backup processing of '/oracle7/*' finished without failure.
Total number of objects inspected: 53
Total number of objects backed up: 53
Total number of objects updated: 0
Total number of objects rebound: 0
Total number of objects deleted: 0
Total number of objects expired: 0
Total number of objects failed: 0
Total number of bytes transferred: 33.40 KB
Data transfer time: 0.00 sec
Network data transfer rate: 45,631.61 KB/sec
Aggregate data transfer rate: 4.72 KB/sec
Objects compressed by: 0%
Elapsed processing time: 00:00:07
http://www.phoenixitgroup.com
******************Internet Email Confidentiality Footer*******************
Phoenix IT Group Limited is registered in England and Wales under company
number 3476115. Registered Office: Technology House, Hunsbury Hill Avenue,
Northampton, NN4 8QS
Opinions, conclusions and other information in this message that do not
relate to the official business of our firm shall be understood as neither
given nor endorsed by it.
No contracts may be concluded on behalf of our firm by means of email
communications.
Confidentiality: Confidential information may be contained in this message.
If you are not the recipient indicated (or responsible for delivery of the
message to such person), you may not take any action based on it, nor should
you copy or show this to anyone; please reply to this email and highlight
the error to the sender, then delete the message from your system.
Monitoring of Messages: Please note that we reserve the right to monitor and
intercept emails sent and received on our network.
Warning: Internet email is not 100% secure. We ask you to understand and
observe this lack of security when emailing us. We do not accept
responsibility for changes made to this message after it was sent
Viruses: Although we have taken steps to ensure that this email and any
attachments are free from any virus, we advise that in keeping with good
computing practice the recipient should ensure they are actually virus free.