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
12-21-2002 12:47 AM
12-21-2002 12:47 AM
I want to exclude and include some files from two different
directories.
e.g) fbackup -v -g /backup/graph -f /dev/rmt/0m
inside the graph file:
i /backup/mydir/*.dat
i /backup/other/mydir/*.dat
e /backup/mydir/*.bak
e /backup/other/mydir/*.idx
will this going to work. I just want to make sure and if yes, what will be the frecover
command.
Thanks in advance.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-21-2002 01:22 AM
12-21-2002 01:22 AM
SolutionSee the man pages for more details on frecover. Also one good option -N with -v just list files in backup but doesn't actually restore on to disk.
Rajeev
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-21-2002 02:12 AM
12-21-2002 02:12 AM
Re: fbackup
Things are right and it will work.
Also for the frecover option you have to use the same -g option to restore the selected files and directories using the i-include and e-exclude as defined in the graph file.
There is no default graph file as such so make sure that you give the absolute path of the graph file because when the frecover does not find the graph file it restores the entire tape.
check these two documents.might be useful
http://www2.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000063197953
http://www2.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000064209593
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-21-2002 02:18 AM
12-21-2002 02:18 AM
Re: fbackup
Thanks for the reply. However,
I get the following msg:
Could not access -i/-e file /backup/other/mydir/*.idx
could not access -i/-e file /backup/mydir/*.bak
could not open the dates file /var/adm/fbackupfiles/dates
appreciate your prompt reply.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-21-2002 02:40 AM
12-21-2002 02:40 AM
Re: fbackup
If that is the case use the -u option with the incremental level of backup like
-u 0 (full backup)
-u 1 (files modified from the 0 level)
0 level backup (full backup)
fbackup -v -f /dev/rmt/0m -u -0 -g
-u option updates the /var/adm/fbackupfiles/dates file.
So when you take the incremental backup the fbackup refers this file and checks the timestamp and takes only the modified files from that time.
Revert
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-21-2002 02:42 AM
12-21-2002 02:42 AM
Re: fbackup
//*
If fbackup is used for incremental backups, a database of past backups
must be kept. fbackup maintains this data in the text file
/var/adm/fbackupfiles/dates, by default.*** Note that the directory
/var/adm/fbackupfiles must be created prior to the first time fbackup is used for incremental backups.**** The -d option can be used to specify an alternate database file. The user can specify to update this file when an fbackup session completes successfully
*//
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-21-2002 03:02 AM
12-21-2002 03:02 AM
Re: fbackup
It is saying "Could not access -i/-e file /backup/other/mydir/*.idx" because this file doesn't exist. I mean check the path and the file type *.idx there might be no files of that kind in that path.
And "could not open the dates file /var/adm/fbackupfiles/dates " it says because the user which is doing fbackup doesn't have permission to write into this dates file or may be in the directory /var/adm/fbackupfiles he doesn't have permission.
Please check both these conditions thats where the problem is.
Rajeev
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-21-2002 03:10 AM
12-21-2002 03:10 AM
Re: fbackup
but because I wanted to all files under the /backup/mydir
and under /backup/other/mydir
except *.bak and *.idx
.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-21-2002 03:13 AM
12-21-2002 03:13 AM
Re: fbackup
But the file is there and I'm
a super user " root "!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-21-2002 03:13 AM
12-21-2002 03:13 AM
Re: fbackup
fbackupfiles/dates is not existed.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-21-2002 03:14 AM
12-21-2002 03:14 AM
Re: fbackup
-rwxr----- 1 root sys 122 Jun 3 2000 dates
As permissions look above only the root user has all the permissions.
How are you running the fbackup.
Please show your command and also the permissions on these files.
As Rajeev pointed out,please check whether the *.dat and *.idx files are there in the dir
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-21-2002 03:16 AM
12-21-2002 03:16 AM
Re: fbackup
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-21-2002 03:19 AM
12-21-2002 03:19 AM
Re: fbackup
Please remove the asterisk(*) and try specifying the entire-filename in your graph file.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-21-2002 03:27 AM
12-21-2002 03:27 AM
Re: fbackup
fbackup does not support wildcards
remove the wildcard from the graph file and specify the entire file-name in the list.
You can just write a script to grep the .idx and .dat files from the specified path.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-21-2002 04:04 AM
12-21-2002 04:04 AM
Re: fbackup
it is working fine. It was just the fbackupfiles/dates were not available besides
the wild card issue.
Thanks again.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-24-2005 04:37 AM
02-24-2005 04:37 AM