How to transfer generated files and metadata from Win version?

My PC is in the shop and will be for some time but I still have an Unraid NAS where my videos are stored so I got curious about the docker version.

I was able to install and get up and running the s6 version from Community Apps. I tested out videos with different codecs and they all worked. My original intention was to just get a very bare bones version going that only had previews and sprites without any metadata. But even just doing that would take several days.

I have a backup of all the generated files and metadata from my Win version. Is it as simple as just copying the folders from the backup to the corresponding folders of the docker version? I already have some generated files from the new version. Should I just delete those? Or would I have to do the transfer from a fresh docker version without any data? A possible complicating factor is that I use the Windows version 28 of Stash (one of the plugins I use most often has buggy behavior with newer versions) so I’m not sure if that’ll cause additional problems if I try to transfer the Win version files. I don’t know if it’s possible to get an older docker version if that’s the case.

Thanks for any help

I did this once but forget exactly what I did. I think if you copy the database file from your source and make sure all the files from the various directories in the “Application Paths” section of system settings are moved then you should be ok. Just do a scan and check a few files. You might want to do a clean and then optimize DB as well afterwards. Having different versions may complicate this.

I did a little more digging here and found this which tells you how to modify the SQLite database. Something necessary if you’re switching between Windows and Linux systems like Unraid because they use different path separators (“/“, ”\”).

I decided to not do a clean docker reinstall and deleted the blobs and the generated folders. I then replaced them with the ones from my backup and started up the Stash docker. It prompted me to do a schema migration at startup which was successfully completed. I only took a quick look but it seems to have been successful. I intentionally didn’t replace any other folders to simplify things and since this isn’t meant to be permanent. I’ll edit this if there’s any problems.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.