2021-09-14 13:31:06 +00:00
|
|
|
|
|
|
|
|
const BACKUP_PATH = "/appsmith-stacks/data/backup"
|
|
|
|
|
|
|
|
|
|
const RESTORE_PATH = "/appsmith-stacks/data/restore"
|
|
|
|
|
|
|
|
|
|
const DUMP_FILE_NAME = "appsmith-data.archive"
|
|
|
|
|
|
2022-11-01 07:27:41 +00:00
|
|
|
const APPSMITHCTL_LOG_PATH = "/appsmith-stacks/logs/appsmithctl"
|
2022-07-07 05:49:25 +00:00
|
|
|
|
2022-07-28 12:15:28 +00:00
|
|
|
const LAST_ERROR_MAIL_TS = "/appsmith-stacks/data/backup/last-error-mail-ts"
|
|
|
|
|
|
|
|
|
|
const MIN_REQUIRED_DISK_SPACE_IN_BYTES = 2147483648 // 2GB
|
|
|
|
|
|
|
|
|
|
const DURATION_BETWEEN_BACKUP_ERROR_MAILS_IN_MILLI_SEC = 21600000 // 6 hrs
|
2022-07-07 05:49:25 +00:00
|
|
|
|
2021-09-14 13:31:06 +00:00
|
|
|
module.exports = {
|
|
|
|
|
BACKUP_PATH,
|
|
|
|
|
RESTORE_PATH,
|
|
|
|
|
DUMP_FILE_NAME,
|
2022-07-28 12:15:28 +00:00
|
|
|
LAST_ERROR_MAIL_TS,
|
2022-11-01 07:27:41 +00:00
|
|
|
APPSMITHCTL_LOG_PATH,
|
2022-07-07 05:49:25 +00:00
|
|
|
MIN_REQUIRED_DISK_SPACE_IN_BYTES,
|
2022-07-28 12:15:28 +00:00
|
|
|
DURATION_BETWEEN_BACKUP_ERROR_MAILS_IN_MILLI_SEC,
|
2021-09-14 13:31:06 +00:00
|
|
|
}
|