NTBackups bks file not backing up files.

  • Thread starter Thread starter pgudge
  • Start date Start date
P

pgudge

I have manually created my bks files using a cmd script (also found on
this group).

If I run the cmd script to launch the backup via the bks file, NTBackup
launch's and it completes the process without backing up any files.

However if I load the bks selection in NTBackup and click "begin" it
backs up the files fine.

Please see below, commands used and log reports.

Thanks.

Paul.


My command is:
--------------
ntbackup backup "D:\Backup\test.bks" /a /d "Test Backup" /v:no /r:no
/rs:no /hc:off /m normal /j "Test Backup" /l:s /f "D:\Backup\test.bkf"


Backup Log of cmd script:
-------------------------
Backup Status
Operation: Backup
Active backup destination: File
Media name: "test.bkf created 01/11/2005 at 16:05"

Backup (via shadow copy) of "D: New Volume"
Backup set #1 on media #1
Backup description: "Test Backup"
Media name: "test.bkf created 01/11/2005 at 16:05"

Backup Type: Normal

Backup started on 01/11/2005 at 16:05.
Backup completed on 01/11/2005 at 16:05.
Directories: 0
Files: 0
Bytes: 0
Time: 1 second


Backup Log of NTBackup process:
-------------------------------
Backup Status
Operation: Backup
Active backup destination: File
Media name: "test.bkf created 01/11/2005 at 15:52"

Backup (via shadow copy) of "D: New Volume"
Backup set #3 on media #1
Backup description: "Set created 01/11/2005 at 15:52"
Media name: "test.bkf created 01/11/2005 at 15:48"

Backup Type: Normal

Backup started on 01/11/2005 at 15:52.
Backup completed on 01/11/2005 at 15:52.
Directories: 3
Files: 2
Bytes: 210,583
Time: 1 second
 
I have manually created my bks files using a cmd script (also found
on this group).

If I run the cmd script to launch the backup via the bks file,
NTBackup launch's and it completes the process without backing up any
files.

However if I load the bks selection in NTBackup and click "begin" it
backs up the files fine.

...

My command is:

This command is telling NTBackup to backup the file D:\Backup\test.bks.

To tell it to use the selections inside the test.bks file, you need to
add the "@" character to the beginning of the filename; e.g.

ntbackup backup "@D:\Backup\test.bks" /a /d "Test Backup" /v:no /r:no
/rs:no /hc:off /m normal /j "Test Backup" /l:s /f "D:\Backup\test.bkf"
 
Back
Top