Exclude list


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Exclude list
# 1  
Old 12-02-2008
Exclude list

Hi,

I am trying to exclude "/web" directory from a server.

I am able to login to the server, and this is the command it gives me:

[nw998kt@gcoapp01 nw998kt]$ /usr/openv/netbackup/exclude_list
bash: /usr/openv/netbackup/exclude_list: No such file or directory


can anyone pls help me Smilie
# 2  
Old 12-02-2008
If you cant figure it out im not sure anyone can help you. Its written in plain english what is wrong.
# 3  
Old 12-02-2008
The exclude list is just a text file with the directories you want to exclude.

so if your netbackup policy is called "myserver123_full" then your exclude file should be created with the name: "/usr/openv/netbackup/exclude_list.myserver123_full"

if you want to exclude the /web directory:
Code:
# echo "/web" > /usr/openv/netbackup/exclude_list.myserver123_full
# cat /usr/openv/netbackup/exclude_list.myserver123_full
/web

# 4  
Old 12-02-2008
thanks Ikon
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Perl next if @array (exclude a list of values)

I'm trying to exlude a list of values with perl to process while reading in a file. Is there a way to use the next if with a list? Example: @array = qw(val1 val2 val3 val6); while (<>) { next if $_ =~ @array; # values I don't want to process here print; # process the rest here }... (8 Replies)
Discussion started by: timj123
8 Replies

2. UNIX for Dummies Questions & Answers

Du exclude in Solaris

How do you exclude a filesystem using du command in solaris? for example /proc Tried this but its not working du -sk -d /* --exclude=/proc | sort -nr | cut -f2 | xargs du -sh | head - in linux it is working. (2 Replies)
Discussion started by: jinslick25
2 Replies

3. Shell Programming and Scripting

Exclude certain folders

Hi Experts, Below is my shell script and it will move the files older than 90 days to archive mount. Now my new requirement is , I need to move some of the directory files older than 365 days. How can I achieve this. Simply I have DIR1 DIR2 DIR3 DIR4 I need to exclude DIR 2 and DIR 2... (5 Replies)
Discussion started by: arumugavelvelu
5 Replies

4. Linux

List all files created today exclude last one

Hi, ALL thanks in advance, i listed all files using this command ls -ltr $(date +%Y%m%d)*.xmlbut i would like to exclude the last one created ; Best regard MEROUAN Use code tags, thanks. (4 Replies)
Discussion started by: merouan
4 Replies

5. Ubuntu

[Solved] Using Find with an exclude/exclude file

I am familiar with using tar and exclude/include files: tar zcf backup.dirs.tgz --files-from=include.mydirs --exclude-from=exclude.mydirs --no-recursion but was wondering if I could use find in the same way. I know that you can just specify the directories to exclude but my list is... (2 Replies)
Discussion started by: metallica1973
2 Replies

6. Shell Programming and Scripting

ls to exclude file

I have cgicsave.env and cgic*, but I want to print cgic* value but NOT cgicsave.env Thanks (9 Replies)
Discussion started by: xs2punit
9 Replies

7. Shell Programming and Scripting

ls exclude pattern

Hello, With ls *.html I am getting all the files ending with html; what would be the best why to get all the files not ending with html? Thanks (2 Replies)
Discussion started by: JCR
2 Replies

8. UNIX for Dummies Questions & Answers

list the files but exclude the files in subdirectories

If I execute the command "ls -l /export/home/abcde/dev/proj/code/* | awk -F' ' '{print $9}' | cut -d'/' -f6-8" it will list all the files in /export/home/abcde/dev/proj/code/ directory as well as the files in subdirectories also proj/code/test.sh proj/code/test1.c proj/code/unix... (8 Replies)
Discussion started by: shyjuezy
8 Replies

9. Solaris

tar exclude list

I have solaris 8, I want to create tar for all files under this directory structure #/export/home/atg/Dynamo/home There is a subdirectory under this tree called servers/supersds/logs I want to exclude logs subdirectory so I created exclude list which contains servers/supersds/logs But tar... (2 Replies)
Discussion started by: Tirmazi
2 Replies

10. UNIX for Dummies Questions & Answers

Getting 'tar' to exclude

I want 'tar' to exclude certain dir's. tar cvf ............. ............ does the whole lot, but I want to exclude the 'log' dirs. (6 Replies)
Discussion started by: kuultak
6 Replies
Login or Register to Ask a Question