Operating System - HP-UX
1823228 Members
3605 Online
109648 Solutions
New Discussion юеВ

Re: fbackup and frecover on one command

 
SOLVED
Go to solution
Manju Kampli
Trusted Contributor

fbackup and frecover on one command

Hi,

I am trying to do copy of files from one Volume Group to other VG file systems on same system.
I want to use fbackup command. Does any one know the syntax of fbackup and frecover which will copy the files from one file system to other without copying to any temporary location ( like tape OR disk )
the command looks like something like
#fbackup -i olddir |frecover newdir

Thanks in advance
Manju
Never stop "LEARNING"
2 REPLIES 2
Andreas Voss
Honored Contributor
Solution

Re: fbackup and frecover on one command

Hi,

have a look at man fbackup, there is an example:
fbackip -i -f - |(cd ; frecover -Xrf -)
BTW why not using find|cpio:
cd ;find . -depth|cpio -pmdv

Regards
Hjortur Arnason
New Member

Re: fbackup and frecover on one command

I often use this way to move between volume groups, or even between servers:
fbackup -i . -f - |(cd ;frecover -r -f - )
Good luck!
Once a nerd, always a nerd