Google
 
Webnews.only-4-geeks.com
Interesting places
news.only-4-geeks.com Forum Index » Windows XPGoto page 1, 2, 3, 4  Next

ntbackup problem with Outlook Express dbx files after XP SP3

 
Jump to:  
 
Guest
PostPosted: Tue Sep 02, 2008 5:16 pm    Post subject: ntbackup problem with Outlook Express dbx files after XP SP3
       
Hello all. I've noticed that right after upgrading XP to SP3, ntbackup
has stopped backing up my scheduled task for Outlook Express' dbx
files, even though the task exits with the success code 0x0.

Upon closer examination with some test files, it appears that ntbackup
will NOT load the 'Load Selections' if they are BELOW the path:

C:\Documents and Settings\Username\Local Settings\Application Data
\Identities\Registry Stuff\

Any files loaded and 'Save Selections' in the path:

C:\Documents and Settings\Username\Local Settings\Application Data
\Identities\Registry Stuff\Microsoft\Outlook Express\

does NOT load when you reload the selections using 'Load Selections'.

I've found this to be the case on three different computers.
Any ideas?
 

 
Pegasus (MVP)
PostPosted: Tue Sep 02, 2008 5:16 pm    Post subject: Re: ntbackup problem with Outlook Express dbx files after XP
       
<prubin@equilter.com> wrote in message
news:80749edf-79de-4fc6-bebf-4fada19a79fa@c65g2000hsa.googlegroups.com...
Quote:
Hello all. I've noticed that right after upgrading XP to SP3, ntbackup
has stopped backing up my scheduled task for Outlook Express' dbx
files, even though the task exits with the success code 0x0.

Upon closer examination with some test files, it appears that ntbackup
will NOT load the 'Load Selections' if they are BELOW the path:

C:\Documents and Settings\Username\Local Settings\Application Data
\Identities\Registry Stuff\

Any files loaded and 'Save Selections' in the path:

C:\Documents and Settings\Username\Local Settings\Application Data
\Identities\Registry Stuff\Microsoft\Outlook Express\

does NOT load when you reload the selections using 'Load Selections'.

I've found this to be the case on three different computers.
Any ideas?

What does the ntbackup log file report?
 

 
Pegasus (MVP)
PostPosted: Tue Sep 02, 2008 6:51 pm    Post subject: Re: ntbackup problem with Outlook Express dbx files after XP
       
No, an empty log report does not make sense. It can be empty for several
reasons:
- You're looking at the wrong file. What file are you looking at?
- The backup job is still running.
- The backup job bombed out before running to completion.

Now let's dig a little deeper. Instead of running your backup job from the
wizard, run it inside the following batch file:
@echo off
echo %date% %time% %UserName% >> c:\test.txt
ntbackup /.. /..
echo %date% %time% >> c:\test.txt
echo. >> c:\test.txt

In your reply you should post four things:
- The contents of c:\test.txt
- The contents of your .bks file
- The exact ntbackup command line, with all its switches.
- Any relevant item reported by the Event Logger.


<prubin@equilter.com> wrote in message
news:75d580b8-ab36-4ccc-b654-cadc1bede541@m45g2000hsb.googlegroups.com...
The log report is empty, which makes sense, since it's not loading
anything to back up, and the result code is success 0x0. As I see it,
the task begins, ntbackup doesn't load anything to back up (since it
doesn't work on anything below the C:\Documents and Settings\Username
\Local Settings\Application Data\Identities\Registry Stuff\)
directory, and then successfully exits.

Any ideas?

On Sep 2, 12:10 pm, "Pegasus \(MVP\)" <I....@fly.com.oz> wrote:
> What does the ntbackup log file report?- Hide quoted text -
 

 
Guest
PostPosted: Tue Sep 02, 2008 7:57 pm    Post subject: Re: ntbackup problem with Outlook Express dbx files after XP
       
The log report is empty, which makes sense, since it's not loading
anything to back up, and the result code is success 0x0. As I see it,
the task begins, ntbackup doesn't load anything to back up (since it
doesn't work on anything below the C:\Documents and Settings\Username
\Local Settings\Application Data\Identities\Registry Stuff\)
directory, and then successfully exits.

