- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Copying large amount of data to a NFS mounted dire...
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
03-20-2003 09:08 AM
03-20-2003 09:08 AM
Copying large amount of data to a NFS mounted directory.
Thanks in advance...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-20-2003 09:25 AM
03-20-2003 09:25 AM
Re: Copying large amount of data to a NFS mounted directory.
My first thought is to leverage the incremental backup capabilities of 'fbackup'.
You could "collect" the updated files inot a directory of choice with 'frecover' and then copy only the "recovered" files. Something like:
# cd /realdir
# fbackup -1 ???i . ???f - | (cd /tempdir; frecover ???Xsrf
Have a look at the 'fbackup' man pages for more information.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-20-2003 09:59 AM
03-20-2003 09:59 AM
Re: Copying large amount of data to a NFS mounted directory.
Here's an alternative to James' neat solution, this time using cpio:
You'd need to touch -t the file /tmp/nfsbackup with an appropriate time before you first used it.
cd /dir2backup
find . -newer /tmp/nfsbackup | cpio -pdmulv /backupdest
touch /tmp/nfsbackup
regards,
Darren.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-20-2003 11:14 AM
03-20-2003 11:14 AM
Re: Copying large amount of data to a NFS mounted directory.
Sorry, I dropped part of the command. It should be:
# cd /realdir
# fbackup -1 ???i . ???f - | (cd /tempdir; frecover ???Xsrf -)
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-20-2003 12:10 PM
03-20-2003 12:10 PM
Re: Copying large amount of data to a NFS mounted directory.
I think the CPIO will work just fine. I am running a test right now to see which will be quicker.
I couldn't get fbackup going to a mounted nfs directory before? I didn't spend a whole lot of time on it though..
Thanks again...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-20-2003 01:43 PM
03-20-2003 01:43 PM
Re: Copying large amount of data to a NFS mounted directory.
set $TmpDirList to location to check
set DAYS to 1 for anything modified in the last day.
find ${TmpDirList} -type f -mtime +${DAYS} -print > /tmp/filelist
You can read the filelist in a script and cpio tar your files into a backukp.
SEP
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
03-20-2003 02:38 PM
03-20-2003 02:38 PM
Re: Copying large amount of data to a NFS mounted directory.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-20-2003 03:04 PM
03-20-2003 03:04 PM