Quantcast
Channel: Backup – Windows and Windows Server forum
Viewing all articles
Browse latest Browse all 3323

Backup Logs

$
0
0

Hello.

I'm using a simple powershell script to backup my servers (win 2008 r2). The scripts runs fine and the backup is ok. The thing is, from few servers I get this from:get-wjob -previous 1

JobType:

Backup

StartTime:

4. 3. 2014 20:00

EndTime:

4. 3. 2014 20:12

JobState:

Completed

CurrentOperation:

HResult:

0

DetailedHResult:

0

ErrorDescription:

JobItems:

Microsoft.Windows.ServerBackup.Commands.WBItem[]

VersionId:

03/04/2014-19:00

SuccessLogPath:

C:\Windows\Logs\WindowsServerBackup\Backup-04-03-2014_20-00-24.log

FailureLogPath:

C:\Windows\Logs\WindowsServerBackup\Backup_Error-04-03-2014_20-00-24.log

And this is cool because I can include Succes Log and Failure log to the email. And also in windows server backup console when I open the result I can click "view list of all backed up files" and it shows me what was backed up.

But on few other servers I just get this:

JobType:

Backup

StartTime:

3/4/2014 8:00 PM

EndTime:

3/4/2014 8:11 PM

JobState:

Completed

CurrentOperation:

HResult:

0

DetailedHResult:

0

ErrorDescription:

JobItems:

Microsoft.Windows.ServerBackup.Commands.WBItem[]

VersionId:

03/04/2014-19:00

SuccessLogPath:

FailureLogPath:

No Success or Failure log files are created. Using the same script. 

Can someone hlep me how to allow the backup log files to be created?

Thank you.


Viewing all articles
Browse latest Browse all 3323

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>