Any ideas?

On Sep 2, 12:10 pm, "Pegasus \(MVP\)" <I....@fly.com.oz> wrote:
> What does the ntbackup log file report?- Hide quoted text -
 

 
Pegasus (MVP)
PostPosted: Tue Sep 02, 2008 8:16 pm    Post subject: Re: ntbackup problem with Outlook Express dbx files after XP
       
I am quite aware that some of your backup jobs run as you expect them
whereas others don't, depending on your selection of folders to be backed
up. What I'm trying to get across is an understanding of the elements that
play an important role in every run of ntbackup.exe. They are:

1. The exact command line that gets executed. If you don't know what it is,
make the job execute at some later time (e.g. tomorrow), then examine its
command line that is now visible in the Task Scheduler (which is accessible
via the Control Panel). Your OE files might not get backed up because
"Shadow Copy" is no longer enabled. The command line would tell me straight
away. It would also tell me where you're backing up to. Maybe your
destination cannot hold the amount of data you're trying to back up.

2. The file/folder selections. They are written into a Unicode file located
in your profile folder and having a .bks extension. I have seen backup jobs
fail because this file got turned into an ASCII file.

3. The backup log. It is a file backup??.log buried deep inside your profile
folder, numbered from 01 to 10 (I think).

4. The Event Logger. You can examine it with the command eventvwr.exe.

Unless you provide the relevant details of the above elements I am unable to
offer anyting other than guesses about the cause of your problem. The batch
file I proposed in my previous reply will tell me two important things:
a) If and when the backup job started.
b) If and when the job ended.

If all this sounds too hard then you may be able to walk around the problem
by moving your OE data store to a different location. Ask an OE newsgroup if
unsure how to do this.


<prubin@equilter.com> wrote in message
news:7c14af84-5b83-4057-8082-cd37b5385365@c65g2000hsa.googlegroups.com...
Thank you for your reply. I believe you're not understanding the
problem. I can run the backup from within the ntbackup program itself
OK, as long as I manually select the folder before backing up:

C:\Documents and Settings\Username\Local Settings\Application Data
\Identities\Registry Stuff\Microsoft\Outlook Express\

The problem exists when you ''Load Selections' from the saved backup
file. When you Load the selections from below the directory:

C:\Documents and Settings\Username
\Local Settings\Application Data\Identities\Registry Stuff\

Then NOTHING gets loaded, and running the job backs up nothing, just
as would be expected. On the other hand, if the selections are at or
above the directory shown above, then the selections properly load,
and the backup can proceed normally. Make sense?

The issue is that when you 'Load Selections' below the directory shown
above, ntbackup does NOT load any selections, so any saved job
proceeds to save nothing.

On Sep 2, 2:51 pm, "Pegasus \(MVP\)" <I....@fly.com.oz> wrote:
Quote:
No, an empty log report does not make sense. It can be empty for several
reasons:
- You're looking at the wrong file. What file are you looking at?
- The backup job is still running.
- The backup job bombed out before running to completion.

Now let's dig a little deeper. Instead of running your backup job from the
wizard, run it inside the following batch file:
@echo off
echo %date% %time% %UserName% >> c:\test.txt
ntbackup /.. /..
echo %date% %time% >> c:\test.txt
echo. >> c:\test.txt

In your reply you should post four things:
- The contents of c:\test.txt
- The contents of your .bks file
- The exact ntbackup command line, with all its switches.
- Any relevant item reported by the Event Logger.
 

 
Guest
PostPosted: Tue Sep 02, 2008 9:58 pm    Post subject: Re: ntbackup problem with Outlook Express dbx files after XP
       
Thank you for your reply. I believe you're not understanding the
problem. I can run the backup from within the ntbackup program itself
OK, as long as I manually select the folder before backing up:

C:\Documents and Settings\Username\Local Settings\Application Data
\Identities\Registry Stuff\Microsoft\Outlook Express\

The problem exists when you ''Load Selections' from the saved backup
file. When you Load the selections from below the directory:

C:\Documents and Settings\Username
\Local Settings\Application Data\Identities\Registry Stuff\

