Windows Server 2012 R2 Backup

Greetings,
There is a new Server (HP ProLiant DL380 2.4/2620v3 G9) newly installed generating Backup issues.
It makes 2 different Backups at different time:
1. Scheduled backup on external HDD at 03:30 (only Drive D:). It is set up through wbadmin settings;
2. Scheduled backup on NAS at 23:00 (only Drive D:), run through a script.
Attached to the log of the 2. backup is set an Mail sending task.
The Issue:
Backups run both without any trouble, just there is beeing nothing logged, and so there is no Mail sent.
I check the external Disk and NAS for the backup versions; they are there but in the event viewer is nothing about any backup.
When I run manually the script on making the 2. Backup, it runs without any trouble and generates a log and is beeing noticed in the wbadmin gui.
Any thoughts?
What I have tried till now:
Windows Backup reinstall;
Backup Script improve;
Recreate of the Task;
Script looks like:
@echo off

REM Umgebung festlegen
SET Target="\\SRV01\S\Backup\Tagessicherung"

REM In Skript-Ordner wechseln
CD %0\..\

REM Ordner fuer Wochentag identifizieren und ggf. anlegen
FOR /F "usebackq" %%I IN (`cscript Wochentag.vbs`) DO SET Day=%%I
IF NOT EXIST %Target%\%Day% md %Target%\%Day%

REM Kopierjob 1
wbadmin start backup -backupTarget:%Target%\%Day% -include:D: -quiet


And this is how wbadmin looks like right now even there are 3 backup kopies there.

Any Help is appreciated
MR-Zent.PNG
SirAskALotAsked:
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.

noxchoGlobal Support CoordinatorCommented:
When I run manually the script on making the 2. Backup, it runs without any trouble and generates a log and is beeing noticed in the wbadmin gui.
Are you sure that scheduled and manual backups are starting under the same user?
SirAskALotAuthor Commented:
@ noxcho
i am pretty sure.
noxchoGlobal Support CoordinatorCommented:
Please check. I have right now created a .bat file and used there a pretty simple backup command:
---------------------
@echo off
wbadmin start backup -include:c: -backupTarget:\\WinAdmin\SHARE -quiet
---------------------
Then I went to Task Scheduler and created new task which starts this .bat file. I checked "Run whether the user is logged on or not", and checked the "Run with highest privileges" checkboxes.

As a result the backup did run on schedule. See attached screenshot.
Backup.jpg
Acronis True Image 2019 just released!

Create a reliable backup. Make sure you always have dependable copies of your data so you can restore your entire system or individual files.

SirAskALotAuthor Commented:
My other Task are just like that set: "Run whether the user is logged on or not" ,
"Run with highes privileges" and "Configure for: Windows Server 2012 R2"

I will try your Script and give you feedback.
Thank you for your quick answer.
SirAskALotAuthor Commented:
Last night was the Script run.
It happened nothing.
Interesting, seems like wbadmin does not work at all, as a component.
It backs up, but doesn't tell whether is done or not.

greetings
noxchoGlobal Support CoordinatorCommented:
There was nothing - means no backup was created? Or no notification was sent?
SirAskALotAuthor Commented:
Neither, nor
It was no Backup made and Notification also.
What i newly did is that i scheduled the Task on making bakup daily and not weekly. but getting the same result.
Today  I made a TEST baskup directly in the WBADMIN, by doing only couple of Folders in the NAS Shared Folder. Used one time backup only. It did the Backup, but gave no Notification, no log, doesn't even show in the latest Backups list.
Made a recovery of those Folders, succesfully. But still no notification, no log and no presence in the latest Task made in the WBADMIN.
Seems like it's all in the WBADMIN tool.
noxchoGlobal Support CoordinatorCommented:
This is really strange. Because on my test Windows configuration it works pretty well.
If you run this command from CMD:
wbadmin start backup -include:c: -backupTarget:\\WinAdmin\SHARE -quiet

Does it run?
If yes, save it into bat file, schedule the start and keep logged in. Would it run?
SirAskALotAuthor Commented:
Did it and must say little bit dissapointed again. (not from you)
It Ran, the process was shown in the WBADMIN GUI during backing up.
After it succeeded, the process dissapeared from the GUI.
In the event viewer is nothing to see of Backup log.
In the Shared folder there was the backup folder, corresponding with the Size needed.

Well it seems like WBADMIN does the job but just never makes any notice of it.
MR-Zen.PNG
SirAskALotAuthor Commented:
Solution seems to be Found.

In the Event viewer under Backup, protocolling deactivation and Reactivation gave first results.
Will be monitored and final solution to be found.
Seems ODD, right?

Greetings
noxchoGlobal Support CoordinatorCommented:
Yes, definitely odd. Looks like it stuck there with events. And reactivation released this stuck.
SirAskALotAuthor Commented:
Tonight it will be running, and tomorrow will be checked again.
If that would be the solution, it wonders me.
SirAskALotAuthor Commented:
Greetings

I'm glad to announce that my WBADMIN Issue has been resolved.
Seemed like this small activity solved the problem.
Today i became both mails of succesfully completed backups. One on NAS at 21:30 and the other on external HDD at 4:00. Both ran perfectly.

Thank you for your Help!!

Best regards

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
SirAskALotAuthor Commented:
Well after all tryings and expereimenting, this made it, since there was no other solution around.
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 Server 2012

From novice to tech pro — start learning today.