mirror of
https://github.com/Stunkymonkey/nixos.git
synced 2025-05-24 09:54:40 +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 = {
|
||||
paths = [
|
||||
"/"
|
||||
"/etc/nixos/"
|
||||
"/home/"
|
||||
];
|
||||
exclude = [
|
||||
"/nix"
|
||||
|
@ -59,10 +57,10 @@ in
|
|||
"/home/*/.gvfs"
|
||||
"/home/*/.thumbnails"
|
||||
"/home/*/.local/share/Trash"
|
||||
"/src/data/tmp"
|
||||
"/src/data/todo"
|
||||
"/srv/data/tmp"
|
||||
"/srv/data/todo"
|
||||
];
|
||||
extraCreateArgs = "--one-file-system --exclude-caches --keep-exclude-tags --stats";
|
||||
extraCreateArgs = "--exclude-caches --keep-exclude-tags --stats";
|
||||
encryption = {
|
||||
mode = "repokey-blake2";
|
||||
passCommand = "cat /root/.borg_password";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue