Changes

Jump to navigation Jump to search
Line 54: Line 54:     
{{Note box|msg=When using a CIFS mount you need to be aware of limitations in the characters you can choose in your password. According to the [http://linux.die.net/man/8/mount.cifs man mount.cifs] page comma's should be avoided, but users have also noticed that leading spaces and exclamation marks should not be used. For more details see [[bugzilla:4850]].}}
 
{{Note box|msg=When using a CIFS mount you need to be aware of limitations in the characters you can choose in your password. According to the [http://linux.die.net/man/8/mount.cifs man mount.cifs] page comma's should be avoided, but users have also noticed that leading spaces and exclamation marks should not be used. For more details see [[bugzilla:4850]].}}
 +
 +
{{Note box|msg=To enable backup via nfs you will need to install nfs-utils from base: yum install nfs-utils
 +
 +
For further information please see this bug http://bugs.contribs.org/show_bug.cgi?id=7006
 +
[[bugzilla:4850]].}}
    
The main features of backup with dar aside use of session timeout are:
 
The main features of backup with dar aside use of session timeout are:
Line 63: Line 68:  
The third function is selective restore of any saved file or directory, exactly as it was for any of the saved days in your sets. Not only you can restore a lost file at it's last state, but also say : make restore of the most recent version of the file before this given date... Selective restore is not an easy thing to manage by hand, and providing this in a simple way with panels is useful. Dar permits to manage selective restore and e-smith-backup with dar panels tries to keep this function as simple as possible to use.  
 
The third function is selective restore of any saved file or directory, exactly as it was for any of the saved days in your sets. Not only you can restore a lost file at it's last state, but also say : make restore of the most recent version of the file before this given date... Selective restore is not an easy thing to manage by hand, and providing this in a simple way with panels is useful. Dar permits to manage selective restore and e-smith-backup with dar panels tries to keep this function as simple as possible to use.  
   −
For changes to standard usage and fuller explanations see [[:Backup_with_dar]]
+
{{Tip box|msg='''For a comprehensive explanation with multiple examples see [[:Backup_with_dar]]'''}}
 
  −
For help with USB Disk preparation see [[:USBDisks]]
      
'''Configure workstation backup'''
 
'''Configure workstation backup'''
   −
Configure your backup destination and optoins to suit your situation.
+
Configure your backup destination and options to suit your situation.
    
'''Verify workstation backup'''
 
'''Verify workstation backup'''
Line 83: Line 86:  
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 setting to ensure Workstation is powered on'''
+
=====Use WOL to power on Workstation=====
 +
Wake On Lan can be used to power up the backup target workstation before starting the backup.
 +
 
 +
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
 +
 
 +
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 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 without additional support from hardware and/or software such as a VPN tunnel. Getting WOL to work across the internet is beyond the scope of this documentation but there are plenty of resources available elsewhere. Most wireless connected devices do not work with WOL.
 +
 
 +
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.
 +
 
 +
To stop using WOL simply delete the SmbHostMAC variable:
   −
Use Wake on LAN to ensure backup target is powered on before starting Backup with DAR,
+
db configuration delprop backupwk SmbHostMAC
   −
db config property set MAC address of target workstation
+
and to be tidy if the optional delay parameter has been set:
db configuration setprop backupwk SmbHostMAC XX:XX:XX:XX:XX:XX
     −
Target system must be WOL capable and network infrastructure must also support WOL packets, WOL is ineffective via WLAN
+
  db configuration delprop backupwk SmbHostDelay
    
====View log files====
 
====View log files====

Navigation menu