File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11BSD 2-Clause License
22
3- Copyright (c) 2014, Alexander Neumann <alexander@bumpern.de >
3+ Copyright (c) 2019, Luke Penrod <support@deepinthought.io >
44All rights reserved.
55
66Redistribution and use in source and binary forms, with or without
Original file line number Diff line number Diff line change @@ -68,3 +68,18 @@ bu-corefolders
6868restic-env-home
6969bu-mnt-backup
7070```
71+
72+ + Run restic commands manually via restic-user alias
73+
74+ ``` bash
75+ # Set the environment to the home.conf and run restic manually.
76+ restic-env-home
77+ restic-user --help
78+ # View size of raw-data backup
79+ restic-user stats --mode raw-data
80+ # Run restic update
81+ $ restic-user self-update
82+ writing restic to /home/restic/bin/restic
83+ find latest release of restic at GitHub
84+ restic is up to date
85+ ```
Original file line number Diff line number Diff line change 22#? Backup restic root folders with custom excludes.
33
44# Script directory
5- export SCRIPT_DIR="${HOME}/ .scripts/restic-scripts"
5+ export SCRIPT_DIR="/home/username/ .scripts/restic-scripts" #update the username to your user.
66
77# Restic variables
88export RESTIC_MOUNTPOINT="/mnt/restic"
Original file line number Diff line number Diff line change 22#? This will backup the home directory only with custom excludes.
33
44# Script directory
5- export SCRIPT_DIR="${HOME}/ .scripts/restic-scripts"
5+ export SCRIPT_DIR="/home/username/ .scripts/restic-scripts" #update the username to your user.
66
77# Setup
88export GET_LATEST_HOME_EXCLUDES="$(wget https://raw.githubusercontent.com/rubo77/rsync-homedir-excludes/master/rsync-homedir-excludes.txt -O ${SCRIPT_DIR}/homedir-excludes-latest.txt 2>/dev/null)"
You can’t perform that action at this time.
0 commit comments