diff options
author | lassulus <lass@aidsballs.de> | 2016-04-20 13:59:49 +0200 |
---|---|---|
committer | lassulus <lass@aidsballs.de> | 2016-04-20 13:59:49 +0200 |
commit | 20d4383d1f0ed484e402478d92da24d4aed44285 (patch) | |
tree | 6b98426a82500911b34b5a2c7606b1a90ebe05fc /lass/2configs | |
parent | 18775d670660df408bb8310daa8b507b3b1a3f87 (diff) |
l 2 websites: use lass.mysqlBackup
Diffstat (limited to 'lass/2configs')
-rw-r--r-- | lass/2configs/websites/domsen.nix | 10 | ||||
-rw-r--r-- | lass/2configs/websites/fritz.nix | 18 |
2 files changed, 17 insertions, 11 deletions
diff --git a/lass/2configs/websites/domsen.nix b/lass/2configs/websites/domsen.nix index caaee96bb..a6fdad645 100644 --- a/lass/2configs/websites/domsen.nix +++ b/lass/2configs/websites/domsen.nix @@ -38,6 +38,16 @@ in { rootPassword = toString (<secrets/mysql_rootPassword>); }; + lass.mysqlBackup = { + enable = true; + config.domsen = { + password = toString (<secrets/mysql_rootPassword>); + databases = [ + "ubikmedia_de" + "o_ubikmedia_de" + ]; + }; + }; services.mysqlBackup = { enable = true; databases = [ diff --git a/lass/2configs/websites/fritz.nix b/lass/2configs/websites/fritz.nix index 0eff39908..b02c2e878 100644 --- a/lass/2configs/websites/fritz.nix +++ b/lass/2configs/websites/fritz.nix @@ -44,12 +44,14 @@ in { rootPassword = toString (<secrets/mysql_rootPassword>); }; - services.mysqlBackup = { + lass.mysqlBackup = { enable = true; - databases = [ - "eastuttgart_de" - ]; - location = "/bku/sql_dumps"; + config.fritz = { + password = toString (<secrets/mysql_rootPassword>); + databases = [ + "eastuttgart_de" + ]; + }; }; #lass.owncloud = { @@ -57,10 +59,4 @@ in { # instanceid = "oc8n8ddbftgh"; # }; #}; - - #services.mysql = { - # enable = true; - # package = pkgs.mariadb; - # rootPassword = toString (<secrets/mysql_rootPassword>); - #}; } |