HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: fbackup Index
Operating System - HP-UX
1834142
Members
2325
Online
110064
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
Forums
Discussions
Discussions
Discussions
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
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
10-11-2006 12:49 AM
10-11-2006 12:49 AM
fbackup Index
Hello Everyone!
I am having a problem understanding the what is put in an fbackup index. I am using fbackup to transfer data from one machine to another over an NFS mount. I need to verify that transfer completed successfully. To do this I am using "ls -R dir1 | wc -l" which gives me a total file count.
Here is where it gets a little wierd. Because I am excluding some files from dir1 so that they will not be transfered to the other machine, I need to find another way to make sure all the files transfered. I figured that I could do a "cat indexfile | wc -l" to get a total of what fbackup transfered. Unfortunately these counts do not match up. Here is what I am getting if I transfer data from dir1 on local machine to dir2 on a remote machine.
dir1 = 5965 files
dir2 = 5949 files
The difference between the two counts might be explained because I am excluding some files/directories in my graph. But when I do my "cat indexfile | wc -l" I get a file count of 5886 files.
Does any one have any idea why the index has fewer entries then files transfered?
Sorry for being long winded and I hope I explained it so that you can understand it.
Any help would be greatly appreciated!!
Tim
I am having a problem understanding the what is put in an fbackup index. I am using fbackup to transfer data from one machine to another over an NFS mount. I need to verify that transfer completed successfully. To do this I am using "ls -R dir1 | wc -l" which gives me a total file count.
Here is where it gets a little wierd. Because I am excluding some files from dir1 so that they will not be transfered to the other machine, I need to find another way to make sure all the files transfered. I figured that I could do a "cat indexfile | wc -l" to get a total of what fbackup transfered. Unfortunately these counts do not match up. Here is what I am getting if I transfer data from dir1 on local machine to dir2 on a remote machine.
dir1 = 5965 files
dir2 = 5949 files
The difference between the two counts might be explained because I am excluding some files/directories in my graph. But when I do my "cat indexfile | wc -l" I get a file count of 5886 files.
Does any one have any idea why the index has fewer entries then files transfered?
Sorry for being long winded and I hope I explained it so that you can understand it.
Any help would be greatly appreciated!!
Tim
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-11-2006 01:11 AM
10-11-2006 01:11 AM
Re: fbackup Index
ls -R contains a *lot* of extra junk if you are trying to count files and directories. It will have blank lines, the name of the next directory on a separate line and if your ls command is aliased to ls -a, the 'hidden' files . and .. will be shown. So ls is the wrong command to use.
Instead, use find as in:
find dir1
Bill Hassell, sysadmin
Instead, use find as in:
find dir1
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-11-2006 05:51 AM
10-11-2006 05:51 AM
Re: fbackup Index
Thanks Bill!!
I really appreciate the help. This is one of those times where I was trying to make things more complicated then they really were. Your solution works great!
I really appreciate the help. This is one of those times where I was trying to make things more complicated then they really were. Your solution works great!
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.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP