chore: remove redundant backup files after nixification
This commit is contained in:
@@ -1,26 +0,0 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# Back up my $HOME folder to OneDrive using `restic`.
|
||||
#
|
||||
# Adds extra flags needed for using `rclone` with sharepoint WebDav I.e. add
|
||||
# `--ignore-size --ignore-checksum --update` to the default `rclone.args`.
|
||||
#
|
||||
# Select directory in repo using -r rclone:<repo>:<directory>
|
||||
#
|
||||
# Runs `backup` command on $HOME and ignore what is listed in `.resticexclude`
|
||||
#
|
||||
# ```/etc/restic-env
|
||||
# export B2_ACCOUNT_ID=
|
||||
# export B2_ACCOUNT_KEY=
|
||||
# ```
|
||||
#
|
||||
# `restic -r b2:desktop-arch init`
|
||||
|
||||
source /etc/restic-env
|
||||
restic -r "$RESTIC_REPOSITORY:$HOSTNAME" backup \
|
||||
--tag "hektor" \
|
||||
--one-file-system \
|
||||
--files-from="$HOME/.resticinclude" \
|
||||
--exclude-file="$HOME/.resticexclude" \
|
||||
--exclude-if-present=".nobackup" \
|
||||
--verbose=3
|
||||
@@ -1,44 +0,0 @@
|
||||
# Restic ignore
|
||||
|
||||
# General
|
||||
.trash
|
||||
Trash
|
||||
.cache
|
||||
cache
|
||||
Cache
|
||||
CachedData
|
||||
CachedExtension
|
||||
CacheStorage
|
||||
__pycache__
|
||||
GPUCache
|
||||
ShaderCache
|
||||
build
|
||||
.git
|
||||
node_modules
|
||||
venv
|
||||
env
|
||||
|
||||
# Specifics
|
||||
$HOME/.android
|
||||
$HOME/.atom
|
||||
$HOME/.build
|
||||
$HOME/.cabal
|
||||
$HOME/.cargo
|
||||
$HOME/.conda
|
||||
$HOME/.config/BraveSoftware/Brave-Browser/Default/Local Storage
|
||||
$HOME/.config/BraveSoftware/Brave-Browser/Default/Local Extension Settings
|
||||
$HOME/.config/nvm/versions
|
||||
$HOME/.config/devcert
|
||||
$HOME/.espressif
|
||||
$HOME/.local/share/torbrowser
|
||||
$HOME/.mozilla
|
||||
$HOME/.nvm
|
||||
$HOME/.npm
|
||||
$HOME/.nuget
|
||||
$HOME/.yarn
|
||||
$HOME/.config/yarn
|
||||
$HOME/doc/disk-images
|
||||
$HOME/.stremio-server
|
||||
$HOME/Games
|
||||
!$HOME/Games/*/drive_c/users/h/AppData
|
||||
!$HOME/Games/rhino
|
||||
@@ -1,3 +0,0 @@
|
||||
/etc
|
||||
/boot
|
||||
/home
|
||||
Reference in New Issue
Block a user