- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- fbackup a directory without files inside
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
10-27-2017 02:52 AM
10-27-2017 02:52 AM
fbackup a directory without files inside
Bonjour,
I wonder if it is possible with fbackup to backup a directory without backing up files inside ?
My problem is quiet simple : I have to backup a whole tree, but in that tree I have some directories that store ephemeral files. I don't need to backup these kind of files. More, fbackup complains about files that have disappeared between the beginning of the backup and the moment fbackup wants to backup the files. Not a problem, but it pollutes my logs.
So I could use the exclude flag "-e" on that directories. Yes, but if I choose to work this way, I will have to create manually these directories after restoring the archive because the directories are not present in the archive. I don't want to do that. Just because it want to avoid any "exception" regarding other restore procedures.
I could try to exclude all files with a wildcar, but it simply doesn't work. For example -e "pendig/*" or -e pending/*
I could try do create a graph file with an exclude flag for each files under the directory. Yes but after the creation of the graph file, new files will appear in the directory.
I have tried several approachs without any succes.
I am sure that cpio would be a better approach because we have to pipe to cpio the whole listing of the inodes to save. So it's easier to filter. But I have some files bigger than 2 GB and the HP-UX incarnation of cpio is limited to 2 GB.
Any idea ?
Thanks in advance
Eric
- Tags:
- fbackup