mirror of
https://codeberg.org/tmayoff/.dotfiles.git
synced 2025-12-06 08:48:34 -05:00
Fixed repo for backup
This commit is contained in:
parent
6b848b363a
commit
ca7a0f0531
1 changed files with 6 additions and 6 deletions
|
|
@ -136,16 +136,16 @@ in {
|
|||
${secrets}
|
||||
|
||||
printf "\nBacking up nextcloud \n"
|
||||
${pkgs.restic}/bin/restic -r "$RESTIC_REPOSITORY/NextCloud" backup --verbose --no-scan /mnt/user/NextCloud
|
||||
${pkgs.restic}/bin/restic -r "$RESTIC_REPOSITORY/NextCloud" check --verbose
|
||||
${pkgs.restic}/bin/restic -r "$RESTIC_REPOSITORY/NextCloud" backup -vvv --no-scan /mnt/user/NextCloud
|
||||
${pkgs.restic}/bin/restic -r "$RESTIC_REPOSITORY/NextCloud" check -vvv
|
||||
|
||||
printf "\nBacking up Backups \n"
|
||||
${pkgs.restic}/bin/restic -r "$RESTIC_REPOSITORY/Backups" backup --verbose --no-scan /mnt/user/Backups
|
||||
${pkgs.restic}/bin/restic -r "$RESTIC_REPOSITORY/Backups" check --verbose
|
||||
${pkgs.restic}/bin/restic -r "$RESTIC_REPOSITORY/Backups" backup -vvv --no-scan /mnt/user/Backups
|
||||
${pkgs.restic}/bin/restic -r "$RESTIC_REPOSITORY/Backups" check -vvv
|
||||
|
||||
printf "\nBacking up appdata \n"
|
||||
${pkgs.restic}/bin/restic -r "$RESTIC_REPOSITORY/Appdata" backup --verbose --no-scan /mnt/user/appdata
|
||||
${pkgs.restic}/bin/restic -r "$RESTIC_REPOSITORY/Appdata" check --verbose
|
||||
${pkgs.restic}/bin/restic -r "$RESTIC_REPOSITORY/appdata" backup -vvv --no-scan /mnt/user/appdata
|
||||
${pkgs.restic}/bin/restic -r "$RESTIC_REPOSITORY/appdata" check -vvv
|
||||
'';
|
||||
serviceConfig = {
|
||||
Type = "simple";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue