- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: skip files with fbackup
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
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
Community
Resources
Forums
Blogs
- 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
11-24-2003 08:35 PM
11-24-2003 08:35 PM
skip files with fbackup
I have a 3 deep directory tree for user accounts.
/mail/CommuniGate/Accounts/r.sub/i.sub/richardl.macnt#
in the macnt directory I have the following files:
INBOX.mbox account.info account.settings
Without omniback is there a way to back everything up in the /mail filesystem EXEPT files without the mbox extention?
Thanks
Richard
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-24-2003 09:30 PM
11-24-2003 09:30 PM
Re: skip files with fbackup
You could tr a find | cpio, something like :
find /mail -name '*.mbox' | cpio -ovB > xxx
or everything except '.mbox' files :
find /mail ! -name '*.mbox' | cpio -ovB > xxx
Regards.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-24-2003 10:38 PM
11-24-2003 10:38 PM
Re: skip files with fbackup
find /mail ! -name '*.mbox' | tar -xvf > destination
Bye
Bruno
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-24-2003 10:47 PM
11-24-2003 10:47 PM
Re: skip files with fbackup
Sorry Bruno, but tar cannot work on file names, even with "f -". Only cpio or pax do.
Regards.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-24-2003 10:57 PM
11-24-2003 10:57 PM
Re: skip files with fbackup
Fbackup has an include and exclude function.
Easiest was is to configure the backup using SAM.
i /root (included)
e /temp (excluded)
See Man fbackup.
Paula
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-24-2003 11:02 PM
11-24-2003 11:02 PM
Re: skip files with fbackup
tar -cvf <
But this will probably result in 'commandline too large'...
A better way with tar would be:
find /mail -name *.mbox -print >files2excl
tar -cvfE <
(files2excl will contain the files you want to exclude from the backup)...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-24-2003 11:30 PM
11-24-2003 11:30 PM
Re: skip files with fbackup
try this one:
tar cvf zz `find /mail/CommuniGate/Accounts/r.sub/i.sub/richardl.macnt ! -name "*.mbox"`
greetings,
Michael
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-24-2003 11:33 PM
11-24-2003 11:33 PM
Re: skip files with fbackup
as Jean-Louis points out, tar cant take the filenames from stdin besides you extract instead of creating an archive. ;-)
greetings,
Michael
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-25-2003 09:26 PM
11-25-2003 09:26 PM
Re: skip files with fbackup
Richard, my answer had to be this:
#find /mail/CommuniGate/Accounts/r.sub/i.sub ! -name *.mbox -print > elist
#tar -cvfE
(I hope of to have understood well which it is your problem)
HTH
Bruno
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-27-2003 12:19 AM
11-27-2003 12:19 AM
Re: skip files with fbackup
if the problem is solved, could you spare some points from the endless supply of points, HP has, for those, who could help you? ;-)
greetings,
Michael
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-01-2003 04:09 AM
12-01-2003 04:09 AM
Re: skip files with fbackup
are you still with us?
greetings,
Michael
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-01-2003 04:26 AM
12-01-2003 04:26 AM
Re: skip files with fbackup
Yes, I am still with you.
And there is no need to remind me to give points.
I have been here long enough and know to give points and I have done so since 2000.If you look at my profile you will see that I have assigned points to 1889 of 2005 responses to my questions. That is a 94% avg.
And it is only 94% because of the fact that I have not gone back to find the other questions to give points to. But I feel that I have done my fair share. You can be assured that I will assign points and respond as soon as I get a chance.
Richard
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-01-2003 04:39 AM
12-01-2003 04:39 AM
Re: skip files with fbackup
my apologies.. Should have looked for the history first. No offence meant.
greetings,
Michael