add backup box
This commit is contained in:
parent
4169da9e22
commit
a2be1730e9
3 changed files with 34 additions and 12 deletions
|
|
@ -17,17 +17,6 @@
|
|||
];
|
||||
};
|
||||
|
||||
services.scheduled-commands.backup-to-thinkpad = {
|
||||
enable = true;
|
||||
description = "Backup files to thinkpad";
|
||||
interval = "*-*-* 00:00:00";
|
||||
commands = [
|
||||
"rsync-backup /mnt/storage/appbulk/immich/library/admin thinkpad:~/Backup/photo-library"
|
||||
"rsync-backup /mnt/storage/Media/DCIM thinkpad:~/Backup/DCIM"
|
||||
"rsync-backup /mnt/storage/Media/nsfw thinkpad:~/Backup/nsfw"
|
||||
];
|
||||
};
|
||||
|
||||
home.packages = with pkgs; [
|
||||
];
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue