NTBackup

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.
LVL 5
cerAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

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

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

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
cerAuthor Commented:
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.

Learn SQL Server Core 2016

This course will introduce you to SQL Server Core 2016, as well as teach you about SSMS, data tools, installation, server configuration, using Management Studio, and writing and executing queries.

Reggie121097Commented:
cer,

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

Reggie
cerAuthor Commented:
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?)

Reggie121097Commented:
You're right. A command line is limited to less than 260 chars.
j2Commented:
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....
Reggie121097Commented:
I agree. NTBackup is limited. It's not bad for free, though.
cerAuthor Commented:
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.

It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows OS

From novice to tech pro — start learning today.