cancel
Showing results for 
Search instead for 
Did you mean: 

how to create .f files via nbu command ?

Charley90
Level 3

Dear all,
Is there any command that could create a backup content data (.f files) in /usr/openv/netbackup/db/images/localhost/XXX/xxx.f ?
I need get .f files but I don't want to run a really backup job via NBU GUI.
So how to create .f files via nbu command ?

Thanks.

1 ACCEPTED SOLUTION

Accepted Solutions

mph999
Level 6
Employee Accredited

Not that I can think of as the ceation of the snapshot is done 'manually' outside of NetBackup, therefore there is no way to monitor when it has been created successfully, and thus for NBU to know when to start the backup job.

 

View solution in original post

8 REPLIES 8

Marianne
Level 6
Partner    VIP    Accredited Certified
You can run a backup from cmd using bpbackup.
Use -i to kick of a manual backup of scheduled backup policy.
Without -i you run a user backup. User Backup schedule must exist in a policy for client name.

More info about manual backup and user schedule in Admin Guide I and Commands manual.
Links to manuals in Handy NBU Links in my signature.

mph999
Level 6
Employee Accredited

Can you explain why you need .f files ?  Or, do you just mean you want to run a backup but not via the GUI (in which case Marianne gives some advice).

.f files 'without a backup' cannot be created, as it is the backup that creates them.

Hi Marianne

Thanks for your kindly reply. (∩_∩)

I hava tried the bpbackup cmd and it can run a really backup job that not only created .f files but also created .img and .info files.

(example:  bpbackup -i -p policy_test01_cl -h localhost -s test -S localhost -t 0 )

But I only want to get .f files which only contain content data structure (content nama, file name, size, data ,etc.), so cmd bpbackup may not meet my request.

mph999
Level 6
Employee Accredited

It is not possible to only create .f files.

As you will be aware, .f files contain a list of files that are contained within the backup.  The .img /.info files are part of the actual image itself.

To have a .f file, you need a backup image, in the same way that to have a backup image means you will have a .f file - it is not possible to have one without the other.

Without the backup image, a .f file has no use - what do you want this file for ?

Hi   mph999

I need develop a script to implement Snapshot backup function instead of NBU Snapshot method (cause my array do not support NBU snapshot method).

So I used CLI to create a snapshot LUN on array, then used some NBU cmds to create .f file for restore job, and mount snapshot LUN to media server and convert date to .img  and .info files . 

Now I can not find some cmds that only create .f files or .img/.info files.

Do you have any ideas ?

mph999
Level 6
Employee Accredited

OK, so if I understand correctly, you have created a mountpoint on the media server that contains a snapshot taken outside NBU that you want to backup.

I'm guessing then, you want a listing of what is in the snapshot by creating a .f file.

Unfortunately, this is impossible, there is no way to do it.

Thank you for your speedy reply.

Is there any way that using snapshot LUN to run backup job without participate Veritas OST    ?

mph999
Level 6
Employee Accredited

Not that I can think of as the ceation of the snapshot is done 'manually' outside of NetBackup, therefore there is no way to monitor when it has been created successfully, and thus for NBU to know when to start the backup job.