Then NOTHING gets loaded, and running the job backs up nothing, just
as would be expected. On the other hand, if the selections are at or
above the directory shown above, then the selections properly load,
and the backup can proceed normally. Make sense?

The issue is that when you 'Load Selections' below the directory shown
above, ntbackup does NOT load any selections, so any saved job
proceeds to save nothing.

On Sep 2, 2:51 pm, "Pegasus \(MVP\)" <I....@fly.com.oz> wrote:
Quote:
No, an empty log report does not make sense. It can be empty for several
reasons:
- You're looking at the wrong file. What file are you looking at?
- The backup job is still running.
- The backup job bombed out before running to completion.

Now let's dig a little deeper. Instead of running your backup job from the
wizard, run it inside the following batch file:
@echo off
echo %date% %time% %UserName% >> c:\test.txt
ntbackup /.. /..
echo %date% %time% >> c:\test.txt
echo. >> c:\test.txt

In your reply you should post four things:
- The contents of c:\test.txt
- The contents of your .bks file
- The exact ntbackup command line, with all its switches.
- Any relevant item reported by the Event Logger.
 

 
Guest
PostPosted: Tue Sep 02, 2008 10:54 pm    Post subject: Re: ntbackup problem with Outlook Express dbx files after XP
       
Here are the details answers:

1. C:\WINDOWS\system32\ntbackup.exe backup "@C:\Documents and Settings
\MyName\Local Settings\Application Data\Microsoft\Windows NT\NTBackup
\data\OutlookExpress.bks" /a /d "Set created 9/2/2008 at 10:16 AM" /
v:no /r:no /rs:no /hc:off /m daily /j "OutlookExpress" /l:s /f "C:
\Documents and Settings\MyName\My Documents\OutlookExpress.bkf"

2. C:\Documents and Settings\MyName\Local Settings\Application Data
\Identities\RegistryStuff\Microsoft\Outlook Express\

3. File Backup backup01.log is EMPTY.

4. NOTHING in Application Events.
In System Events:
The Removable Storage service was successfully sent a start control.
For more information, see Help and Support Center at
LINK

The Removable Storage service entered the running state.
For more information, see Help and Support Center at
LINK

RSM was stopped.
For more information, see Help and Support Center at
LINK

The Removable Storage service entered the stopped state.
For more information, see Help and Support Center at
LINK

On Sep 2, 4:16 pm, "Pegasus \(MVP\)" <I....@fly.com.oz> wrote:
Quote:
I am quite aware that some of your backup jobs run as you expect them
whereas others don't, depending on your selection of folders to be backed
up. What I'm trying to get across is an understanding of the elements that
play an important role in every run of ntbackup.exe. They are:

1. The exact command line that gets executed. If you don't know what it is,
make the job execute at some later time (e.g. tomorrow), then examine its
command line that is now visible in the Task Scheduler (which is accessible
via the Control Panel). Your OE files might not get backed up because
"Shadow Copy" is no longer enabled. The command line would tell me straight
away. It would also tell me where you're backing up to. Maybe your
destination cannot hold the amount of data you're trying to back up.

2. The file/folder selections. They are written into a Unicode file located
in your profile folder and having a .bks extension. I have seen backup jobs
fail because this file got turned into an ASCII file.

3. The backup log. It is a file backup??.log buried deep inside your profile
folder, numbered from 01 to 10 (I think).

4. The Event Logger. You can examine it with the command eventvwr.exe.

Unless you provide the relevant details of the above elements I am unable to
offer anyting other than guesses about the cause of your problem. The batch
file I proposed in my previous reply will tell me two important things:
a) If and when the backup job started.
b) If and when the job ended.

If all this sounds too hard then you may be able to walk around the problem
by moving your OE data store to a different location. Ask an OE newsgroup if
unsure how to do this.

pru...@equilter.com> wrote in message

news:7c14af84-5b83-4057-8082-cd37b5385365@c65g2000hsa.googlegroups.com...
Thank you for your reply. I believe you're not understanding the
problem. I can run the backup from within the ntbackup program itself
OK, as long as I manually select the folder before backing up:

C:\Documents and Settings\Username\Local Settings\Application Data
\Identities\Registry Stuff\Microsoft\Outlook Express\

