David Witham 8a7fb76133 Support specific disk parameter | 3 rokov pred | |
---|---|---|
README.md | 4 rokov pred | |
backup_aragorn.psm1 | 3 rokov pred | |
backup_library.psd1 | 4 rokov pred | |
backup_library.psm1 | 4 rokov pred | |
backup_to_server.psm1 | 4 rokov pred | |
exclude_from_appdata.list | 4 rokov pred | |
exclude_from_sync.list | 4 rokov pred | |
handle_exclude_lists.ps1 | 4 rokov pred |
Pre-configured script that will backup the key data from a personal Windows 10 computer to my server.
$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
import-module backup_library
backup_to_server [-skipappdir] [-skipspudir] [-noupload] [-skipoutlook]
Note that -skipspudir is enabled by default until it works.