We help IT Professionals succeed at work.


cer asked
Medium Priority
Last Modified: 2013-12-28
I have three simple questions to NTBackup in NT4.0/SP3:
- How can I exclude single directories like \temp \recycler when using ntbackup within a batch job? I don't see a command line option.
- How can I create a Logfile that contains only exceptions. With /e all the directory names are listed too.
- What does the backup method "daily" do? I know all the others (normal, incremental, diferential).

I guess there is no solution for the first two ? But if you find one I will increase the points.
Watch Question


daily only backup files that is changed during the last 24 hours

as for the other 2 i dont think you can...
Daily backup backs up files that have changed on the day the backup is performed. It does not mark the files as backed up.

Not the solution you were looking for? Getting a personalized solution is easy.

Ask the Experts


Reggie: thats a little bit different to what j2 told me (what happens if I backup at 01:00 ?)

If no one can answer my first two questions (found a workarround for 2nd one already) and j2 is right, I would like to give him the points since he was first.

But I still would like to know how I can avoid backing up the TEMP directory and the swapfile.


Daily copy is useful for backing up files that changed that day. I'm sure it goes on the date stamp and not the last 24 hrs. All the documentation I've read says THAT DAY and not IN THE LAST 24 HRS. I was being pedantic, I know but if you Daily Copy at 01:00 you get the files that changed in the last hour.  As for the other 2 questions (which I should have had a stab at):

1: I can only imagine using a batch file to specify the paths and dirs that you DO want backed up. I'm trying to think of a way to exclude files and can't.

2: Pass



j2: what do you say?

Reggie: to 1st question: Yes I am using it within a batch, with the GUI interface it is no problem. But the problem will be that the command line can't be as long as you want. (Or am I wrong?)

You're right. A command line is limited to less than 260 chars.

Frankly, NTBackup was never intended to be a fully configgable, it's a "all or nothing" kinda program, you should look into something like Seagate Backup.. Fully configurable....
I agree. NTBackup is limited. It's not bad for free, though.


NTbackup IS configurable. It does all the things I want to do, just not on the command line. However I close this question. If you come across a solution for 1 or 2 leave a comment here.

Access more of Experts Exchange with a free account
Thanks for using Experts Exchange.

Create a free account to continue.

Limited access with a free account allows you to:

  • View three pieces of content (articles, solutions, posts, and videos)
  • Ask the experts questions (counted toward content limit)
  • Customize your dashboard and profile

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.


Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.