The problem exists when you ''Load Selections' from the saved backup
file. When you Load the selections from below the directory:

C:\Documents and Settings\Username
\Local Settings\Application Data\Identities\Registry Stuff\

Then NOTHING gets loaded, and running the job backs up nothing, just
as would be expected. On the other hand, if the selections are at or
above the directory shown above, then the selections properly load,
and the backup can proceed normally. Make sense?

The issue is that when you 'Load Selections' below the directory shown
above, ntbackup does NOT load any selections, so any saved job
proceeds to save nothing.

On Sep 2, 2:51 pm, "Pegasus \(MVP\)" <I....@fly.com.oz> wrote:



No, an empty log report does not make sense. It can be empty for several
reasons:
- You're looking at the wrong file. What file are you looking at?
- The backup job is still running.
- The backup job bombed out before running to completion.

Now let's dig a little deeper. Instead of running your backup job from the
wizard, run it inside the following batch file:
@echo off
echo %date% %time% %UserName% >> c:\test.txt
ntbackup /.. /..
echo %date% %time% >> c:\test.txt
echo. >> c:\test.txt

In your reply you should post four things:
- The contents of c:\test.txt
- The contents of your .bks file
- The exact ntbackup command line, with all its switches.
- Any relevant item reported by the Event Logger.- Hide quoted text -

- Show quoted text -
 

 
Pegasus (MVP)
PostPosted: Wed Sep 03, 2008 3:34 am    Post subject: Re: ntbackup problem with Outlook Express dbx files after XP
       
Great. Now what about the contents of c:\test.txt which is generated by the
batch file I suggested you use?

<prubin@equilter.com> wrote in message
news:e4cf0340-5052-44af-9851-44783a7bd8ed@z66g2000hsc.googlegroups.com...
Here are the details answers:

1. C:\WINDOWS\system32\ntbackup.exe backup "@C:\Documents and Settings
\MyName\Local Settings\Application Data\Microsoft\Windows NT\NTBackup
\data\OutlookExpress.bks" /a /d "Set created 9/2/2008 at 10:16 AM" /
v:no /r:no /rs:no /hc:off /m daily /j "OutlookExpress" /l:s /f "C:
\Documents and Settings\MyName\My Documents\OutlookExpress.bkf"

2. C:\Documents and Settings\MyName\Local Settings\Application Data
\Identities\RegistryStuff\Microsoft\Outlook Express\

3. File Backup backup01.log is EMPTY.

4. NOTHING in Application Events.
In System Events:
The Removable Storage service was successfully sent a start control.
For more information, see Help and Support Center at
LINK

The Removable Storage service entered the running state.
For more information, see Help and Support Center at
LINK

RSM was stopped.
For more information, see Help and Support Center at
LINK

The Removable Storage service entered the stopped state.
For more information, see Help and Support Center at
LINK

On Sep 2, 4:16 pm, "Pegasus \(MVP\)" <I....@fly.com.oz> wrote:
Quote:
I am quite aware that some of your backup jobs run as you expect them
whereas others don't, depending on your selection of folders to be backed
up. What I'm trying to get across is an understanding of the elements that
play an important role in every run of ntbackup.exe. They are:

1. The exact command line that gets executed. If you don't know what it
is,
make the job execute at some later time (e.g. tomorrow), then examine its
command line that is now visible in the Task Scheduler (which is
accessible
via the Control Panel). Your OE files might not get backed up because
"Shadow Copy" is no longer enabled. The command line would tell me
straight
away. It would also tell me where you're backing up to. Maybe your
destination cannot hold the amount of data you're trying to back up.

2. The file/folder selections. They are written into a Unicode file
located
in your profile folder and having a .bks extension. I have seen backup
jobs
fail because this file got turned into an ASCII file.

3. The backup log. It is a file backup??.log buried deep inside your
profile
folder, numbered from 01 to 10 (I think).

4. The Event Logger. You can examine it with the command eventvwr.exe.

Unless you provide the relevant details of the above elements I am unable
to
offer anyting other than guesses about the cause of your problem. The
batch
file I proposed in my previous reply will tell me two important things:
a) If and when the backup job started.
b) If and when the job ended.

