Ask HN: How can I back up an old vBulletin forum without admin access?
What we've run into:
1. Admin/owner is nearly / absolutely unreachable, which causes a variety of issues. Mainly we cannot even request a traditional backup of the database underneath the forum software.
2. As with anything, the forums don't get much active engagement other than older forum regulars. However, Google searches easily find useful posts for things like DIY maintenance, modification installs, test data from driving with ECU tunes, track day experiences, etc.
3. It's easy to point people on other social networks at posts by their URL, but due to neglect the website constantly has problems making access increasingly complicated and inconsistent.
Ideally, it'd be nice to find a way to scrape everything as closely as possible into a manageable database.
Even more ideally, if we could convert said scraped data into a format that is easily publishable to a new platform, that would be handy. Even if the new platform is static and simply renders the old threads.
I can't imagine we are the only forum that is experiencing problems like this with most forums probably dying in the last decade.
Has anyone gone through this kind of archival process with vBulletin before?
Thanks.
73 comments
[ 1.5 ms ] story [ 85.9 ms ] threadAs far as who owns the data, everything mentioned above is community-owned at least. So if anything it'd be up to individual community members, I'd think, to be OK with it. Since the forum is fairly dead, many of those original members aren't even active either.
EDIT: so of course you should dump the data, wget -r and dump it.
My best guess is that the model of car is "older" now, and they've subsequently moved onto other interests, including possibly the newer model, which I heard (but can't confirm) this person built a similar site for.
The only real changes to the forum in the past 3-4 years are more ads and many more performance/reliability problems, plus bots.
I've run a forum for 20+ years and always wish I had time to do it justice, but other projects generally have better prospects, are more interesting or are more profitable. I'd at least be curious about a pitch that gave it fresh eyes but without losing the entire revenue stream or risking backend or inviting legal issues. In case any of that applies here and is useful to you.
My guess is also probably the passive income side being the priority, especially since they've definitely increased the ads at least since I first joined the forum about a decade ago.
Thanks for the input. It's appreciated. Unfortunately as you can probably understand it's a relatively simple but complicated problem.
Their reluctance to fix issues could be lack of time or wariness of breaking something and creating more work. The reluctance to sell could be because they don't know how to price it and don't want to regret selling it. In many instances, a web property is something you've dreamed of making bigger and you'd hate to give it up only to watch someone else take it further.
Scraping might just invite a legal hassle. I gather that this is the not the route you're interested in, but personally I'd suggest trying to find a casual way to trade messages with the owner, find out their pain points and go from there. There would likely be a path where they can maintain some control but get help and relinquish the stranglehold.
I moved on, please don’t bother me about it and let the website live or die.
That’s about the answer I got the last time one of my favorite websites was due to be deleted.
Thanks again.
Once you have an archive, you can convert that unstructured data to structured data. For example, if I look at https://www.vbulletin.org/forum/showthread.php?t=326241, the thread title and hierarchy is in <table class="navheader">, posts are in <div id="posts">, etc. I see an old project (https://github.com/IanLondon/detectorist-scraper) that may be a useful place to start, and I imagine there have been other similar efforts.
Once you have a structured representation (in a database, in JSON/XML files, etc.), you can decide whether to use it to build a static site, to import it into other forum software, etc.
One potential option but definitely a bit more work would be, once you have all the warc files downloaded, you can open them all in python using the warctools module and maybe beautifulsoup and potentially parse/extract all of the data embedded in the WARC archives into your own "fresh" HTML webserver.
https://github.com/internetarchive/warctools
An Introduction to the WARC File
https://news.ycombinator.com/item?id=39183670
This will fix relative paths, download assets, etc and can be published as-is on a new site. I'm ignoring copyright questions in the interest of archiving fragile data.
Then I'd use an HTML parser against the local archive to extract the individual posts, if the additional work was justified.
My memory says there was a project to be a vB->Discourse converter that didn't rely on DB access, but I can't immediately find it.
God, why? I can't be the only person to find Discourse inferior to vBulletin.
While I'd agree that Discourse isn't ideal, it's one of the better options available in the open source world.
I used to use this to mirror Slashdot when I was travelling for work and had limited/no internet:
```
```I suspect that still works, just needs the user-agent updated.
1. Scrape it with wget or httrack or similar tool.
2. If the owners not really around it’s probably behind on its security patches, and there’s some relatively recent-ish vB exploits that would let you gain code execution and take a backup the “extremely illegal way” of the entire database, site, etc.
I recommend 1, but 2 is amusing to ponder briefly over a coffee ;)
They even went a step further, deleted all the old posts out of the database and setup a redirect to the new forum hosting.
Very illegal, but very effective at solving the problem.
Someone in a situation like this would be well-advised to instead direct creative energy at making option #1 work for you.
(Example: Some kind of crawling/archiving, to capture a copy while you can, and then you can develop good scraping of the data out of your copy at your leisure, whether it ends up being scraped from archived HTML, JSON, XML, or whatever. There's a chance you need a bespoke/tweaked crawler, to avoid missing data, such as posts that are for some reason reachable by human in a Web browser, but not by a particular crawler, and then the consideration to keep in mind is to try to avoid doing something that might look like the bad kind of "hacking" to a non-technical person, even though you aren't bypassing authentication&authorization nor exploiting any vulnerabilities.)
wget --mirror --convert-links --adjust-extension --page-requisites --no-parent --execute robots=off --wait=0.2 --domains example.com https://example.com
Assuming you're a member of the organization and therefore licensed to use the content (but merely unable to access it): Purely hypothetically speaking, if an admin is this mia and obviously not on top of the job, the odds are probably high that they've neglected maintenance. Old PHP server running out-of-date PHP applications... not the most secure combo in the world. I wouldn't be surprised if there were some magic strings you could send to the server to get it to regurgitate the contents of the database in a more developer-friendly, strongly-typed fashion which you could import to myBB or XenForo and continue chugging along..
Hypthetically, I found a remote code execution vulnerability in that version of phpBB, read the configuration file to get the MySQL details, and then used mysqldump to download the database.
You can find exploits by just Googling or looking in Metasploit. They’re usually pretty simple query string things.
We set up a clone of the forum with a similar name just in time, then emailed the user database to tell them about the new site when the old one disappeared.
Sadly this caught the previous owner’s attention and he sent a cease and desist, despite his version of the site not existing any longer. So, we wiped the database, and then all the users just signed up again. It still lives on as https://www.basschat.co.uk/
Hypothetically.
>Sadly this caught the previous owner’s attention and he sent a cease and desist, despite his version of the site not existing any longer.
Wow, what an ass. I just can't understand the thought process of some people.
I would just scrape the site. I would even consider anonymizing names, as everyone should have the right to delete old content IMO.
After scraping, I would then watch the analytics. Anything which seems popular could then be given more attention. For example, I would probably create a design for the site itself, then create dedicated pages for anything popular. The pages could be curated "this is what you came for" and a link to the original pages.
Forums probably don't come back. You could start out with some minimal community features such as comments to see if anyone is willing to bite. A Discord server or similar could be another option. Kind of depends on the demographic I guess. Old people like forums. ;)
I ran a car forum (sold to VerticalScope 15+ years ago) and it's still chugging along on the same version of PunBB that I had it on when I left, so it seems that even the "experts" haven't found a simple way to migrate between forum softwares
https://github.com/lloydpick/vbulletin
This is a very old tool, it’s hard to say if it will work; then again, seems very relevant too so worst case it could provide an inspiration.
It's single-threaded, alpha-quality software, and still isn't compatible with many forums and themes. But it can export WARCs and may just happen to work for you.