diff --git a/services/backups/jobs/lldap.hcl b/services/backups/jobs/lldap.hcl index 6230c96..11af404 100644 --- a/services/backups/jobs/lldap.hcl +++ b/services/backups/jobs/lldap.hcl @@ -6,11 +6,10 @@ job "lldap" { passphrase = env("BACKUP_PASSPHRASE") } - # sqlite "Backup database" { - # path = "/data/lldap/users.db" - # # sqlite3 /data/lldap/users.db .backup /data/lldap/users.db.bak - # dump_to = "/data/lldap/users.db.bak" - # } + sqlite "Backup database" { + path = "/data/lldap/users.db" + dump_to = "/data/lldap/users.db.bak" + } backup { paths = ["/data/lldap"] diff --git a/services/backups/jobs/sonarr.hcl b/services/backups/jobs/sonarr.hcl index 572335f..3b424a2 100644 --- a/services/backups/jobs/sonarr.hcl +++ b/services/backups/jobs/sonarr.hcl @@ -6,13 +6,8 @@ job "sonarr" { passphrase = env("BACKUP_PASSPHRASE") } - # sqlite "Backup database" { - # path = "/data/lldap/users.db" - # # sqlite3 /data/lldap/users.db .backup /data/lldap/users.db.bak - # dump_to = "/data/lldap/users.db.bak" - # } - backup { + # Not dunping sqlite because sonarr makes dumps paths = ["/data/sonarr"] # Because path is absolute restore_opts {