If all this sounds too hard then you may be able to walk around the
problem
by moving your OE data store to a different location. Ask an OE newsgroup
if
unsure how to do this.

pru...@equilter.com> wrote in message

news:7c14af84-5b83-4057-8082-cd37b5385365@c65g2000hsa.googlegroups.com...
Thank you for your reply. I believe you're not understanding the
problem. I can run the backup from within the ntbackup program itself
OK, as long as I manually select the folder before backing up:

C:\Documents and Settings\Username\Local Settings\Application Data
\Identities\Registry Stuff\Microsoft\Outlook Express\

The problem exists when you ''Load Selections' from the saved backup
file. When you Load the selections from below the directory:

C:\Documents and Settings\Username
\Local Settings\Application Data\Identities\Registry Stuff\

Then NOTHING gets loaded, and running the job backs up nothing, just
as would be expected. On the other hand, if the selections are at or
above the directory shown above, then the selections properly load,
and the backup can proceed normally. Make sense?

The issue is that when you 'Load Selections' below the directory shown
above, ntbackup does NOT load any selections, so any saved job
proceeds to save nothing.

On Sep 2, 2:51 pm, "Pegasus \(MVP\)" <I....@fly.com.oz> wrote:



No, an empty log report does not make sense. It can be empty for several
reasons:
- You're looking at the wrong file. What file are you looking at?
- The backup job is still running.
- The backup job bombed out before running to completion.

Now let's dig a little deeper. Instead of running your backup job from
the
wizard, run it inside the following batch file:
@echo off
echo %date% %time% %UserName% >> c:\test.txt
ntbackup /.. /..
echo %date% %time% >> c:\test.txt
echo. >> c:\test.txt

In your reply you should post four things:
- The contents of c:\test.txt
- The contents of your .bks file
- The exact ntbackup command line, with all its switches.
- Any relevant item reported by the Event Logger.- Hide quoted text -

- Show quoted text -
 

 
Pegasus (MVP)
PostPosted: Wed Sep 03, 2008 1:25 pm    Post subject: Re: ntbackup problem with Outlook Express dbx files after XP
       
Good. The results you post tell me (amongst other things) that the backup
job ended after only 3 seconds. This means that there is something badly
wrong. Here is a batch file that may give us a clue:
01. @echo off
02. set DataFolder=C:\Documents and Settings\$$$\Local Settings\Application
Data\Microsoft\Windows NT\NTBackup\data
03. set DocFolder=C:\Documents and Settings\$$$\My Documents
04. set OEFolder=C:\Documents and Settings\$$$\Local Settings\Application
Data\Identities\RegistryStuff\Microsoft\Outlook Express
05.
06. echo Start %date% %time% > c:\test.txt
07. dir "%DataFolder%" >> c:\test.txt
08. dir "%OEFolder%" >> c:\test.txt
09. copy /y c:\test.txt "%DocFolder%" 1>>c:\test.txt 2>>&1
10.
11. copy /y "%DataFolder%\OutlookExpress.bks" c:\test.bks > nul
12. echo> "%temp%\test.scr" d
13. echo>>"%temp%\test.scr" q
14. debug c:\test.bks < "%temp%\test.scr" >> c:\test.txt
15.
16. ntbackup 1>>c:\test.txt 2>>&1 /.. /..
17. echo End %date% %time% >> c:\test.txt
18. notepad c:\test.txt

Explanation:
- Lines 1 to 4 set the scene.
- Line 6 creates a date/time stamp.
- Lines 7 to 9 tell me if you have the required access to your various
folders.
- Lines 11 to 14 tell me if your .bks file is a Unicode file.
- Line 16 is your ntbackup command with a slight modification.

Instructions:
- Replace $$$ with the correct user name.
- Complete Line 17 by including all ntbackup switches after "&1".
- Remove the line numbers.
- Run the batch file.
- Copy & paste the text you see on the screen.

<prubin@equilter.com> wrote in message
news:6e367e68-7793-4a2e-9de6-bdd098245206@b1g2000hsg.googlegroups.com...
Quote:
Hello again. I ran the backup job from the batch file your suggested,
and here are the results:

1. The contents of c:\test.txt
Wed 09/03/2008 8:08:55.06 MyName
Wed 09/03/2008 8:08:58.42

