Skip to content

Commit 3bd2e30

Browse files
committed
fixing variable calls
1 parent 8339801 commit 3bd2e30

4 files changed

Lines changed: 18 additions & 3 deletions

File tree

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
BSD 2-Clause License
22

3-
Copyright (c) 2014, Alexander Neumann <alexander@bumpern.de>
3+
Copyright (c) 2019, Luke Penrod <support@deepinthought.io>
44
All rights reserved.
55

66
Redistribution and use in source and binary forms, with or without

README.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,3 +68,18 @@ bu-corefolders
6868
restic-env-home
6969
bu-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+
```

restic-corefolders.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
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
88
export RESTIC_MOUNTPOINT="/mnt/restic"

restic-homedir.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
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
88
export 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)"

0 commit comments

Comments
 (0)