Announcement: Remember: you are giving away your fantastic ideas for free, and somebody else might even make money from them (or appear to). That's just how the world works! If you're worried about it, maybe you shouldn't post your ideas here.


Caravel Forum : DROD Boards : Feature Requests : Easier backup of DROD data files
New Topic New Poll Post Reply
Poster Message
Andy101
Level: Master Delver
Rank Points: 222
Registered: 07-22-2005
IP: Logged
icon Easier backup of DROD data files (+2)  
It's always a good idea to back the drod data files up at regular intervals but I for one am too lazy to do this as often as I should.

It would be nice if in the DROD settings screen there was an option to create a backup of all the vital .dat files and store it to a location of your choice.

I know that it's possible to create a .bat file to do a similar thing as mentioned here but an ingame option would be more helpful IMO. Such an option would help make sure that people always backed up all of the vital files and could be very handy for Mac uses for whom it appears just finding the correct files to back up is a bit of a nightmare.

____________________________
"True perfection has to be imperfect"

[Last edited by Andy101 at 09-05-2006 01:06 PM]
09-05-2006 at 01:04 PM
View Profile Send Private Message to User Show all user's posts This architect's holds Quote Reply
Elfstone
Level: Smitemaster
Avatar
Rank Points: 1285
Registered: 03-01-2006
IP: Logged
icon Re: Easier backup of DROD data files (0)  
Oh, here! here!!

Oh, yes!!!!

Oh, please!!!!!!!!!!!

I'll second that! :thumbsup
Elf.
(once badly bitten and now very shy)

____________________________
Winner of: Novice Architect Excellence 2006.
FAPCA - Technical Design Excellence in Layout and Aesthetics

09-05-2006 at 05:54 PM
View Profile Send Private Message to User Visit Homepage Show all user's posts This architect's holds Quote Reply
Hikari
Level: Smiter
Avatar
Rank Points: 438
Registered: 01-28-2006
IP: Logged
icon Re: Easier backup of DROD data files (0)  
Not ever been bit by this (though *have* been bit by other things related), but I'll... um... third it? ^^

____________________________
Caravel Official Holds Progress:
Click here to view the secret text

09-05-2006 at 07:49 PM
View Profile Send Private Message to User Send Email to User Show all user's posts High Scores Quote Reply
Alneyan
Level: Smitemaster
Rank Points: 622
Registered: 07-06-2004
IP: Logged
icon Re: Easier backup of DROD data files (0)  
I'm juming on the bandwagon. I would like some way to automate exporting the player file myself, as I rely on that file for progress retrieval. Uploading the player file every week or so is trivial; my mind has the nasty tendency of forgetting to do a weekly export, though.

Mmh, perhaps I should just settle on a weekly mail yelling at me... "Upload ~/Alneyan.player within the next five minutes, or we'll play Russian Roulette with your partitions. First one to go is /usr." That should be trivial to set up.
09-05-2006 at 08:36 PM
View Profile Send Private Message to User Show all user's posts Quote Reply
michthro
Level: Smitemaestro
Rank Points: 679
Registered: 05-01-2005
IP: Logged
icon Re: Easier backup of DROD data files (0)  
Great idea. Much better than exporting your player too, in that copying your .dats will only be faster, and you won't have to redownload holds if the worst happens and you have to restore backups. I'd suggest that the default location for the backups be far removed from the DROD directory, and not a hidden directory either, to make it as easy as possible for people to find them, and not accidentally delete them.
09-05-2006 at 09:37 PM
View Profile Send Private Message to User Show all user's posts Quote Reply
Tim
Level: Smitemaster
Avatar
Rank Points: 1979
Registered: 08-07-2004
IP: Logged
icon Re: Easier backup of DROD data files (0)  
I think this is a great idea. As long as every version of JtRH (and I have some of them) has it's own storage, I don't mind at all.

Although, perhaps it's a good idea to be able to store this on CaravelNet (and be able to use it even if I'm not at home).

____________________________
The best way to lose customers is to let little kids running loose on a forum with too many mod points.
09-05-2006 at 09:42 PM
View Profile Send Private Message to User Show all user's posts This architect's holds Quote Reply
Alneyan
Level: Smitemaster
Rank Points: 622
Registered: 07-06-2004
IP: Logged
icon Re: Easier backup of DROD data files (0)  
michthro wrote:
Great idea. Much better than exporting your player too, in that copying your .dats will only be faster, and you won't have to redownload holds if the worst happens and you have to restore backups.

Well, that would depend on what you do with your backups, really. With only one HD on my box, there is little point in keeping my data on the same box (unless I start screwing up with rm * or some such). A media backup would serve, and I occasionally use those, but I don't put too much faith in these ones as I got a couple bad burns. Redudancy is good.

So, exporting the player file is a much better solution when space is limited, or for speed when *exporting* (I don't mind a slow importing much, and I don't think importing a player file takes much time). The biggest problem is, of course, having to download all those holds again. DROD 3.0 should fix that, but until then. *Shrugs*

Dats and player files don't quite serve the same purpose, I think. That, and I guess I'm biased: I can set up an automatic dat backup already in a couple seconds, so I don't need that feature, but automated player file exporting won't work out. Mmh, unless I made a custom build just for that purpose... which would be somewhat inefficient, but a good excuse to toy with the source.

[Last edited by Alneyan at 09-05-2006 09:58 PM]
09-05-2006 at 09:56 PM
View Profile Send Private Message to User Show all user's posts Quote Reply
coppro
Level: Smitemaster
Rank Points: 1308
Registered: 11-24-2005
IP: Logged
icon Re: Easier backup of DROD data files (0)  
Alneyan wrote:
michthro wrote:
Great idea. Much better than exporting your player too, in that copying your .dats will only be faster, and you won't have to redownload holds if the worst happens and you have to restore backups.

Well, that would depend on what you do with your backups, really. With only one HD on my box, there is little point in keeping my data on the same box (unless I start screwing up with rm * or some such). A media backup would serve, and I occasionally use those, but I don't put too much faith in these ones as I got a couple bad burns. Redudancy is good.

So, exporting the player file is a much better solution when space is limited, or for speed when *exporting* (I don't mind a slow importing much, and I don't think importing a player file takes much time). The biggest problem is, of course, having to download all those holds again. DROD 3.0 should fix that, but until then. *Shrugs*

Dats and player files don't quite serve the same purpose, I think. That, and I guess I'm biased: I can set up an automatic dat backup already in a couple seconds, so I don't need that feature, but automated player file exporting won't work out. Mmh, unless I made a custom build just for that purpose... which would be somewhat inefficient, but a good excuse to toy with the source.

I find that keeping an extra backup is actually quite handy, even if on the same box. That way, while it won't save you in a hard drive crash, at least if something causes the files to corrupt (in my experience, much much more common), you have recent backups.
09-06-2006 at 01:16 AM
View Profile Show all user's posts Quote Reply
Dolan42
Level: Master Delver
Avatar
Rank Points: 195
Registered: 04-14-2006
IP: Logged
icon Re: Easier backup of DROD data files (+1)  
With Windows Xp you can make a .bat to back up the .dat files and then use the task scheduler to run the file weekly or daily or whatever to back up automatically.

____________________________
-D
"To understand recursion you must first understand recursion."
09-06-2006 at 02:19 AM
View Profile Send Private Message to User Send Email to User Show all user's posts Quote Reply
Kevin_P86
Level: Smitemaster
Avatar
Rank Points: 535
Registered: 06-28-2005
IP: Logged
icon Re: Easier backup of DROD data files (+1)  
You can do so with any version of Windows. Something like the following:

IF NOT EXIST c:\DRODbackup mkdir c:\DRODbackup
copy /Y data\drod2_0.dat c:\DRODbackup\drod2_0.dat
copy /Y data\player.dat c:\DRODbackup\player.dat
copy /Y data\data.dat c:\DRODbackup\data.dat
copy /Y data\text.dat c:\DRODbackup\text.dat


Place the above lines in a .bat file in the DROD directory (the one with drod.exe). When ran, this .bat file will make copies of the four .dat files, placing the copies in a folder located at c:\DRODbackup. If you would like them in a different location, you must simply change the six occurrences of "c:\DRODbackup" with the directory of your choice.

It is possible to use command line variables, but then it is required to be ran through the command prompt, which isn't as convenient for windows users.

____________________________
+++++[>+++++<-]>[>+++>++++>+++++<<<-]>.>+.>-------.<++++.+++++.
09-06-2006 at 04:48 AM
View Profile Send Private Message to User Send Email to User Show all user's posts This architect's holds Quote Reply
NiroZ
Level: Smitemaster
Rank Points: 1302
Registered: 02-12-2006
IP: Logged
icon Re: Easier backup of DROD data files (0)  
Hey, i like the idea. It would make it alot easier to get the next version of the demo. A extra would be to have the ablity to have them exported as one file(reduces the chance of loss even more).

also, i would not be so sure about backing up all your dats to caravelnet, as some of them get pretty big. A text file of all the holds in your drod directory and your player file would suffice.
09-06-2006 at 08:08 AM
View Profile Send Private Message to User Send Email to User Show all user's posts This architect's holds Quote Reply
Dolan42
Level: Master Delver
Avatar
Rank Points: 195
Registered: 04-14-2006
IP: Logged
icon Re: Easier backup of DROD data files (0)  
I can’t resist simplifying Kevin’s .bat file. Put these line in a .bat file in the DROD\data folder.

md C:\DRODback
copy *.dat c:\DRODback


*edit* optimized it further, I can now do it in 22 characters :)

____________________________
-D
"To understand recursion you must first understand recursion."

[Last edited by Dolan42 at 09-07-2006 06:35 AM]
09-07-2006 at 06:24 AM
View Profile Send Private Message to User Send Email to User Show all user's posts Quote Reply
Kevin_P86
Level: Smitemaster
Avatar
Rank Points: 535
Registered: 06-28-2005
IP: Logged
icon Re: Easier backup of DROD data files (0)  
But is it really safe to assume there are only the four .dat files in that directory...? :)

Yes, probably. But maybe not...!

____________________________
+++++[>+++++<-]>[>+++>++++>+++++<<<-]>.>+.>-------.<++++.+++++.
09-07-2006 at 06:44 AM
View Profile Send Private Message to User Send Email to User Show all user's posts This architect's holds Quote Reply
Dolan42
Level: Master Delver
Avatar
Rank Points: 195
Registered: 04-14-2006
IP: Logged
icon Re: Easier backup of DROD data files (0)  
If there are more than 4 I'm assuming that the extras are also important to backup for forward compatibility. :)

____________________________
-D
"To understand recursion you must first understand recursion."
09-07-2006 at 07:09 AM
View Profile Send Private Message to User Send Email to User Show all user's posts Quote Reply
New Topic New Poll Post Reply
Caravel Forum : DROD Boards : Feature Requests : Easier backup of DROD data files
Surf To:


Forum Rules:
Can I post a new topic? No
Can I reply? No
Can I read? Yes
HTML Enabled? No
UBBC Enabled? Yes
Words Filter Enable? No

Contact Us | CaravelGames.com

Powered by: tForum tForumHacks Edition b0.98.8
Originally created by Toan Huynh (Copyright © 2000)
Enhanced by the tForumHacks team and the Caravel team.