TOG Latest

Chris Roberts Recognises the Star Cit...

The rising interest in Star Citizen in TOG has gai...

Warthunder heard throughout TOG

The sounds of Warthunder is being heard throughout TOG

Dota 2 Release

DOTA2 Released.

Planetside 2 Release 20-Nov-2012 PST

The long awaited and critically acclaimed PlanetSi...

Division Latest

TOG MindCrack - Mining, Machines, Mag...

TOG's MindCrack Minecraft server offers all that's...

Get to know your guildmate interview ...

Ral Partha interviews TOG member and Guild Wars 2 ...

Machines and magic in Minecraft - 'Fe...

Over the vacation period, a "Feed The Beast" Mod p...

Get to know your guildmate interview ...

Ral Partha interviews TOG member and Guild Wars 2 ...


Go Back   The Older Gamers Forums > TOG Strategy, RPG and Other Games > Minecraft (Public Forum)

Minecraft (Public Forum) Build it and they will come

Reply
 
LinkBack Thread Tools
Old 10th January 2011, 09:35 PM   #1 (permalink)
Elite - Post: 3994
 Obsi's Avatar

Cheeky
Default Backup your singleplayer game!

I just today found out how to make a backup of your singleplayer game, when I decided to be nice and copy my world over for MiniObsi, so she could have my unicorn...... All you need to do is go to your application data folder.... find the "minecraft" folder.... then the "saves". You'll have folders called "World1" and so on.... just copy that entire folder and that will save your single player game.

I'm suggesting this, because we just had a blackout while I was playing.... and when I went to reload the game, my savegame was completely gone! All the slots were empty.

Luckily I'd only a few hours before decided to make another save of my game because I was going to burn down some trees, so I can restore back to that... but I've lost 2 hours worth of cutting down a forest of trees, and a lot of building.....

The real kicker.... on Sat I bought a UPS, because this machine didn't have one, and I was worried I'd lose stuff in a blackout... and of course I left it sitting in the box beside me, too lazy to plug it in.....


(needless to say, I started unboxing it in the dark, and plugged it in as soon as the power came back on!)
Obsi is offline   Reply With Quote

Old 12th January 2011, 12:35 PM   #2 (permalink)
Team Fortress 2
Deadly - Post: 1326

Default

What is this single player game you speak of?

Manuzza
Manuzza is offline   Reply With Quote
Old 12th January 2011, 09:24 PM   #3 (permalink)
Retired Captain
Retired Captain
Elite - Post: 2752
 Bazz's Avatar

Innocent
Default

noob question - is there an ingame way to do this, or do you mean making a copy of the save folder and storing it else where?
__________________
Bazz is offline   Reply With Quote
Old 12th January 2011, 11:10 PM   #4 (permalink)
Team Fortress 2
Deadly - Post: 1389

Default

yeah I just copy the World1 folder or whatever I want to backup to a different directory.
You can then rename it and just manage the slots by calling them whatever you want and restore back to World1-5 if required.
exekewtable is offline   Reply With Quote
Old 12th January 2011, 11:52 PM   #5 (permalink)
Elite - Post: 3994
 Obsi's Avatar

Cheeky
Default

