Line 83: |
Line 83: |
| This option allows you to restore a single file. You have the option of restricting the file to a date range. | | This option allows you to restore a single file. You have the option of restricting the file to a date range. |
| | | |
− | =====Use WOL with backup to Workstation===== | + | =====Use WOL to power on Workstation===== |
− | | + | |
− | Use Wake on LAN to ensure backup target is powered on before starting Backup with DAR,
| + | Wake On Lan can be used to power up the backup target workstation before starting the backup. |
− | | + | |
− | db config property set MAC address of target workstation. eg MAC = 00:4E:89:F5:FD:2B
| + | To use WOL there simply needs to be a new variable added to the backupwk section of the configuration database, nothing else is required. This variable holds the MAC address of the target workstation, if the MAC address is 00:4E:89:F5:FD:2B use: |
| db configuration setprop backupwk SmbHostMAC 00:4E:89:F5:FD:2B | | db configuration setprop backupwk SmbHostMAC 00:4E:89:F5:FD:2B |
| | | |
− | There is also the ability to specify how long to wait between the WOL being sent and the attempt to write the backup files to the workstation. | + | There is also the ability to specify how long to wait between the WOL packet being sent and attempting to start the backup process. The default wait time is 300 seconds, this can be varied via another configuration database setting. It is recommended to not set the wait period below 300 seconds. To set the wait time to 600 seconds: |
− | | + | db configuration setprop backupwk SmbHostDelay 600 |
− | The default wait time is 300 seconds. This may be varied via a custom config setting, it is recommended to not set the wait period below 300 seconds. | + | |
− | | + | The target system must support, and be set up to respond to, the WOL "magic packets". The network infrastructure must also support WOL packets. WOL should work across the local network without problem. WOL packets are not routeable so it won't work across the internet but may work through a VPN tunnel across the internet. Most wireless connected machines do not work with WOL. |
− | Set wait time to 600 seconds
| + | |
− | db config setprop backupwk SmbHostDelay 600 | + | Note that there is no checking that the supplied MAC address is the correct one for the IP address/hostname of the target workstation. MAC address's are effectively static but IP address's/hostnames can change particularly if the target gets its IP address via DHCP. It is quite possible to have the correct target woken up and be ready but the backup to fail because the IP address has changed. However SME's DHCP server very rarely changes the IP address of a given MAC address. |
− | | + | |
− | Target system must be WOL capable and network infrastructure must also support WOL packets, WOL is ineffective via WLAN
| + | To stop using WOL simply delete the SmbHostMAC variable: |
| + | db configuration delprop backupwk SmbHostMAC |
| + | |
| + | and to be tidy if the optional delay parameter has been set: |
| + | db configuration delprop backupwk SmbHostDelay |
| | | |
| ====View log files==== | | ====View log files==== |