mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2024-11-08 09:04:43 +01:00
Fix:Backups to not backup temp db files
This commit is contained in:
parent
3c25e87e8d
commit
62aec63d1d
@ -295,14 +295,14 @@ class BackupManager {
|
||||
// pipe archive data to the file
|
||||
archive.pipe(output)
|
||||
|
||||
archive.directory(this.db.LibraryItemsPath, 'config/libraryItems')
|
||||
archive.directory(this.db.UsersPath, 'config/users')
|
||||
archive.directory(this.db.SessionsPath, 'config/sessions')
|
||||
archive.directory(this.db.LibrariesPath, 'config/libraries')
|
||||
archive.directory(this.db.SettingsPath, 'config/settings')
|
||||
archive.directory(this.db.CollectionsPath, 'config/collections')
|
||||
archive.directory(this.db.AuthorsPath, 'config/authors')
|
||||
archive.directory(this.db.SeriesPath, 'config/series')
|
||||
archive.directory(this.db.LibraryItemsPath, 'config/libraryItems/data')
|
||||
archive.directory(this.db.UsersPath, 'config/users/data')
|
||||
archive.directory(this.db.SessionsPath, 'config/sessions/data')
|
||||
archive.directory(this.db.LibrariesPath, 'config/libraries/data')
|
||||
archive.directory(this.db.SettingsPath, 'config/settings/data')
|
||||
archive.directory(this.db.CollectionsPath, 'config/collections/data')
|
||||
archive.directory(this.db.AuthorsPath, 'config/authors/data')
|
||||
archive.directory(this.db.SeriesPath, 'config/series/data')
|
||||
|
||||
if (this.serverSettings.backupMetadataCovers) {
|
||||
Logger.debug(`[BackupManager] Backing up Metadata Items "${this.ItemsMetadataPath}"`)
|
||||
|
Loading…
Reference in New Issue
Block a user