08-25-2012 02:03 AM
symantec netbackup disk based image via the command line?
When would I, or would I not, use cross mount points?
symantec netbackup configure retention from command line ?
What is the difference between the expiration date for a volume in NetBackup's media catalog and Media Manager's volume database?
In which location(path) the temp files located in Netbackup for Windows/Unix?
Solved! Go to Solution.
08-25-2012 07:49 AM
/var is a separate mount point under /
If you do not allow cross mount points, it will not backup /var. If you allow cross mount points, it will.
How do you find a disk based image via the command line and then delete it?
Look in the reports, some of them refer to disk images - one way
bpimagelist - then search for the disk based images in the FRAG lines - another way
Look directly in the disk STU at the actual backup images, the names of the files contain the backupid.
Use bpexpdate -backupid <backupid> to expire them.
Martin
08-25-2012 04:21 AM
08-25-2012 05:07 AM
symantec netbackup disk based image via the command line?
When would I, or would I not, use cross mount points?
symantec netbackup configure retention from command line ?
What is the difference between the expiration date for a volume in NetBackup's media catalog and Media Manager's volume database?
In which location(path) the temp files located in Netbackup for Windows/Unix?
I don't understand 1.
2. Cross mount points if you specify (for example) / in the backup selection, and wish NBU to backup root and then 'cross' over to other 'filesystems' that are spearate mountpoints. for example /var.
3. Configurer retention time using bpretlevel command eg. bpretlevel -r 10 5 d (set ret level 10 to 5 days)
4. MediaDB expiratuion date is the date the last image on the tape expires.
VolDB expire date is not set as default, but is set is the date after which NBU will not use the tape.
5. Impossible question, NBU creates what you could classify as tmp files in various places (that is files that are created, and then deleted sometime later).
There is a temp dir on windows
Install_path\VERITAS\NetBackup\temp
And on unix
/usr/openv/tmp
But there are other files that can be created/ deleted at variuos times, and other areas where you can delete files that will be recreated with NBU restarts, so I would say this is an unreasonable question.
Martin
08-25-2012 07:36 AM
2. Cross mount points if you specify (for example) / in the backup selection, and wish NBU to backup root and then 'cross' over to other 'filesystems' that are spearate mountpoints. for example /var.
Above is not clear
Question 1 was below:
How do you find a disk based image via the command line and then delete it? |
08-25-2012 07:49 AM
/var is a separate mount point under /
If you do not allow cross mount points, it will not backup /var. If you allow cross mount points, it will.
How do you find a disk based image via the command line and then delete it?
Look in the reports, some of them refer to disk images - one way
bpimagelist - then search for the disk based images in the FRAG lines - another way
Look directly in the disk STU at the actual backup images, the names of the files contain the backupid.
Use bpexpdate -backupid <backupid> to expire them.
Martin
08-25-2012 07:56 AM
if i allow cross mount point and in backup selection i have only /.Then it will act as ALL_LOCAL_DRIVES?
08-25-2012 10:35 AM
More of less, yes. The backup works a bit different as with all local drives the master contacts the client to work out what files systems are there, if you use / and cross mount points it doesn't. So effectivly on unix at least you would back up the same data.
Martin
08-25-2012 10:48 AM
08-25-2012 08:53 PM
CROSS MOUNT POINT WORKS ON BOTH WINDOWS AND UNIX?
More of less, yes. The backup works a bit different as with all local drives the master contacts the client to work out what files systems are there, if you use / and cross mount points it doesn't. So effectivly on unix at least you would back up the same data.
Above statement is valid for win also?
Can i write one mount point in backup selection and check cross mount point in my environment?
08-26-2012 01:53 AM
Nikhil, when you mark a post as SOLVED, you indicate that your query has been ANSWERED.
If you have more doubts, questions, etc about Cross Mountpoints and you cannot find the answers in NBU Admin Guide I or even by searching this forum and/or Google, then PLEASE start a NEW Discussion?
08-26-2012 02:09 AM
Not sure for windows, as you have
c:\
d:\
e:\
and so on, these are different drives, not sure if NBU considers these as mountpoints. Mountpoints are really a Unix thing.
1. You could always try it with a test policy
2. Start a new post to ask this question
3. Look in the manual like this
08-26-2012 05:50 AM
08-26-2012 06:00 AM
Because ALL_LOCAL_DRIVES will backup all the different mountpoints.
If you select cross all mount points it would backup up things twice.
Consider this simple example.
The server has just two filesystem
/
/var (this is a separate mountpoint)
If I select cross all mountpoints and tell it to backup up /
NBU will start to backup /, when it gets to /var, it is allowed to cross into it and back it up - as you understand.
If you the use all local drives and cross mount points
First, NBU works out what the separate mount points are (this is a difference when using all local drives)
It works out it has to backup / and /var separately
NBU will backup / as before, when it gets to /var, which is listed under / - because cross mount points is allowed, it will backup /var, but, it is backuping up /var as part of /
Once it finishes, it will backup the next filesystem in the list, which is /var
So, /var will have been backed up twice
Martin
08-26-2012 06:02 AM
The server has just two filesystem
/
/var (this is a separate mountpoint)
If I do not select cross all mountpoints and tell it to backup up /
Then in that case?
08-26-2012 06:19 AM
08-26-2012 06:21 AM
08-26-2012 11:29 AM
It would only back up / and not backup /var, as /var is a separate mountpoint.
Martin