Add way to exclude settings from backups (#1682)
* Add way to exclude settings from backups * Exclude flaresolverrEnabled * Exclude usernames/passwords * Exclude writing deprecated settings to the backup * Exclude AuthMode
This commit is contained in:
+1
-5
@@ -154,7 +154,7 @@ object ProtoBackupExport : ProtoBackupBase() {
|
||||
automatedBackupDir.listFiles { file -> file.name.startsWith(Backup.getBasename(AUTO_BACKUP_FILENAME)) }?.forEach { file ->
|
||||
try {
|
||||
cleanupAutomatedBackupFile(file)
|
||||
} catch (e: Exception) {
|
||||
} catch (_: Exception) {
|
||||
// ignore, will be retried on next cleanup
|
||||
}
|
||||
}
|
||||
@@ -311,10 +311,6 @@ object ProtoBackupExport : ProtoBackupBase() {
|
||||
}
|
||||
}
|
||||
|
||||
// if (flags.includeHistory) {
|
||||
// backupManga.history = TODO()
|
||||
// }
|
||||
|
||||
backupManga
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user