diff --git a/client/package.json b/client/package.json index b718e503..80675f82 100644 --- a/client/package.json +++ b/client/package.json @@ -1,6 +1,6 @@ { "name": "audiobookshelf-client", - "version": "1.4.7", + "version": "1.4.8", "description": "Audiobook manager and player", "main": "index.js", "scripts": { diff --git a/package.json b/package.json index ea3b24e5..4ab30c44 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "audiobookshelf", - "version": "1.4.7", + "version": "1.4.8", "description": "Self-hosted audiobook server for managing and playing audiobooks", "main": "index.js", "scripts": { diff --git a/server/BackupManager.js b/server/BackupManager.js index 795a9b9c..b3747957 100644 --- a/server/BackupManager.js +++ b/server/BackupManager.js @@ -307,7 +307,16 @@ class BackupManager { // pipe archive data to the file archive.pipe(output) - archive.directory(configPath, 'config') + var audiobooksDbDir = Path.join(configPath, 'audiobooks') + var librariesDbDir = Path.join(configPath, 'libraries') + var settingsDbDir = Path.join(configPath, 'settings') + var usersDbDir = Path.join(configPath, 'users') + + archive.directory(audiobooksDbDir, 'config/audiobooks') + archive.directory(librariesDbDir, 'config/libraries') + archive.directory(settingsDbDir, 'config/settings') + archive.directory(usersDbDir, 'config/users') + if (metadataBooksPath) { Logger.debug(`[BackupManager] Backing up Metadata Books "${metadataBooksPath}"`) archive.directory(metadataBooksPath, 'metadata-books')