We help IT Professionals succeed at work.

Creating a backup script with ntbackup.

SEO_Computers
on
A Customer would like to be able to copy his My Documents, Sage Data, and Some other bits 'n' bobs from his hdd to a usb stick. Whilst copying this himself he realised that his usb stick was only 1GB and he needed to copy 1.5GB.

We should him how to use ntbackup which compressed the files and backed everything up nice and neatly to just under 1GB (something like 970MB, just right). What he now wants to be able to do is have something like a little backup script on his desktop that he can double click and it will do it job; instead of having to go into ntbackup and choose what he wants to backup all the time or setting it up as a scheduled task. He wants to be able to do this as and when he wants.

Is it possible to create a scheduled task but disable it and then export a shortcut to the desktop so he can double click it to enable it and run it....?? or something to that effect?
Comment
Watch Question

Technology and Business Process Advisor
Most Valuable Expert 2013
Commented:
Well, NTBackup doesn't compress things (there is no software compression built into it).  And if they have done something (I suspect omitting something in the folders), you're still VERY close to the capacity limit of the device and if this person adds much, they'll start having problems.  Considering the price of flash drives, I'd suggest you start by getting the person to buy some larger flash drives.

As for scripting NTBackup, it's not a problem.  Create the backup job and then you can schedule the backup job.  When you schedule it, it creates a scheduled task.  You can then copy the NTBackup command from the scheduled task and make it a batch file.

If you want an extensive option (that's perpetually in beta) you can look over by backup batch script - www.lwcomputing.com/mysoftware.asp