NTBACKUP .bks file

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I'm trying to make backups on the fly by creating my own .bks file. The
problem is that the .bks files appear to be some odd unicode file. I'm using
a custom VB 6 app to generate the .bks file. I can generate a unicode output
file, but NTBACKUP still doesn't want to accept it as a valid .bks file. Is
there some easy way to code it to output a file that NTBACKUP will accept as
a valid .bks file that doesn't involve hex editting?
 
Hop said:
I'm trying to make backups on the fly by creating my own .bks file. The
problem is that the .bks files appear to be some odd unicode file. I'm using
a custom VB 6 app to generate the .bks file. I can generate a unicode output
file, but NTBACKUP still doesn't want to accept it as a valid .bks file. Is
there some easy way to code it to output a file that NTBACKUP will accept as
a valid .bks file that doesn't involve hex editting?

Under VB6 it should be fairly easy to convert the file to
unicode format. Just start it with $FF $FE, then make
every second byte $00. To see an example, use notepad.exe
to open an ASCII file, then save it in unicode format.
 
We found out it was easier to construct a valid file using VB .net instead of
VB 6, so that's what we did.
 
Back
Top