Langmeier Backup FAQ

No backup failure: Wake up drive before backup

Sometimes, it may be necessary to wake up a drive before your backup software can access it—especially if the drive is in sleep mode. To address this, you can execute the following VBScript prior to starting your backup. Please ensure that you specify the correct drive letter or network path under Path.

' --> Declare input:
' --> 1. Path, e.g., Z:\ or \\server\share
Path = "D:\"

' --> 2. Waiting time in seconds
WaitingTime = 5

' Variables
Dim fso
Dim f
Dim later

' Set objects
Set WSHshell = CreateObject("WScript.Shell")
Set fso = CreateObject("Scripting.FileSystemObject")

' Open folder
Set f = fso.GetFolder(Path)

' Wait
later = DateAdd("s", WaitingTime, Now)
Do
Loop Until Now > later

Note: Since Langmeier Backup version 8.1.53, this script is no longer required. The software now automatically wakes up any sleeping NAS devices.

about the author
Founder and CEO of Langmeier Software


I don't want to complicate anything. I don't want to develop the ultimate business software. I don't want to be listed in a top technology list. Because that's not what business applications are about. It's about making sure your data is seamlessly protected. And it's about making sure everything runs smoothly while you retain full control and can focus on growing your business. Simplicity and reliability are my guiding principles and inspire me every day.
 

Related articles
Which type of backup is the best choice for my data?
This is how important data backup is in real life
The advantages and disadvantages of the different Windows file systems


Post a comment here...

This article covers the topics:
Wake up drive
Wake up drive