- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: fbackup
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
тАО12-21-2010 10:13 PM
тАО12-21-2010 10:13 PM
how to fire a fbackup on same server but diff location, eg: moving /home/test to /export/test
Solved! Go to Solution.
- Tags:
- fbackup
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-21-2010 10:20 PM
тАО12-21-2010 10:20 PM
Re: fbackup
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-21-2010 10:27 PM
тАО12-21-2010 10:27 PM
Re: fbackup
#fbackup -vf /dev/rmt/cXXtXdXBESTn -i /home/test -i /export/test -I /home/Index
with this you are tkng the backup of /home/test & /export/test..
========================================
[listing]
#frecover -f /dev/rmt/cXXtXdXBESTn -x -N -v
Regards,
Ani
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-21-2010 10:39 PM
тАО12-21-2010 10:39 PM
Re: fbackup
*fbackup MUST rewind the tape before beginning the backup and after
completing.
Command Description
fbackup -vf /dev/rmt/0m -i / full system backup
fbackup -vf /dev/rmt/0m -i specifically include file/directory
/etc/hosts preceded by -i
fbackup -vf /dev/rmt/0m -i specifically include multiple
/etc/hosts -i /usr files/directories preceded by -i
fbackup -vf /dev/rmt/0m -e specifically exclude file/directory
/etc/hosts preceded by -e
fbackup -vf /dev/rmt/0m -g
graph_file_name backup from a graph file
frecover -xvf /dev/rmt/0m restore entire tape to originating
directory structure
restore entire tape to originating
frecover -xovf /dev/rmt/0m directory structure and overwrite any
existing files
cd /tmp restore entire tape to /tmp
frecover -xXvf /dev/rmt/0m (originating directory structure will
not be overwritten)
frecover -vf /dev/rmt/0m -I verify backup and read the index file
/tmp/index from the tape into a file called
/tmp/index
frecover -rNv -f /dev/rmt/0m 2>
/tmp/listing list of what is really on the tape
frecover -V /tmp/volume_headers
-f /dev/rmt/0m show volume headers on the tape
Regards,
Ani
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-21-2010 10:43 PM
тАО12-21-2010 10:43 PM
SolutionBackup and restore to the same server doesn't require tape drive at all.
by the below command you will be able to move directories across different filesystems within the same box
fbackup -i /home/test -f - | (cd /export/test ; frestore -Xrf -)
thanks
kamal
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-21-2010 10:53 PM
тАО12-21-2010 10:53 PM
Re: fbackup
# cd /home/test; fbackup -f - -i . | (cd /export/test; frecover -f - -r)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-21-2010 11:41 PM
тАО12-21-2010 11:41 PM
Re: fbackup
Your cmd excatly works out but can you explain me,
cd /home; == going to the sorce dirctry.
fbackup -f - -i . ===??
|(cd /var/adm/crash;==== using pipe going to the destn dirctry.
frecover -f - -r)== -f -r ????
can you explain me?
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-22-2010 12:06 AM
тАО12-22-2010 12:06 AM
Re: fbackup
>> frecover -f - -r)== -f -r ????
man fbackup -> for more information
man frecover -> for more information
. referring to (current working dir)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-22-2010 12:15 AM
тАО12-22-2010 12:15 AM
Re: fbackup
Explanation :
fbackup
-i : include /home/test in the backup
-f : backup to non default distination
- : standard output
| : redirect the output to another command
frecover :
-r : restore everything
-f : restore from non-standard location
- : standard output
thanks
kamal
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-22-2010 12:32 AM - edited тАО10-01-2011 07:12 PM
тАО12-22-2010 12:32 AM - edited тАО10-01-2011 07:12 PM
Re: fbackup frecover
>kemo: -f: restore from non-standard location
>-: standard output
For frecover(1m), this should be stdin. :-)