Add sqlite backup for lldap
This commit is contained in:
parent
37e80980bc
commit
2d63d7e74d
@ -6,11 +6,10 @@ job "lldap" {
|
|||||||
passphrase = env("BACKUP_PASSPHRASE")
|
passphrase = env("BACKUP_PASSPHRASE")
|
||||||
}
|
}
|
||||||
|
|
||||||
# sqlite "Backup database" {
|
sqlite "Backup database" {
|
||||||
# path = "/data/lldap/users.db"
|
path = "/data/lldap/users.db"
|
||||||
# # sqlite3 /data/lldap/users.db .backup /data/lldap/users.db.bak
|
dump_to = "/data/lldap/users.db.bak"
|
||||||
# dump_to = "/data/lldap/users.db.bak"
|
}
|
||||||
# }
|
|
||||||
|
|
||||||
backup {
|
backup {
|
||||||
paths = ["/data/lldap"]
|
paths = ["/data/lldap"]
|
||||||
|
@ -6,13 +6,8 @@ job "sonarr" {
|
|||||||
passphrase = env("BACKUP_PASSPHRASE")
|
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 {
|
backup {
|
||||||
|
# Not dunping sqlite because sonarr makes dumps
|
||||||
paths = ["/data/sonarr"]
|
paths = ["/data/sonarr"]
|
||||||
# Because path is absolute
|
# Because path is absolute
|
||||||
restore_opts {
|
restore_opts {
|
||||||
|
Loading…
Reference in New Issue
Block a user