Difference between revisions of "BackupPC"
From Stadm
Jump to navigationJump to searchLine 11: | Line 11: | ||
netsh advfirewall firewall add rule name="SSH-Hole Port 22" dir=in action=allow protocol=TCP localport=22 remoteip=128.111.100.0/24,128.111.101.0/24 profile=domain,private,public | netsh advfirewall firewall add rule name="SSH-Hole Port 22" dir=in action=allow protocol=TCP localport=22 remoteip=128.111.100.0/24,128.111.101.0/24 profile=domain,private,public | ||
netsh advfirewall firewall add rule name="ICMP Allow incoming V4 echo request" protocol=icmpv4:8,any dir=in action=allow remoteip=128.111.100.0/24,128.111.101.0/24 profile=domain,private,public | netsh advfirewall firewall add rule name="ICMP Allow incoming V4 echo request" protocol=icmpv4:8,any dir=in action=allow remoteip=128.111.100.0/24,128.111.101.0/24 profile=domain,private,public | ||
+ | |||
+ | |||
+ | ==BackupPC Side== | ||
+ | *BackupPC has the defaults in place to backup linux and Mac machines, the rsync locations must be changed on server | ||
+ | *log into your backuppc account at either ashes or twe | ||
+ | *select the host you wish to edit amd click "Edit Config" under the hostname | ||
+ | *Select the Xfer tab | ||
+ | *You will override the following values, delete the entires that do not appear under these categories: | ||
+ | *Rsyncsharename | ||
+ | /cygdrive/c | ||
+ | *BackupFilesExclude: | ||
+ | /cygdrive/c/pagefile.sys | ||
+ | /cygdrive/c/hiberfile.sys | ||
+ | *RsyncArgsExtra: | ||
+ | --exclude=/cygdrive/c/System\ Volume\ Information/ | ||
+ | --exclude=/cygdrive/c/Windows/ | ||
+ | --exclude=/cygdrive/c/Program\ Files/ | ||
+ | --exclude=/cygdrive/c/Program\ Files\ \(x86\)/ | ||
+ | --exclude=/cygdrive/c/ProgramData/ | ||
+ | *Click save once you have modified these values. If not done so already, start a full backup |
Revision as of 16:25, 3 December 2014
Windows
- We have made some scripts to make the install go a little quicker and painless
- First we have a .bat file(runs through windows command prompt) to add a user for backuppc to use
- I have included and annotated the code to help understand what the script does, the actual script echos warnings and informs you of what it is doing along the way
net user /add root #This adds a user named root net localgroup administrators root /add #adds the user root to the Administrator group net share sharename=C:\ /grant:root,full #gives the user the permission to backup all files on the C:\ drive net user root * #Takes a password from stdin(prompt) to set for the user root netsh advfirewall firewall add rule name="SSH-Hole Port 22" dir=in action=allow protocol=TCP localport=22 remoteip=128.111.100.0/24,128.111.101.0/24 profile=domain,private,public netsh advfirewall firewall add rule name="ICMP Allow incoming V4 echo request" protocol=icmpv4:8,any dir=in action=allow remoteip=128.111.100.0/24,128.111.101.0/24 profile=domain,private,public
BackupPC Side
- BackupPC has the defaults in place to backup linux and Mac machines, the rsync locations must be changed on server
- log into your backuppc account at either ashes or twe
- select the host you wish to edit amd click "Edit Config" under the hostname
- Select the Xfer tab
- You will override the following values, delete the entires that do not appear under these categories:
- Rsyncsharename
/cygdrive/c
- BackupFilesExclude:
/cygdrive/c/pagefile.sys /cygdrive/c/hiberfile.sys
- RsyncArgsExtra:
--exclude=/cygdrive/c/System\ Volume\ Information/ --exclude=/cygdrive/c/Windows/ --exclude=/cygdrive/c/Program\ Files/ --exclude=/cygdrive/c/Program\ Files\ \(x86\)/ --exclude=/cygdrive/c/ProgramData/
- Click save once you have modified these values. If not done so already, start a full backup