From: Mills, John T (John.T.Mills@ERAC.COM)
Date: Tue Jun 03 2003 - 08:50:40 EDT
exclude.rootvg uses a grep matching format. You
want to include the start of line character to ensure
you don't exclude /randomapp/home as well.
^./home
Here's the excerpt:
For example, to exclude the contents of the directory called /tmp, and
avoid
excluding any other directories that have /tmp in the pathname, edit the
exclude file to read as follows:
^./tmp/
All files are backed up relative to . (current working directory). To
exclude any file or directory for which it is important to have the
search
match the string at the beginning of the line, use ^ (caret character)
as
the first character in the search string, followed by . (dot character),
followed by the filename or directory to be excluded.
If the filename or directory being excluded is a substring of another
filename or directory, use ^. (caret character followed by dot
character) to
indicate that the search should begin at the beginning of the line
and/or
use $ (dollar sign character) to indicate that the search should end at
the
end of the line.
John T. Mills
-----Original Message-----
From: Arthur Prince [mailto:arthurp@TOTALISE.CO.UK]
Sent: Tuesday, June 03, 2003 7:24 AM
To: aix-l@Princeton.EDU
Subject: [aix-l] /etc/exclude.rootvg format
What is the format for entries to this file?
e.g. to exclude /home should the entry simply be
/home
??
AP
This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 22:16:53 EDT