Files
MuditaOS/scripts/lua/share/consts.lua
Lefucjusz fc076fa4cc [MOS-855] Fix restore from legacy backup
Added checking if requested to restore backup
from pre-UDM version and setting db versions
to zero in such case, as version info file
(called backup.json in legacy backups) doesn't
contain info about versions.
2023-01-19 16:41:56 +01:00

8 lines
235 B
Lua

local consts = {}
consts.version_file = "version.json"
consts.legacy_version_file = "backup.json" -- Pre-UDM backup package had version.json file named as backup.json
consts.indexer_cache_file = ".directory_is_indexed"
return consts