Previous Thread
Next Thread
Print Thread
Hop To
Joined: Jun 2004
Posts: 27
S
newbie
newbie
S Offline
Joined: Jun 2004
Posts: 27
This is something I've been wondering about for a while now. I've always shut my board down first and then tarred everything, but would there actually be a problem if I tarred it while it was running? Take into account that I'd tar the board along with other site files, so the process would take a couple of minutes.


~ Scott
Joined: Jun 2006
Posts: 16,301
Likes: 116
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,301
Likes: 116
I don't bother closing my forums when i tar everything, the odds of someone posting as it's processing is semi rare; i also exclude the cache from the index (other than counter files).


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: Jun 2004
Posts: 27
S
newbie
newbie
S Offline
Joined: Jun 2004
Posts: 27
Well, the odds in our case are pretty big that someone would post in the timeframe it takes for the tar to complete...


~ Scott
Joined: Jun 2006
Posts: 16,301
Likes: 116
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,301
Likes: 116
Well, then for safety sake, when you want to backup just close the board for 5 minutes during your backup process...


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: Jun 2004
Posts: 27
S
newbie
newbie
S Offline
Joined: Jun 2004
Posts: 27
I always do (as I explained in my first post), I just want to hear Charles' take on this, I'm sure he knows for certain. <img src="https://www.ubbcentral.com/boards/images/graemlins/wink.gif" alt="" />


~ Scott
Joined: Jul 2006
Posts: 2,143
Pooh-Bah
Pooh-Bah
Joined: Jul 2006
Posts: 2,143
It's likely that tar does not respect the file locking system, so it's possible that the tar process will archive a file midway through being written, which will result in the backup being invalid for at least that one file. It's also possible that you could capture the board in an inconsistant state, between file writes.

Closing the board is very wise.


This thread for sale. Click here! [Linked Image from navaho.infopop.cc]
Joined: Jun 2004
Posts: 27
S
newbie
newbie
S Offline
Joined: Jun 2004
Posts: 27
Just as I thought. Thanks for confirming this... the problem is it makes automated backup of the whole thing impossible, if you have to close it manually first every time. <img src="https://www.ubbcentral.com/boards/images/graemlins/frown.gif" alt="" />


~ Scott
Joined: Jul 2006
Posts: 2,143
Pooh-Bah
Pooh-Bah
Joined: Jul 2006
Posts: 2,143
You could make the automated system update vars_misc.cgi - change BBStatus to OFF, make the backup, then set BBStatus back to ON. <img src="https://www.ubbcentral.com/boards/images/graemlins/smile.gif" alt="" />


This thread for sale. Click here! [Linked Image from navaho.infopop.cc]
Joined: Jun 2004
Posts: 27
S
newbie
newbie
S Offline
Joined: Jun 2004
Posts: 27
That'd be pretty complex to do... I have no idea how you could script something to go edit a file like that...


~ Scott

Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
Version 7.7.5 Images suddenly not displaying
by Stovebolt - 05/04/2024 11:19 AM
Do I need to rebuild my database?
by Baldeagle - 04/07/2024 2:58 AM
Who's Online Now
1 members (Ruben), 404 guests, and 166 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 20240506)