Previous Thread
Next Thread
Print Thread
Hop To
Joined: Oct 2007
Posts: 323
Likes: 7
Enthusiast
OP Offline
Enthusiast
Joined: Oct 2007
Posts: 323
Likes: 7
The owners of the site just performed a massive reorg of the site. In the process, they apparently inadvertently deleted one little-used forum. Is it possible to restore a single forum from backup? If so, how would you go about it? Is there any documentation?


The Stovebolt Geek
https://www.stovebolt.com/ubbthreads/ubbthreads.php

x86_64 GNU/Linux
UBBThreads 7.7.5
Web Server Apache/2.4.6
PHP Version 7.4.30
MySQL Version 5.7.38
Database Size 1.72 GB
Joined: Dec 2003
Posts: 6,467
Likes: 70
Offline
Joined: Dec 2003
Posts: 6,467
Likes: 70
I would say no.
Every post touches several tables.

I guess it is possible if you are very adept in database tables have days on end to spare and edit the backup file.
But like I said it is several tables
For few at the top of my head

CATEGORIES
FILES
FORUMS
FORUM_LAST_VISIT
FORUM_PERMISSIONS
GROUPS
PERMISSION_LIST
POSTS
TOPICS
USER_DATA

It would be far less work to restore the full backup and do it correctly again.


Blue Man Group
There is no such thing as stupid questions. Just stupid answers
Joined: Jun 2006
Posts: 16,185
Likes: 102
UBB.threads Developer
Offline
UBB.threads Developer
Joined: Jun 2006
Posts: 16,185
Likes: 102
I'd say no, it'd just be too complicated of a process to isolate that data from a backup file to be able to restore. As Rube mentioned a single post spans multiple tables, so a single post being removed would remove data from at least the FILES FORUM_LAST_VISIT POSTS TOPICS tables.


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum, Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Joined: Dec 2003
Posts: 6,467
Likes: 70
Offline
Joined: Dec 2003
Posts: 6,467
Likes: 70
Of course the longer you wait the worse it gets.
Because you loose all the posts after the backup date.
Be it post,topic ,PM ,likes comments and post counts.
I would chalk it up to lessen learned.


Blue Man Group
There is no such thing as stupid questions. Just stupid answers
Joined: Oct 2007
Posts: 323
Likes: 7
Enthusiast
OP Offline
Enthusiast
Joined: Oct 2007
Posts: 323
Likes: 7
Originally Posted by Ruben
Of course the longer you wait the worse it gets.
Because you loose all the posts after the backup date.
Be it post,topic ,PM ,likes comments and post counts.
I would chalk it up to lessen learned.
And that's what I've told the owners.

Thank you @Rueben and @Gizmo, for responding. I asked the question, pretty much knowing the answer because I didn't want them to think I hadn't covered all the bases


The Stovebolt Geek
https://www.stovebolt.com/ubbthreads/ubbthreads.php

x86_64 GNU/Linux
UBBThreads 7.7.5
Web Server Apache/2.4.6
PHP Version 7.4.30
MySQL Version 5.7.38
Database Size 1.72 GB
Joined: Dec 2003
Posts: 6,467
Likes: 70
Offline
Joined: Dec 2003
Posts: 6,467
Likes: 70
Another thing that comes to mind.
Many many moons ago.
It was preached by the then developers.
Quote
Never ever delete a forum, just turn it off

That is still my SOP.
If and when I need another forum I would either recycle the one I turned off because the permissions were already set or if I decide I may need the posts in the future then I would create a net new forum.


Blue Man Group
There is no such thing as stupid questions. Just stupid answers
Joined: Oct 2007
Posts: 323
Likes: 7
Enthusiast
OP Offline
Enthusiast
Joined: Oct 2007
Posts: 323
Likes: 7
Normally that's what they do. I think this was a fat-finger deal.


The Stovebolt Geek
https://www.stovebolt.com/ubbthreads/ubbthreads.php

x86_64 GNU/Linux
UBBThreads 7.7.5
Web Server Apache/2.4.6
PHP Version 7.4.30
MySQL Version 5.7.38
Database Size 1.72 GB

Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
You've already posted
by Baldeagle - 08/06/2022 1:12 PM
Default Group(s) for New Members
by Morgan - 08/02/2022 10:54 AM
Webhook to DISCORD
by TGCsanderson - 08/01/2022 6:42 AM
Is it possible to restore a single forum from backup?
by Baldeagle - 07/19/2022 1:18 PM
Who's Online Now
1 members (AllenQ33), 71 guests, and 75 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Stones
Stones
by isaac, August 19
Powered by UBB.threads™ PHP Forum Software 7.7.5