View unanswered posts | View active topics It is currently Thu Dec 26, 2024 6:24 pm



Reply to topic  [ 632 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6 ... 43  Next
 Duh102's Minecraft server 
Author Message
Loose Canon
User avatar

Joined: Sun Mar 29, 2009 11:07 pm
Posts: 2992
Location: --------------->
Reply with quote
Post Re: Duh102's Minecraft server
Red Team FTW.


Mon Nov 30, 2009 7:20 pm
Profile WWW
Banned
User avatar

Joined: Tue Feb 27, 2007 4:05 pm
Posts: 2527
Reply with quote
Post Re: Duh102's Minecraft server
Duh102 wrote:
ProjektTHOR wrote:
You could also try doing a cronjob that hashes the minefiles and disposes of identical backups.

I'll take the lazy way out: Hash the current and last backups and backup if need be. I'm not entirely sure how much work eliminating old backups would entail, and I don't feel like doing so. Besides, currently both backup repositories I keep take up only 100meg of a 120gig drive, I'm not worried about them.
Well, I was thinking overhead in the form of "omg I have over 9000 backups to check for integrity." Cron a CRC is probably the best idea.


Mon Nov 30, 2009 7:37 pm
Profile YIM
User avatar

Joined: Wed Sep 09, 2009 3:16 am
Posts: 3032
Location: Somewhere in the universe
Reply with quote
Post Re: Duh102's Minecraft server
Hyperkultra wrote:
Red Team FTW.

YES, they will win cause they are a bunch of these guys!, :x
FOOTBALL PLAYERS

Also, red is better then purple.


Last edited by dragonxp on Mon Nov 30, 2009 7:44 pm, edited 1 time in total.



Mon Nov 30, 2009 7:42 pm
Profile
Loose Canon
User avatar

Joined: Sun Mar 29, 2009 11:07 pm
Posts: 2992
Location: --------------->
Reply with quote
Post Re: Duh102's Minecraft server
Fottball sucks, Spleef is the only true Man's sport.


Mon Nov 30, 2009 7:43 pm
Profile WWW
User avatar

Joined: Wed Sep 09, 2009 3:16 am
Posts: 3032
Location: Somewhere in the universe
Reply with quote
Post Re: Duh102's Minecraft server
True, but red would still win.
Besides, it the first side THOR built.

EDIT: since this doesn't deserve new post,

Duh, i dont think i knows how to fix that.


Last edited by dragonxp on Mon Nov 30, 2009 7:49 pm, edited 1 time in total.



Mon Nov 30, 2009 7:45 pm
Profile
happy carebear mom
User avatar

Joined: Tue Mar 04, 2008 1:40 am
Posts: 7096
Location: b8bbd5
Reply with quote
Post Re: Duh102's Minecraft server
Hm, I have just discovered that even if nothing goes on in the server, md5 hash changes. Perhaps because the server saves the file and the timestamp changes?
Advise: How do I fix this? Would a file size check be enough?


Mon Nov 30, 2009 7:46 pm
Profile
User avatar

Joined: Wed Sep 16, 2009 6:22 pm
Posts: 491
Location: Victoria, BC
Reply with quote
Post Re: Duh102's Minecraft server
Duh102 wrote:
Hm, I have just discovered that even if nothing goes on in the server, md5 hash changes. Perhaps because the server saves the file and the timestamp changes?
Advise: How do I fix this? Would a file size check be enough?


Yeah the server auto-saves the file every so often (5-15 minutes or so).

Filesize might work but why don't you just do a backup every hour for.. 72 hours, and delete anything older than 72?


Mon Nov 30, 2009 7:51 pm
Profile ICQ YIM WWW
happy carebear mom
User avatar

Joined: Tue Mar 04, 2008 1:40 am
Posts: 7096
Location: b8bbd5
Reply with quote
Post Re: Duh102's Minecraft server
weasel wrote:
Yeah the server auto-saves the file every so often (5-15 minutes or so).

Filesize might work but why don't you just do a backup every hour for.. 72 hours, and delete anything older than 72?

Every minute actually. I suppose I could cap the backups, but I really do want this backup scheme, it would cut down a lot on useless backups made during the middle of they day when no one is on.
I'll try out filesize and see what it produces. If it works, then I'll go with that until a better option comes my way.


Mon Nov 30, 2009 7:55 pm
Profile
User avatar

Joined: Wed Sep 09, 2009 3:16 am
Posts: 3032
Location: Somewhere in the universe
Reply with quote
Post Re: Duh102's Minecraft server
Most effective, however least conveinient, would be doing it manually.

Unless, it's the timing of the backups.


Mon Nov 30, 2009 7:57 pm
Profile
happy carebear mom
User avatar

Joined: Tue Mar 04, 2008 1:40 am
Posts: 7096
Location: b8bbd5
Reply with quote
Post Re: Duh102's Minecraft server
dragonxp wrote:
Most effective, however least conveinient, would be doing it manually.

I'm not going to sit at my computer and copy the server file every 10 minutes, dragon :P


0 players online could work too. Perhaps a combination of both would be best.


Mon Nov 30, 2009 8:00 pm
Profile
User avatar

Joined: Wed Sep 09, 2009 3:16 am
Posts: 3032
Location: Somewhere in the universe
Reply with quote
Post Re: Duh102's Minecraft server
Maybe, but i got a weak feeling it has something to do with map size...

Oh and i realized that me and wiffles were playing spleef up on skytower xD.


Mon Nov 30, 2009 8:03 pm
Profile
happy carebear mom
User avatar

Joined: Tue Mar 04, 2008 1:40 am
Posts: 7096
Location: b8bbd5
Reply with quote
Post Re: Duh102's Minecraft server
Well that failed miserably. Filesize apparently changes as well. I'll just go with players online then.


Mon Nov 30, 2009 8:06 pm
Profile
Banned
User avatar

Joined: Tue Feb 27, 2007 4:05 pm
Posts: 2527
Reply with quote
Post Re: Duh102's Minecraft server
If you use a hash function on the map files you can check them for differences. if has1 != hash2, backup. else skip until next cycle.


Mon Nov 30, 2009 8:12 pm
Profile YIM
User avatar

Joined: Wed Sep 16, 2009 6:22 pm
Posts: 491
Location: Victoria, BC
Reply with quote
Post Re: Duh102's Minecraft server
wow, every minute? That's probably the source of the every-minute lag-spike I get. Any chance of drawing that out a bit?

If the filesizes are reasonably small, the 72-hour thing will work magically delicious

ALSO: @PROJECTthor: Your arena is awesome I can't wait to play


Mon Nov 30, 2009 8:13 pm
Profile ICQ YIM WWW
Banned
User avatar

Joined: Tue Feb 27, 2007 4:05 pm
Posts: 2527
Reply with quote
Post Re: Duh102's Minecraft server
In lieu of Duh's backup system, I think memorable backup numbers should be commemorated. For example, Backup 1776. The Daratealmian Revolution.


Mon Nov 30, 2009 8:14 pm
Profile YIM
Display posts from previous:  Sort by  
Reply to topic   [ 632 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6 ... 43  Next

Who is online

Users browsing this forum: No registered users


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.
[ Time : 0.181s | 13 Queries | GZIP : Off ]