- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: fbackup with -o option for *.gz
Operating System - HP-UX
1752666
Members
5555
Online
108788
Solutions
Forums
Categories
Company
Local Language
юдл
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
юдл
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-18-2010 08:55 AM
тАО02-18-2010 08:55 AM
Hello everyone, I'm trying to run a copy with the fbackup command and do not know if it's possible to exclude from Archie wildcards, type *.gz o distribution* ... etc ...
for example:
fbackup-f prufback.fback-i prufbackup /-e prufbackup / archiv *
fbackup-f prufback.fback-i prufbackup /-e prufbackup/archive.dist01 prufbackup / pruebafbackup.gz
You can do a exclude file with *. gz?
thank you very much.
for example:
fbackup-f prufback.fback-i prufbackup /-e prufbackup / archiv *
fbackup-f prufback.fback-i prufbackup /-e prufbackup/archive.dist01 prufbackup / pruebafbackup.gz
You can do a exclude file with *. gz?
thank you very much.
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-18-2010 08:58 AM
тАО02-18-2010 08:58 AM
Re: fbackup with -o option for *.gz
sorry, I mean the option -e (exclude)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-18-2010 09:15 AM
тАО02-18-2010 09:15 AM
Solution
Shalom,
From the man page.
-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. There is no limit on how many times the -e option can be specified.
-g graph graph defines the graph file. The graph file is a text
file containing the list of file names of trees to be
included or excluded from the backup graph. These
trees are interpreted in the same manner as when they
are specified with the -i and -e options. Graph file
entries consist of a line beginning with either i or e,
followed by white space, and then the path name of a
tree. Lines not beginning with i or e are treated as
an error. There is no default graph file. For
example, to back up all of /usr except for the subtree
/usr/lib, a file could be created with the following
two records:
With the graph file, you can create an exclude list of tiles to omit.
find /path -name *.gz > /tmp/exclude.list
The find command will let you create a file list for exclusion. That can be integrated into the graph file.
So, yes, with a little work you can do this job.
SEP
From the man page.
-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. There is no limit on how many times the -e option can be specified.
-g graph graph defines the graph file. The graph file is a text
file containing the list of file names of trees to be
included or excluded from the backup graph. These
trees are interpreted in the same manner as when they
are specified with the -i and -e options. Graph file
entries consist of a line beginning with either i or e,
followed by white space, and then the path name of a
tree. Lines not beginning with i or e are treated as
an error. There is no default graph file. For
example, to back up all of /usr except for the subtree
/usr/lib, a file could be created with the following
two records:
With the graph file, you can create an exclude list of tiles to omit.
find /path -name *.gz > /tmp/exclude.list
The find command will let you create a file list for exclusion. That can be integrated into the graph file.
So, yes, with a little work you can do this job.
SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-18-2010 10:20 AM
тАО02-18-2010 10:20 AM
Re: fbackup with -o option for *.gz
I thought so Steven, thank you very much for your response and your help, I've done with the option that says and it worked correctly.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP