- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Best way to copy files
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
Discussions
Discussions
Forums
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
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
тАО07-30-2003 06:55 AM
тАО07-30-2003 06:55 AM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-30-2003 06:59 AM
тАО07-30-2003 06:59 AM
SolutionNo matter what you do, you will have to know the layout of your database. For oracle the files are rarely just sitting in the same directory.
For copying between systems, avoid rcp it sometimes didn't work for me.
scp, part of Secure Shell works fine.
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
тАО07-30-2003 06:59 AM
тАО07-30-2003 06:59 AM
Re: Best way to copy files
You'll need to include a little more information... What types of files are you copying, are you copying between disks on one server, or between servers?
Personally, I tend to use the following for copying stuff between dirs on a box:
find /sourcedir | cpio -pdmuxlv destdir
regards,
Darren.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-30-2003 07:00 AM
тАО07-30-2003 07:00 AM
Re: Best way to copy files
$ cd /source_dir
$ find . | cpio -pudlmv /destination_dir
omit v (verbose) option from cpio for more speed
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-30-2003 07:01 AM
тАО07-30-2003 07:01 AM
Re: Best way to copy files
If you mean copy for backup purposes, I prefer 'fbackup'. There is automatic retry of files that cannot be backed up because they are changing at the moment of copy (although one hopes not!). There is an index of files built and written to the front of the tape which makes later examination and/or recovery ('frecover') very easy. You can do full and/r incremental backups and you can include and exclude files and/or directories with simple "graph" files. See the man pages for 'fbackup' and 'frestore' for more information.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-30-2003 07:02 AM
тАО07-30-2003 07:02 AM
Re: Best way to copy files
I am worrying for
a)the integrity of data
b) all required data will be copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-30-2003 07:03 AM
тАО07-30-2003 07:03 AM
Re: Best way to copy files
# fbackup -f /dev/rmt/0m -i /tmp
# find /tmp -print | cpio -oBv > /dev/rmt/0m
# find /etc | cpio -ov > /dev/rmt/0m
# tar cv /tmp ( for default device )
# tar cvf /dev/rmt/1m /tmp (specify device)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-30-2003 07:03 AM
тАО07-30-2003 07:03 AM
Re: Best way to copy files
# cpio -pcmudv
Robert-Jan.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-30-2003 10:03 AM
тАО07-30-2003 10:03 AM
Re: Best way to copy files
since it is on the same server, i would also consider doing the copy operations in parallel...
hope this helps too!
regards
Yogeeraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-30-2003 12:35 PM
тАО07-30-2003 12:35 PM
Re: Best way to copy files
on target machine
remsh
This will effectively create a gzipped tar image of the source & simultanously transfer it acros the network & untar it..... nice efficient & simple only in concept.....(probaly be in the offing for the Obfucated perl/tar competition)
Regards
Tim