mirror of
https://github.com/Stunkymonkey/nixos.git
synced 2025-05-24 18:04:41 +02:00
backup: fix --one-file-system
This commit is contained in:
parent
6e812d6bbb
commit
9c8bc2c9c8
1 changed files with 3 additions and 5 deletions
|
@ -42,8 +42,6 @@ in
|
||||||
services.borgbackup.jobs.hetzner = {
|
services.borgbackup.jobs.hetzner = {
|
||||||
paths = [
|
paths = [
|
||||||
"/"
|
"/"
|
||||||
"/etc/nixos/"
|
|
||||||
"/home/"
|
|
||||||
];
|
];
|
||||||
exclude = [
|
exclude = [
|
||||||
"/nix"
|
"/nix"
|
||||||
|
@ -59,10 +57,10 @@ in
|
||||||
"/home/*/.gvfs"
|
"/home/*/.gvfs"
|
||||||
"/home/*/.thumbnails"
|
"/home/*/.thumbnails"
|
||||||
"/home/*/.local/share/Trash"
|
"/home/*/.local/share/Trash"
|
||||||
"/src/data/tmp"
|
"/srv/data/tmp"
|
||||||
"/src/data/todo"
|
"/srv/data/todo"
|
||||||
];
|
];
|
||||||
extraCreateArgs = "--one-file-system --exclude-caches --keep-exclude-tags --stats";
|
extraCreateArgs = "--exclude-caches --keep-exclude-tags --stats";
|
||||||
encryption = {
|
encryption = {
|
||||||
mode = "repokey-blake2";
|
mode = "repokey-blake2";
|
||||||
passCommand = "cat /root/.borg_password";
|
passCommand = "cat /root/.borg_password";
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue