Salta al contenuto principale

Wake NAS for backup

Thread needs solution

Is there a way to have Cyber Protect Home Office send a magic packet to wake up my Synology NAS before starting a backup?

0 Users found this helpful

Mark, welcome to these public User Forums.

You could use a Pre Command to issue the wake up command from your backup task.

If the NAS will wake up by doing either a PING or a simple DIR of a folder, then you could use one of these commands in a small batch file as the Pre Command.

Thanks, Steve. I saw the pre-command but I cannot find any info on command format. I need to send the NAS a magic packet to wake it up. Is there a special command format?

Mark, you could use a third-party tool to send a wake on command packet to the NAS but you will still need to provide some parameters for the same.

See Depicus Wake On Lan Command Line tool for Windows which uses the format:

wolcmd [mac address] [ip address] [subnet mask] [port number]

The webpage for the tool has additional information to help you set it up.

I use NirSoft WakeMeOnLan.

I set up a simple batch file as follows:

@echo off
WakeMeOnLan.exe /wakeup <MAC address>

Of course, you'd need the correct path to the application and the MAC address of the LAN.

Also, you may need to configure the NAS to accept a Wake On LAN packet.

Since the Synology NAS can take some time to fully start, I don't use the pre-command. Instead I would use one of two approaches... 1) configure the NAS to automatically start and stop at specific times based on backup schedule, or 2) use a Windows scheduled task to wake up the LAN a few minutes before the scheduled backup. If it's a manual backup you want to run, just execute the batch file.