borg
This commit is contained in:
parent
a753fcea8f
commit
3b27902fc0
5 changed files with 95 additions and 43 deletions
|
@ -91,9 +91,45 @@ in
|
|||
rclone = {
|
||||
enable = true;
|
||||
};
|
||||
|
||||
borgmatic = {
|
||||
enable = true;
|
||||
backups = {
|
||||
eddie = {
|
||||
location = {
|
||||
excludeHomeManagerSymlinks = true;
|
||||
patterns = [
|
||||
"R /home/emenel"
|
||||
"- .cache"
|
||||
"- .nix*"
|
||||
"- .steam*"
|
||||
"- Sync"
|
||||
"- Mounts"
|
||||
"- .BitwigStudio"
|
||||
"- .local/share/bitwig"
|
||||
"- .local/share/flatpak"
|
||||
];
|
||||
repositories = [
|
||||
{
|
||||
"path" = "ssh://oyi3ydnz@oyi3ydnz.repo.borgbase.com/./repo";
|
||||
"label" = "eddie on borgbase";
|
||||
}
|
||||
];
|
||||
};
|
||||
retention = {
|
||||
keepDaily = 7;
|
||||
keepHourly = 3;
|
||||
keepMonthly = 6;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
services = {
|
||||
borgmatic = {
|
||||
enable = true;
|
||||
};
|
||||
gpg-agent = {
|
||||
enable = true;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue