-
Notifications
You must be signed in to change notification settings - Fork 276
Setting a MongoDB backend to use as database provider for YTDL M
Warning: this only applies to user upgrading from versions before v4.3
Running YoutubeDL-Material with a MongoDB database backend will GREATLY increase stability,
performance and scalability for up to tens of thousands of video/audio downloads
(as of current testing, tell us if your dataset is larger and successful! :))
Provided you have a MongoDB instance set up (either in a docker or even bare-metal) - you need to
put the connection string in Settings > Database > MongoDB Connection String
- Change the IP and port to your MongoDB instance like shown above,
- click
Test connection string
and if it succeeds... - hit
Save
- and
Transfer Local to DB
. (mine says DB to Local because since I already set it up it offers me the other way around)
That's it!
YoutubeDL-Material will create the tables it needs on its own and fill them with the data from your Local DB.
This process may take quite some time, especially on large datasets, so be patient, please! You can use tools
like MongoDBCompass (MongoDB's official database inspector and editor) to check on the ingress of entries.
unRAID specific instructions also available! Click here