Forum Discussion

newbie_girl's avatar
16 years ago
Solved

How does Netbackup create a filelist to backup?

My colleague and I were under the impression that when a client backup starts, the Netbackup reads files from the clients to determine what to backup (whether full or inc), then creates a filelist to backup.  Once that filelist is created, ONLY those files on the filelist gets backed up.  Any NEW files created AFTER the filelist was created will NOT get backed up until the next scheduled backup. 

But this is not what we are seeing on a Windows client.  We see a file created/modidied hours after the backup has started, yet it gets included in the backup to tape. 

In this example, the file was created on 2009, 7/21 0400 and the backup started at 7/21 01:40:
file name                                                       backup date                                     modified date
xxxx_LOG_SLS_200907210400.TRN     Tue Jul 21 01:40:07 CDT 2009   Tue Jul 21 03:00:06 CDT 2009

How is this possible?   Please advise. 

Thanks!
  • Hi there,

    NetBackup doesn't create a filelist - it just backups up whatever is theer when it gets to it.  So if you have 10 files 1,2,3,4,5,6,7,8,9,10 and delete say file 5 when it's on file 4 it will continue and not error. 

    There is if I recall correctly an exception - rman / oracle backup using the agent - as oracle "most certainly" needs all the files in the backup to be backed up together, NBU makes a list of what's there - if anything gets deleted before it is written to tape or whatever, it should error.

    Martin
  • Hi there,

    NetBackup doesn't create a filelist - it just backups up whatever is theer when it gets to it.  So if you have 10 files 1,2,3,4,5,6,7,8,9,10 and delete say file 5 when it's on file 4 it will continue and not error. 

    There is if I recall correctly an exception - rman / oracle backup using the agent - as oracle "most certainly" needs all the files in the backup to be backed up together, NBU makes a list of what's there - if anything gets deleted before it is written to tape or whatever, it should error.

    Martin
  • Anonymous's avatar
    Anonymous
    Worth increasing VERBOSE to level 5 on the client and look at the bpbkar log directory for logs.
    Here is some other info on this process. And a backup to null test you can run without any tape or disk storage needed:
    https://www-secure.symantec.com/connect/forums/netbackup-not-backing-all-files#comment-2462911

    This is the process that does the work on the client. if interested on more info about the workflow see this post on NetBackup Process Flow.
    https://www-secure.symantec.com/connect/forums/netbackup-processes-0#comment-2322791

    Is this on the latest release NetBackup 6.5.4 you see this?

  • Your test proves this.  As it was created after the backup was started and is included in that backup, it is proof that no filelist was created.

    Martin


  • Thank you Stuart...the 2 clients in question are on v5.1 and v.5.1MP4.  Master is 6.5.1.
  • If you use the all local drives directive in the backup selection, it will build a list of mount points (UNIX) or drives (windows) to backup before it starts.  So it's possible that if a drive is added or mount point point created, it might be missed.  Never tested this.