2. The contents of your .bks file
C:\Documents and Settings\MyName\Local Settings\Application Data
\Identities\RegistryStuff\Microsoft\Outlook Express\

3. The exact ntbackup command line, with all its switches
C:\WINDOWS\system32\ntbackup.exe backup "@C:\Documents and Settings
\MyName\Local Settings\Application Data\Microsoft\Windows NT\NTBackup
\data\OutlookExpress.bks" /a /d "Set created 9/2/2008 at 10:16 AM" /
v:no /r:no /rs:no /hc:off /m daily /j "OutlookExpress" /l:s /f "C:
\Documents and Settings\MyName\My Documents\OutlookExpress.bkf"

4. Any relevant item reported by the Event Logger
There's NOTHING in the Application Log, and there are four entries in
the System log:

The Removable Storage service was successfully sent a start control.
For more information, see Help and Support Center at
LINK

The Removable Storage service entered the running state.
For more information, see Help and Support Center at
LINK

RSM was stopped.
For more information, see Help and Support Center at
LINK

The Removable Storage service entered the stopped state.
For more information, see Help and Support Center at
LINK

Please let me know what you think.
 

 
Guest
PostPosted: Wed Sep 03, 2008 2:20 pm    Post subject: Re: ntbackup problem with Outlook Express dbx files after XP
       
Hello again. I ran the backup job from the batch file your suggested,
and here are the results:

1. The contents of c:\test.txt
Wed 09/03/2008 8:08:55.06 MyName
Wed 09/03/2008 8:08:58.42

2. The contents of your .bks file
C:\Documents and Settings\MyName\Local Settings\Application Data
\Identities\RegistryStuff\Microsoft\Outlook Express\

3. The exact ntbackup command line, with all its switches
C:\WINDOWS\system32\ntbackup.exe backup "@C:\Documents and Settings
\MyName\Local Settings\Application Data\Microsoft\Windows NT\NTBackup
\data\OutlookExpress.bks" /a /d "Set created 9/2/2008 at 10:16 AM" /
v:no /r:no /rs:no /hc:off /m daily /j "OutlookExpress" /l:s /f "C:
\Documents and Settings\MyName\My Documents\OutlookExpress.bkf"

4. Any relevant item reported by the Event Logger
There's NOTHING in the Application Log, and there are four entries in
the System log:

The Removable Storage service was successfully sent a start control.
For more information, see Help and Support Center at
LINK

The Removable Storage service entered the running state.
For more information, see Help and Support Center at
LINK

RSM was stopped.
For more information, see Help and Support Center at
LINK

The Removable Storage service entered the stopped state.
For more information, see Help and Support Center at
LINK

Please let me know what you think.

On Sep 2, 11:34 pm, "Pegasus \(MVP\)" <I....@fly.com.oz> wrote:
Quote:
Great. Now what about the contents of c:\test.txt which is generated by the
batch file I suggested you use?
Now let's dig a little deeper. Instead of running your backup job from
the
wizard, run it inside the following batch file:
@echo off
echo %date% %time% %UserName% >> c:\test.txt
ntbackup /.. /..
echo %date% %time% >> c:\test.txt
echo. >> c:\test.txt

In your reply you should post four things:
- The contents of c:\test.txt
- The contents of your .bks file
- The exact ntbackup command line, with all its switches.
- Any relevant item reported by the Event Logger.- Hide quoted text -
 

Page 1 of 4 .:. Goto page 1, 2, 3, 4  Next

Google
 
Webnews.only-4-geeks.com

Windows Update | C++ | C | PHP | JavaScript | Photoshop | Programming | Windows 2000 | Python | Windows XP | Object | Flash | Flash - ActionScript | Paint Shop Pro | Excel | PowerPoint | Access | Word | Windows 98 | Internet Explorer 6.0 | CorelDraw12 | Java | XML | asm x86 | Linux Mandrake | Linux RedHat | Outlook |  | news from newsgroups |_ | s

Web Templates

Awesome Website Templates ©

Przewodnik do ćwiczeń z logiki dla prawników Globalny handel elektroniczny pop Podróże i transport Encyklopedia przedszkolaka meble