Previous Thread
Next Thread
Print Thread
Hop To
Joined: Oct 2007
Posts: 361
Likes: 8
Enthusiast
Enthusiast
Joined: Oct 2007
Posts: 361
Likes: 8
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

Server Information
UBB.threads Version 7.7.5
Release 20201027
Server OS Linux
Server Load 0.16
Web Server Apache/2.4.6
PHP Version 7.4.33
MYSQL Version 5.7.43
Database Size 1.85 GB
Joined: Dec 2003
Posts: 6,562
Likes: 78
Joined: Dec 2003
Posts: 6,562
Likes: 78
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,299
Likes: 116
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,299
Likes: 116
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,562
Likes: 78
Joined: Dec 2003
Posts: 6,562
Likes: 78
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: 361
Likes: 8
Enthusiast
Enthusiast
Joined: Oct 2007
Posts: 361
Likes: 8
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

Server Information
UBB.threads Version 7.7.5
Release 20201027
Server OS Linux
Server Load 0.16
Web Server Apache/2.4.6
PHP Version 7.4.33
MYSQL Version 5.7.43
Database Size 1.85 GB
Joined: Dec 2003
Posts: 6,562
Likes: 78
Joined: Dec 2003
Posts: 6,562
Likes: 78
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: 361
Likes: 8
Enthusiast
Enthusiast
Joined: Oct 2007
Posts: 361
Likes: 8
Normally that's what they do. I think this was a fat-finger deal.


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

Server Information
UBB.threads Version 7.7.5
Release 20201027
Server OS Linux
Server Load 0.16
Web Server Apache/2.4.6
PHP Version 7.4.33
MYSQL Version 5.7.43
Database Size 1.85 GB

Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
Bots
by Outdoorking - 04/13/2024 5:08 PM
Can you add html to language files?
by Baldeagle - 04/07/2024 2:41 PM
Do I need to rebuild my database?
by Baldeagle - 04/07/2024 2:58 AM
This is not a bug, but a suggestion
by Baldeagle - 04/05/2024 11:25 PM
spam issues
by ECNet - 03/19/2024 11:45 PM
Who's Online Now
2 members (Nightcrawler, Ruben), 694 guests, and 214 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 8.0.0
(Preview build 20230217)