Discussion Locked

NTbackup Logs

0 helpful
7 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
I am using NT4 sp6 and am running a batch file containing the command: NTBackup Backup d:\batch /hc:on /t Normal /e /b /v /r /d "Full Backup of D" /l "d:\batch\logs\backupm.lis". I am using the /e switch to list exceptions only. /e removes the file names but leaves the directory names in place. I have tried -d after /e in order to remove the directory listings but this has failed to work. This is resulting in a very long file to print. What can I use to automatically edit out all lines listing directory names?

7 replies

by chawkins

The summary logging option does that. Unfortunately I don't think you can specify that in a command line argument. It's an option you can check when using the gui to create a job.

by mtnsqs

If you can;t ge tthe command to output exaclty what you want, then consider writing some simple code (or even a word macro) to run on the output to remove the unnecessary lines - based on the patterns

You can get DOs programs that are equivalent of awk and find from the Unix world - these would do it easily based on pattern matching.

Most editors would do it well (even the freeware or shareware ones) - write macro to delete the lines starting with or containing certain patterns that you don;t want.

This discussion is closed to new replies.