|
@@ -2,7 +2,7 @@
|
|
|
|
|
|
## Purpose
|
|
## Purpose
|
|
|
|
|
|
-Pre-configured script that will upload backup data from Bethany's laptop to the server.
|
|
|
|
|
|
+Pre-configured script that will backup the key data from a personal Windows 10 computer to my server.
|
|
|
|
|
|
## Use
|
|
## Use
|
|
|
|
|
|
@@ -19,12 +19,15 @@ $default_modules_dir = "$HOME\Documents\WindowsPowershell\Modules"
|
|
if (!(Test-Path $default_modules_dir)) { mkdir $default_modules_dir -Force }
|
|
if (!(Test-Path $default_modules_dir)) { mkdir $default_modules_dir -Force }
|
|
|
|
|
|
# Clone the server files
|
|
# Clone the server files
|
|
-git clone ssh://git@owl.acosi.com:9124/family/backup_to_server.git
|
|
|
|
|
|
+cd "$HOME\Documents\WindowsPowershell\Modules"
|
|
|
|
+git clone ssh://git@owl.acosi.com:9124/family/backup_library.git
|
|
```
|
|
```
|
|
|
|
|
|
### Execute
|
|
### Execute
|
|
|
|
|
|
```Powershell
|
|
```Powershell
|
|
-import-module backup_to_server
|
|
|
|
-backup_to_server [-skipappdir] [-noupload] [-skipoutlook]
|
|
|
|
|
|
+import-module backup_library
|
|
|
|
+backup_to_server [-skipappdir] [-skipspudir] [-noupload] [-skipoutlook]
|
|
```
|
|
```
|
|
|
|
+
|
|
|
|
+Note that -skipspudir is enabled by default until it works.
|