Video Screencast Help
Protect Your POS Environment Against Retail Data Breaches. Learn More.

restoring zero byte files

Created: 21 Sep 2005 • Updated: 21 May 2010 | 12 comments

is it possibel to restore a zero byte file? I know it is empty but we need this. I know we can just recreate the file but that is not an option.

any switches or anything I can do?

Discussion Filed Under:

Comments 12 CommentsJump to latest comment

Stumpr2's picture

I'm not certain that this will work but please try to restore the folder and the folder contents that the zero length file is in. Please let me know the results.

VERITAS ain't it the truth?

Brian Blackwell's picture

no, that did not work. I tried that yesterday hence my question.

Stumpr2's picture

Well thank you for reporting this anomoly. I didn't think it would work with netware. It does work on UNIX. Have you considered changing platforms? :-)

VERITAS ain't it the truth?

Brian Blackwell's picture

hehe, umm, like that will go over like a fart in church :)

so, there is no way to do it? no switch to make or set?

Stumpr2's picture

I don't know of any. But I'll contact Jeffrey Redington as he has more experience than I do. Perhaps he may know. I'll ask him to look at this thread.

VERITAS ain't it the truth?

Jeffrey Redington's picture

I don't know of a way to restore 0 byte files in Netware with NetBackup either. I would have thought restoring the folder would work but if that failed also, I know of no other way. You may want to open a case with support in case there is an undocumented method, but since I used to work support and don't know of one I don't hold out a lot of hope. There should be a method and they may have to consider this a defect or not, they may just say it is functioning as expected. You never know.

Brian Blackwell's picture

yeah, I have come to the conclusion that it is a "feature". although the guys that made the app will write a function to detect if it is gone and if so, just recreate it. sounds pretty silly to reference a file that is zero bytes anyway. but I degress as I did not write the app.

thanks for the response. maybe one day it will be a matter of emergency.

Brian Blackwell's picture

I was curious on a couple of things. I was able to restore this empty file to a windows box. so that seems to be fine. but is there no way to do this on a netware box? no setting some place I am missing?

Jeffrey Redington's picture

Not unless it is an undocumented switch on a command line somewhere. I know the bp.ini pretty well and there isnt anything in there about 0 byte files.

Brian Blackwell's picture

thanks Jeffrey, hopefully a tech can see this and let us know.

Stumpr2's picture

If you find an answer then please let us know. Thanks.

VERITAS ain't it the truth?

Brian Blackwell's picture

ok, I have found a solution. If the orignal backup was off a windows NT 4.x box and if the zero byte file has to be restored to a novell box it will not work. If the zero byte file is off a novel box and has to be restored it works fine. the problem is that a windows box doesn't have a attribute that novell looks for. seeing how it was missing it would not allow the file to be restored on to another novell box. you can resotre it back to a windows box no problem. so it is not a software problem, but a missing attibute.

to wrap it up, you can't restore a zero byte file form a windows box to a novell box but you can resotre a zero byte file form novell to novell.

Thanks guys for your help.