yeah you have to go to the folder and copy/paste it to a different place to back it up... (I've been adding an underscore and the date to mine to differentiate them in my evergrowing quest to get a black pegasus or a pack horse...)
Obsi is offline   Reply With Quote
Old 13th January 2011, 12:32 AM   #6 (permalink)
Ace - Post: 8254 TOG Silver Level Supporter
 DaedalusAlpha's Avatar

Default

It's reasonably easy to write a simple batch file to do that automatically at startup if you really want to be safe. It could even delete backups that are old to save space
__________________
EVE Online characters:
Daedalus II
ex-CEO TOGOA, Daedalus III slave of Daedalus II
GW2 characters:
Little Molok Asura Engineer


"Each day I don't get an attempt on my life by a robot from the future I see as a personal failure"
DaedalusAlpha is offline   Reply With Quote
Old 13th January 2011, 12:37 AM   #7 (permalink)
Retired Captain
Retired Captain
Elite - Post: 2752
 Bazz's Avatar

Innocent
Default

Quote:
Originally Posted by DaedalusAlpha View Post
It's reasonably easy to write a simple batch file to do that automatically at startup if you really want to be safe. It could even delete backups that are old to save space
Simple?
(must be some useage of the word that I was not previously aware of)

I can write my name (In proper grown up joined together writing and everything!) will that help?

Sarcasm and my ignorance aside, this sounds very cool - is it something you would be able to write something generic for, that those of us (me) who wouldnt be able to do this?
__________________
Bazz is offline   Reply With Quote
Old 13th January 2011, 01:34 AM   #8 (permalink)
Ace - Post: 8254 TOG Silver Level Supporter
 DaedalusAlpha's Avatar

Default

Reasonably easy as in it's a lot easier than writing a C++ or Java program to do the same thing, and for someone with basic DOS knowledge it's pretty easy to understand

But yeah I guess I could do that, I need to use my batch coding skills to keep them fresh.

(note that this is for Windows though, I assume it's windows you're running?)
__________________
EVE Online characters:
Daedalus II
ex-CEO TOGOA, Daedalus III slave of Daedalus II
GW2 characters:
Little Molok Asura Engineer


"Each day I don't get an attempt on my life by a robot from the future I see as a personal failure"
DaedalusAlpha is offline   Reply With Quote
Old 13th January 2011, 02:11 AM   #9 (permalink)
Retired Captain
Retired Captain
Elite - Post: 2752
 Bazz's Avatar

Innocent
Default

Quote:
Originally Posted by DaedalusAlpha View Post
(note that this is for Windows though, I assume it's windows you're running?)
It is - if you could do this, would be of a huge help (and I could rest easy knowing the boys worlds were safe!)
__________________
Bazz is offline   Reply With Quote
Old 13th January 2011, 09:15 AM   #10 (permalink)
Ace - Post: 8254 TOG Silver Level Supporter
 DaedalusAlpha's Avatar

Default

Ok here is a first try at it. Due to the different languages on our systems there might be some problems but we hope not.

Installation
Three files are supplied; the MinecraftBackup.bat file which is the main backup file, MinecraftRestore.bat which is the restoration file and a file called forfiles.exe which is a utility command from Microsoft that isn't included by default in Windows. It and MinecraftBackup.bat needs to be in the same location. MinecraftRestore.bat doesn't need it.

Place the files at some smart location, for example the same folder as the main Minecraft file.
Before you run MinecraftBackup.bat the first time, open it by right clicking and choosing edit. There are three lines you can change in the beginning of the file clearly marked, especially the destination folder and days to keep might be interesting to change.

Storage structure
Files will be saved in the backup location in a folder called <date>_HHMMSS_<user name>

Under this folder each world will be saved; World1, World2, World3 and so on.
To restore a backup go to the folder you're interested in, copy the MinecraftRestore.bat file, paste it there and then run it. It will copy back all World files from that specific backup into the minecraft save folder. Keep in mind that it will overwrite any current files!

Autorun
You probably want to have the backup auto-run when windows starts. To do this drag MinecraftBackup.bat to the start menu -> all programs -> startup. Keep in mind though that this is a very slow and hard drive intensive process so it might not be the best idea to run it just as Windows starts. You can use the task scheduler to delay the start of the file. With some more batch magic I also think it might be possible to run it once minecraft closes if that's a better idea.

The file can be run any time you want if you want to make extra backups (as long as Minecraft isn't running at the same time).
Attached Files
File Type: zip MinecraftBackup.zip (4.9 KB, 2 views)
__________________
EVE Online characters:
Daedalus II
ex-CEO TOGOA, Daedalus III slave of Daedalus II
GW2 characters:
Little Molok Asura Engineer


"Each day I don't get an attempt on my life by a robot from the future I see as a personal failure"
DaedalusAlpha is offline   Reply With Quote
Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +11. The time now is 12:07 PM.


Powered by vBulletin®
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0