Add sqlite backup for lldap
This commit is contained in:
parent
37e80980bc
commit
2d63d7e74d
@ -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"]
|
||||
|
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user