Thank you for being a valued part of the CNET community. As of December 1, 2020, the forums are in read-only format. In early 2021, CNET Forums will no longer be available. We are grateful for the participation and advice you have provided to one another over the years.

Thanks,

CNET Support

Resolved Question

Batch Script to verify backups are complete

Jun 24, 2013 11:52PM PDT

Hey guys I am completely new to programming but want to create a batch program that can verify that computers/servers have been backed up by cobian backup software, any ideas? Thanks guys!

Discussion is locked

patjg892 has chosen the best answer to their question. View answer

Best Answer

- Collapse -
Re: batch script
Jun 25, 2013 12:00AM PDT

I'd use a vbscript that calls the filesystem object to browse through the folders. Googling VBSCRIPT FILESYSTEM will learn you all you have to know, except maybe programming basics. You might find it easier to hire a programmer to do it or to teach you programming.

But maybe a simple batch with dir and comp commands would suffice. That depends on your requirements. The nice thing about batch files: no need to program (unless there are loops in it or you need to check returncodes) Just do it on the screen first.

The above is only valid if that backup software creates files identical to the original files. If it stores the data in a proprietary format it's hopeless, unless they provide the necessary API.

Kees

- Collapse -
Sorry, wrong google search
Jun 25, 2013 12:02AM PDT

Should be VBSCRIPT FILESYSTEMOBJECT.

Kees