This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
#: Title : restic | |
#: Date : October 13, 2018 | |
#: Author : Matt Vance | |
#: Version : 1.0 | |
#: Description : Script to run regular restic backups | |
#: License : MIT License (MIT) | |
# Copyright (C) 2018 Matthew Vance |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
#: Title : restic | |
#: Date : July 15 2018 | |
#: Author : Matt Vance | |
#: Version : 1.1 | |
#: Description : Script to fully sytem backlup | |
#: License : MIT License (MIT) | |
# Copyright (C) 2019 Matthew Vance |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
#: Title : restic-init-local | |
#: Date : July 16 2018 | |
#: Author : Matt Vance | |
#: Version : 1.0 | |
#: Description : Script to create local restic repo | |
#: License : MIT License (MIT) | |
# Copyright (C) 2018 Matthew Vance |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
#: Title : restic | |
#: Date : July 22 2018 | |
#: Author : Matt Vance | |
#: Version : 1.0 | |
#: Description : Script to fully sytem backlup | |
#: License : MIT License (MIT) | |
# Copyright (C) 2018 Matthew Vance |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description=Runs daily aws sync script | |
[Service] | |
Type=oneshot | |
ExecStart=/etc/restic/aws.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/dev/* | |
/home/*/.bash_history | |
/home/*/.cache/chromium | |
/home/*/.local/share/Trash | |
/home/*/.mozilla/firefox/*/Cache | |
/home/*/Documents/Exclude/* | |
/lib/modules/*/volatile/.mounted | |
/media/* | |
/mnt/* | |
/proc/* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description=Runs daily restic maintenance script | |
[Service] | |
Type=oneshot | |
ExecStart=/etc/restic/restic-maintenance-daily.sh | |
User=restic |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
######### | |
# Aliases | |
######### | |
# Configure aliases to work when prefixed with sudo | |
alias sudo='sudo ' | |
# ------------------------------------ | |
# Apt-get | |
# ------------------------------------ | |
# Install package (e.g., apti nginx) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description=Caddy HTTP/2 web server | |
Documentation=https://caddyserver.com/docs | |
After=network-online.target | |
Wants=network-online.target systemd-networkd-wait-online.service | |
[Service] | |
Restart=on-abnormal | |
; User and group the process will run as. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description=rclone - rsync for cloud storage | |
Documentation=https://rclone.org/docs/ | |
After=network-online.target | |
Before=caddy.service | |
Wants=network-online.target systemd-networkd-wait-online.service | |
Requires=caddy.service | |
[Service] | |
Restart=on-abnormal |