Langmeier Backup FAQ

No backup mishap: wake up drive before backing up

It can happen that a drive should be "woken up" before backing up to it with the backup software because the drive is in sleep mode for example. The following VB script can be run before a backup and thus "wakes up" the drive. Under path you have to specify the drive letter of the backup drive.

'->Declaring input:

'-> 1. Path ex. Z:\ or \\server name\share name
path = "D:\"
'-> 2. Wait time in seconds
Wait time = 5
'Variables.
Dim fso
Dim f
Dim later
'Set objects.
Set WSHshell = CreateObject("WScript.Shell")
Set fso = CreateObject("Scripting.FileSystemObject")
'Open file.
Set f = fso.GetFolder(path)
'Wait.
later = dateadd("s", waiting-time, now)
do
loop until now< later

Note: Since Langmeier Backup version 8.1.53, this script is no longer necessary. A NAS that has fallen asleep is now automatically woken up.

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 maintain full control and focus on growing your business. Simplicity and reliability are my guiding principles and inspire me every day.
 

Articles relevant to the topic
Why are optimized business processes important for your company?
Which backup type is the best choice for my data?
This is how important data backup is in real life


Post a comment here...

This article covers: