Update:Default backup schedule to 1:30 to avoid conflict with new episode checks #761

This commit is contained in:
advplyr 2022-07-05 17:38:17 -05:00
parent 624a44f572
commit f27982d887
2 changed files with 3 additions and 3 deletions

View File

@ -54,7 +54,7 @@ export default {
},
computed: {
dailyBackupsTooltip() {
return 'Runs at 1am every day (your server time). Saved in /metadata/backups.'
return 'Runs at 1:30am every day (your server time). Saved in /metadata/backups.'
},
maxBackupSizeTooltip() {
return 'As a safeguard against misconfiguration, backups will fail if they exceed the configured size.'
@ -74,7 +74,7 @@ export default {
return
}
var updatePayload = {
backupSchedule: this.dailyBackups ? '0 1 * * *' : false,
backupSchedule: this.dailyBackups ? '30 1 * * *' : false,
backupsToKeep: Number(this.backupsToKeep),
maxBackupSize: Number(this.maxBackupSize)
}

View File

@ -24,7 +24,7 @@ class ServerSettings {
this.rateLimitLoginWindow = 10 * 60 * 1000 // 10 Minutes
// Backups
// this.backupSchedule = '0 1 * * *' // If false then auto-backups are disabled (default every day at 1am)
// this.backupSchedule = '30 1 * * *' // If false then auto-backups are disabled (default every day at 1:30am)
this.backupSchedule = false
this.backupsToKeep = 2
this.maxBackupSize = 1