Add backup for bictoin-pulse db
This commit is contained in:
parent
5753bf9e33
commit
532a8ed613
5 changed files with 179 additions and 20 deletions
|
|
@ -22,12 +22,6 @@
|
|||
mode = "0400";
|
||||
};
|
||||
|
||||
sops.secrets."backblaze/nextcloud-env" = {
|
||||
owner = "root";
|
||||
group = "root";
|
||||
mode = "0400";
|
||||
};
|
||||
|
||||
services = {
|
||||
|
||||
nextcloud = {
|
||||
|
|
@ -41,7 +35,7 @@
|
|||
config = {
|
||||
dbtype = "mysql";
|
||||
adminuser = "tobi";
|
||||
adminpassFile = config.sops.secrets."nextcloud/admin-pass".path;
|
||||
adminpassFile = config.sops.secrets."nextcloud/admin-pass".path;
|
||||
};
|
||||
|
||||
autoUpdateApps.enable = true;
|
||||
|
|
@ -54,9 +48,9 @@
|
|||
maintenance_window_start = 2;
|
||||
|
||||
overwritewebroot = "";
|
||||
overwrite.cli.url = "https://cloud.tobiasostner.de";
|
||||
overwritehost = "cloud.tobiasostner.de";
|
||||
overwriteprotocol = "https";
|
||||
overwrite.cli.url = "https://cloud.tobiasostner.de";
|
||||
overwritehost = "cloud.tobiasostner.de";
|
||||
overwriteprotocol = "https";
|
||||
|
||||
## Email settings
|
||||
mail_smtpmode = "smtp";
|
||||
|
|
@ -99,7 +93,7 @@
|
|||
repository = "b2:tobcloud-backup:nextcloud";
|
||||
|
||||
passwordFile = config.sops.secrets."restic/nextcloud-password".path;
|
||||
environmentFile = config.sops.secrets."backblaze/nextcloud-env".path;
|
||||
environmentFile = config.sops.secrets."backblaze/tobcloud-backup-env".path;
|
||||
|
||||
paths = [
|
||||
"/nextcloud-data"
|
||||
|
|
@ -128,7 +122,7 @@
|
|||
enable = true;
|
||||
virtualHosts."cloud.tobiasostner.de" = {
|
||||
forceSSL = true;
|
||||
enableACME = true;
|
||||
enableACME = true;
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue