Keine Beschreibung

David Witham ccd79d912a Updated Aragorn file vor 2 Jahren
README.md 4109bf08e7 Updated README vor 4 Jahren
backup_aragorn.psm1 ccd79d912a Updated Aragorn file vor 2 Jahren
backup_library.psd1 77e06480aa Added aragorn script and expanded library vor 4 Jahren
backup_library.psm1 77e06480aa Added aragorn script and expanded library vor 4 Jahren
backup_to_server.psm1 f2ae8bad4f Updated WinSCP location vor 2 Jahren
exclude_from_appdata.list 000e5a1214 Another exclude list update vor 4 Jahren
exclude_from_sync.list 9c35635128 Added function for the SPU Dir vor 4 Jahren
handle_exclude_lists.ps1 77e06480aa Added aragorn script and expanded library vor 4 Jahren

README.md

Backup to Server

Purpose

Pre-configured script that will backup the key data from a personal Windows 10 computer to my server.

Use

  1. Make sure you have RSA keys configured in $HOME/.ssh
  2. Download the project
  3. Execute

Downloading the project

$default_modules_dir = "$HOME\Documents\WindowsPowershell\Modules"

# If that folder doesn't exist, create it
if (!(Test-Path $default_modules_dir)) { mkdir $default_modules_dir -Force }

# Clone the server files
cd "$HOME\Documents\WindowsPowershell\Modules"
git clone ssh://git@owl.acosi.com:9124/family/backup_library.git

Execute

import-module backup_library
backup_to_server [-skipappdir] [-skipspudir] [-noupload] [-skipoutlook]

Note that -skipspudir is enabled by default until it works.