Changes

Jump to navigation Jump to search
Added note that this methiod of backup can require significant more network traffic when comapared to a local rsyncd.
Line 1: Line 1: −
==Backup Windows Computers Using Affa==
+
==About this document==
 +
This document describes a method to backup Windows computer by mounting a Windows file share to the Affa server. No additional software installation is required on the Windows computer.
   −
===LOCAL Windows Computers===
+
An alternative method using the Rsync daemon protocol is described here: [[Affa#Backing_up_a_Windows_computer]]. This requires the Cygwin rsyncd service running on the Windows computer.
 +
 
 +
{{Note box|This method of backup using a windows share may require significantly more network traffic compared to the rsync daemon method. For example to be backed up if a file is almost similar, an rsyncd on the local PC can calculated checksums of chunks of the file. This is then compared to the remote copy of the file to work out which parts needs transferring. In the share method described in this HOWTO, there is no local processing function (there is only the share through which a file can be copied) and the remote rsyncd on the server performing the backup of the network share will need to transfer the whole file over the network to perform this calculation before being able to do the actual backup.}}
 +
 
 +
==Important Note about backing up Windows data==
 +
Affa does ''not'' backup windows ACL (Access Control List) information.  You will need to correct your windows ACLs after doing any restore from affa!
 +
 
 +
==LOCAL Windows Computers==
 
You can backup Windows workstations or servers that are on your affa server's local network using affa's 'Automount' functionality to mount a share from your windows box, then back it up from the mount point into affa's managed backup store.
 
You can backup Windows workstations or servers that are on your affa server's local network using affa's 'Automount' functionality to mount a share from your windows box, then back it up from the mount point into affa's managed backup store.
   −
====Set the following affa options for 'jobname':====
+
===Set the following affa options for 'jobname':===
 
  db affa set jobname job
 
  db affa set jobname job
 
  db affa setprop jobname AutomountDevice '//192.168.x.y/c$'
 
  db affa setprop jobname AutomountDevice '//192.168.x.y/c$'
Line 27: Line 35:  
* ''status enabled'':  
 
* ''status enabled'':  
   −
====Create your mount.cifs credentials file====
+
===Create your mount.cifs credentials file===
 
'.pwdfile.jobname' is a text file containing two lines, one saying "username=xxx" and the other saying "password=yyy", where xxx and yyy are the user account and password required to login to the windows system.  There '''must''' be a newline at the end of windowspwd or mount.cifs generates an error.  Create the file using:
 
'.pwdfile.jobname' is a text file containing two lines, one saying "username=xxx" and the other saying "password=yyy", where xxx and yyy are the user account and password required to login to the windows system.  There '''must''' be a newline at the end of windowspwd or mount.cifs generates an error.  Create the file using:
 
  mcedit /root/.pwdfile.jobname
 
  mcedit /root/.pwdfile.jobname
Line 38: Line 46:  
  chmod 600 /root/.pwdfile.jobname
 
  chmod 600 /root/.pwdfile.jobname
   −
====Create your mount and test your affa mount instructions====
+
===Create your mount and test your affa mount instructions===
 
  mkdir /mnt/jobname
 
  mkdir /mnt/jobname
 
  mount `db affa getprop jobname AutomountOptions` \
 
  mount `db affa getprop jobname AutomountOptions` \
Line 45: Line 53:     
This command should display the content you are trying to backup:
 
This command should display the content you are trying to backup:
  ls "'db affa getprop jobname Include[0]'"
+
  ls `db affa getprop jobname Include[0]`
 
     −
====5. Test your backup job====
+
===5. Test your backup job===
 
  affa --run jobname
 
  affa --run jobname
   −
===Remote Windows Computers===
+
==Remote Windows Computers==
====Using Cygwin====
  −
There is a problem with ssh-invoked rsync under cygwin that causes timeouts.  This issue is not well documented on the cygwin forums.
     −
====Using a remote SME====
+
===Using a remote SME===
 
If you have a SME server at your remote location you can install affa on that server, use it to backup the Windows workstations at that office, then use affa to pull those backups back to your main affa server.
 
If you have a SME server at your remote location you can install affa on that server, use it to backup the Windows workstations at that office, then use affa to pull those backups back to your main affa server.
 
{{Incomplete}}
 
{{Incomplete}}
    +
===Using VMWare===
 +
I have successfully configured Ubuntu 6.10 under VMWare to backup remote Windows computers using this 63MB VM: http://www.vmware.com/vmtn/appliances/directory/648
 +
{{Incomplete}}
   −
====Using VMWare====
+
[[Category:Howto]]
I have successfully configured Ubuntu 6.10 under VMWare to backup remote Windows computers.
+
[[Category: Backup]]
{{Incomplete}}
 
374

edits

Navigation menu