Hello forum! I’m really pleased to see the user import and export feature land. I run a server with a lot of disk space, which I’ve been in the slow process of winding down. It’s important to me that users can get their data if they want.
My account is the largest on the server with 1.7 TB of video total, so I started there to stress test the feature. I’ve been running into multiple problems, and there’s one bug that prevents any export over 4GB from working.
I don’t use github any more or I’d start filing issues. There are a few:
integer column in userExports table
premature cleanup of « expired » exports after they have been in progress for 1 hour
exports stuck in « progress » until server restart
older incomplete livestreams crashing the entire export because no video file path could be determined
Maybe others I haven’t understood yet. I’m still trying to get one successful export as a proof of concept.
If any devs try to export a larger account these issues should be easy to reproduce.
My nearly 2TB export finished, with two hacks in place. (size column data type changed to bigint, and commented out the « expired » cleanup entirely)
Now it’s downloading and the default rate limit is very painful here. It seems like user exports should have a much higher limit than regular video downloads.
Yes I’ve had a higher default limit on the instance for a while, but I would even still prefer a higher limit for user exports than video downloads.
Video download throttling helps mitigate logged-out crawlers, but my actual users I want to download their archive as fast as possible so the file doesn’t sit around.
Slow and steady, the nearly 2TB zip file has fully downloaded and it at least looks okay to « unzip -l ». I’ll need to try importing it too, when I have a server free with enough space.
Regarding expiration, I did try changing the config but archives were being deleted an hour into the process regardless. It seemed like the expiration test was buggy but I didn’t get far enough to understand the root cause before disabling the cleanup entirely.