Operating System - HP-UX
1831402 Members
3025 Online
110025 Solutions
New Discussion

Re: Excluding files using fbackup

 
SOLVED
Go to solution
Kenn_1
Occasional Contributor

Excluding files using fbackup

Hi..
How can this file/s be excluded from fbackup (/var/tmp/datafiles.tar.ddmmyy).I've included this line in the fbackup.graph file.

i /var
e /var/opt/perf/datafiles
e /var/tmp/datafiles.tar*


It seems that '*' is not working with fbackup. Pls advise..
6 REPLIES 6

Re: Excluding files using fbackup

hello kenn,

check out whether you are specifying the path of graph file with -g option.
Michael Tully
Honored Contributor
Solution

Re: Excluding files using fbackup

I am fairly sure that you can only exlude using actual file names and not wildcards.
Anyone for a Mutiny ?
Sanjay Kumar Suri
Honored Contributor

Re: Excluding files using fbackup

-e path: path specifies a tree to be excluded from the backup graph. This tree must be a subtree of part of the backup graph. Otherwise, specifying it will not
exclude any files from the graph.

I don't think * can be used. You have to exclude files/directories as below:

-e /var/opt
-e /var/opt/perf

sks
A rigid mind is very sure, but often wrong. A flexible mind is generally unsure, but often right.
malay boy
Trusted Contributor

Re: Excluding files using fbackup

sorry wild card not working with fbackup.
There are three person in my team-Me ,myself and I.
Geoff Wild
Honored Contributor

Re: Excluding files using fbackup

- e is for path, therfore, a workaround for you - put all your datafiles.tar.ddmmyy in a separate directory:

/var/tmp/datafiles/

then in graph file:

e /var/tmp/datafiles

Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
Kenn_1
Occasional Contributor

Re: Excluding files using fbackup

Hi All..

Thanks for the response.. really appreciate.. and I do believe that I cannot use wildcards for this and thank you also for workaround solution.

Cheers
-Kenn-