Brak opisu

David Witham c8f428b3ed Added support for the Seagate disks 4 lat temu
README.md 4109bf08e7 Updated README 4 lat temu
backup_aragorn.psm1 c8f428b3ed Added support for the Seagate disks 4 lat temu
backup_library.psd1 77e06480aa Added aragorn script and expanded library 4 lat temu
backup_library.psm1 77e06480aa Added aragorn script and expanded library 4 lat temu
backup_to_server.psm1 974a6f0eee Switched to Gandalf 4 lat temu
exclude_from_appdata.list 000e5a1214 Another exclude list update 4 lat temu
exclude_from_sync.list 9c35635128 Added function for the SPU Dir 4 lat temu
handle_exclude_lists.ps1 77e06480aa Added aragorn script and expanded library 4 lat temu

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.