mirror of
https://github.com/starr-dusT/dotfiles.git
synced 2025-02-19 19:27:31 -08:00
kestrel borg backup setup
This commit is contained in:
parent
3957481676
commit
6211f4097b
15
home/dot_config/borgmatic.d/kestrel_common.yaml
Normal file
15
home/dot_config/borgmatic.d/kestrel_common.yaml
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
source_directories:
|
||||||
|
- "/home/tstarr"
|
||||||
|
|
||||||
|
exclude_patterns:
|
||||||
|
- "/home/tstarr/.?*"
|
||||||
|
- "/home/tstarr/mnt"
|
||||||
|
- "/home/tstarr/tmp"
|
||||||
|
- "/home/tstarr/sync"
|
||||||
|
- "/home/tstarr/media/roms"
|
||||||
|
- "/home/tstarr/box"
|
||||||
|
- "/home/tstarr/Downloads"
|
||||||
|
|
||||||
|
archive_name_format: 'kestrel.borg-{now}'
|
||||||
|
|
||||||
|
<<: !include common.yaml
|
7
home/dot_config/borgmatic.d/kestrel_rsync.yaml
Normal file
7
home/dot_config/borgmatic.d/kestrel_rsync.yaml
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
repositories:
|
||||||
|
- path: ssh://fm2120@fm2120.rsync.net//data2/home/fm2120/store/kestrel.borg
|
||||||
|
label: rsync
|
||||||
|
|
||||||
|
remote_path: borg1
|
||||||
|
|
||||||
|
<<: !include kestrel_common.yaml
|
5
home/dot_config/borgmatic.d/kestrel_torus.yaml
Normal file
5
home/dot_config/borgmatic.d/kestrel_torus.yaml
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
repositories:
|
||||||
|
- path: ssh://tstarr@torus//engi/store/kestrel.borg
|
||||||
|
label: torus
|
||||||
|
|
||||||
|
<<: !include kestrel_common.yaml
|
@ -25,6 +25,11 @@
|
|||||||
owner = "${user}";
|
owner = "${user}";
|
||||||
group = "users";
|
group = "users";
|
||||||
};
|
};
|
||||||
|
age.secrets."borg/torus/password" = {
|
||||||
|
file = ../../secrets/borg/torus/password.age;
|
||||||
|
owner = "${user}";
|
||||||
|
group = "users";
|
||||||
|
};
|
||||||
|
|
||||||
# Password-less logins for backup
|
# Password-less logins for backup
|
||||||
users.users."${user}".openssh.authorizedKeys.keyFiles = [
|
users.users."${user}".openssh.authorizedKeys.keyFiles = [
|
||||||
|
Loading…
x
Reference in New Issue
Block a user