Include/exclude issue ?
I need to exclude oradata files from the OS incremental backup "exclude.dir /exlibris1/oradat*" where they lice but I need to backup (include some *.archive files in same path but in subdirectories) I have included the archive path /exlibris2/oradata/aleph1/arch/ but it still thinks that they are excluded with the inclexcl statements I have listed below, Does any one see what would help us to exclude what we need to but include what we need to backup in the sub-path ? INCLEXCL file exclude.dir /exlibris1/oradat* exclude.dir /exlibris2/oradat* include /exlibris2/oradata/aleph1/arch/ exclude.dir /var/run exclude.dir /etc/mnttab exclude.dir /proc exclude.dir /backup I am not seeing something Thanks for any help. Justin
Include/Exclude issue
I have added exclude statements in my dsm.opt file to exclude the dat files in my Windows2000 Profiles. The syntax of my exclude statement is: EXCLUDE "d:\...\*.dat" When I open the GUI on the client and look at the files under the backup selection, it shows that the files are excluded from backup. The problem is that TSM is generating errors with our normally scheduled backups saying that it cannot backup these files because they are in use by another process. Why would TSM attempt to be backing up files I've specifically excluded. Thanks, Jim Jelf Sr. Systems Administrator Superior Consultant
Re: Include/exclude issue ?
EXCLUDE.DIR is processed before regular INCLUDE or EXCLUDE statements, so position of EXCLUDE.DIR has no bearing. I'd suggest just using INCLUDE to include the files you want to back up, then use EXCLUDE to exclude the rest. Regards, Andy Andy Raibeck IBM Software Group Tivoli Storage Manager Client Development Internal Notes e-mail: Andrew Raibeck/Tucson/[EMAIL PROTECTED] Internet e-mail: [EMAIL PROTECTED] The only dumb question is the one that goes unasked. The command line is your friend. "Good enough" is the enemy of excellence. "ADSM: Dist Stor Manager" wrote on 2005-09-19 11:38:13: > I need to exclude oradata files from the OS incremental backup "exclude.dir > /exlibris1/oradat*" where they lice but I need > to backup (include some *.archive files in same path but in subdirectories) > > I have included the archive path /exlibris2/oradata/aleph1/arch/ but it > still thinks that they are excluded with the inclexcl statements I have > listed below, > Does any one see what would help us to exclude what we need to but include > what we need to backup in the sub-path ? > > > INCLEXCL file > exclude.dir /exlibris1/oradat* > exclude.dir /exlibris2/oradat* > include /exlibris2/oradata/aleph1/arch/ > exclude.dir /var/run > exclude.dir /etc/mnttab > exclude.dir /proc > exclude.dir /backup > > > I am not seeing something > Thanks for any help. > > Justin
RES: Include/exclude issue ?
Hello Justin, Exclude.dir statements take precedence over all includes and includes, so you cannot include some files that reside on directories excluded by a exclude.dir. Your options would be: 1) code all the individual exclude.dir statements, leaving alone the one you want; 2) Use the virtualmountpoint statement in your configuration file, therefore making the desired directory appear as a separate mount point for backup purposes. Paul Gondim van Dongen MCSE IBM Certified Deployment Professional Tivoli Storage Manager 5.2 Tivoli Workload Scheduler 8.2 VANguard - Value Added Network guardians http://www.vanguard-it.com.br +55 81 3419-8094 -Mensagem original- De: Justin Case [mailto:[EMAIL PROTECTED] Enviada em: segunda-feira, 19 de setembro de 2005 15:38 Para: ADSM-L@VM.MARIST.EDU Assunto: Include/exclude issue ? I need to exclude oradata files from the OS incremental backup "exclude.dir /exlibris1/oradat*" where they lice but I need to backup (include some *.archive files in same path but in subdirectories) I have included the archive path /exlibris2/oradata/aleph1/arch/ but it still thinks that they are excluded with the inclexcl statements I have listed below, Does any one see what would help us to exclude what we need to but include what we need to backup in the sub-path ? INCLEXCL file exclude.dir /exlibris1/oradat* exclude.dir /exlibris2/oradat* include /exlibris2/oradata/aleph1/arch/ exclude.dir /var/run exclude.dir /etc/mnttab exclude.dir /proc exclude.dir /backup I am not seeing something Thanks for any help. Justin
Re: Include/exclude issue ?
Here's what I use and it's working fine. I removed the exclude.dir that was there. Client is Solaris 8 with TSM client 5.1.5.2. EXCLUDE /oradata[1-9]/.../* * include /oradata9/backup1/.../* include /oradata9/backup2/.../* Gerald Michalak "ADSM: Dist Stor Manager" wrote on 09/19/2005 01:38:13 PM: > I need to exclude oradata files from the OS incremental backup "exclude.dir > /exlibris1/oradat*" where they lice but I need > to backup (include some *.archive files in same path but in subdirectories) > > I have included the archive path /exlibris2/oradata/aleph1/arch/ but it > still thinks that they are excluded with the inclexcl statements I have > listed below, > Does any one see what would help us to exclude what we need to but include > what we need to backup in the sub-path ? > > > INCLEXCL file > exclude.dir /exlibris1/oradat* > exclude.dir /exlibris2/oradat* > include /exlibris2/oradata/aleph1/arch/ > exclude.dir /var/run > exclude.dir /etc/mnttab > exclude.dir /proc > exclude.dir /backup > > > I am not seeing something > Thanks for any help. > > Justin
Re: Include/Exclude issue
These files are part of the "System Object" part of the back up. Regards, Karel -Oorspronkelijk bericht- Van: Jelf, Jim [mailto:[EMAIL PROTECTED] Verzonden: donderdag 4 maart 2004 14:43 Aan: [EMAIL PROTECTED] Onderwerp: Include/Exclude issue I have added exclude statements in my dsm.opt file to exclude the dat files in my Windows2000 Profiles. The syntax of my exclude statement is: EXCLUDE "d:\...\*.dat" When I open the GUI on the client and look at the files under the backup selection, it shows that the files are excluded from backup. The problem is that TSM is generating errors with our normally scheduled backups saying that it cannot backup these files because they are in use by another process. Why would TSM attempt to be backing up files I've specifically excluded. Thanks, Jim Jelf Sr. Systems Administrator Superior Consultant
Re: Include/Exclude issue
Hi Jim! Probably because you haven't stopped and started the scheduler service after adding the exclude statement? Kindest regards, Eric van Loon KLM Royal Dutch Airlines -Original Message- From: Jelf, Jim [mailto:[EMAIL PROTECTED] Sent: Thursday, March 04, 2004 14:43 To: [EMAIL PROTECTED] Subject: Include/Exclude issue I have added exclude statements in my dsm.opt file to exclude the dat files in my Windows2000 Profiles. The syntax of my exclude statement is: EXCLUDE "d:\...\*.dat" When I open the GUI on the client and look at the files under the backup selection, it shows that the files are excluded from backup. The problem is that TSM is generating errors with our normally scheduled backups saying that it cannot backup these files because they are in use by another process. Why would TSM attempt to be backing up files I've specifically excluded. Thanks, Jim Jelf Sr. Systems Administrator Superior Consultant ** 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. **