Frustrated with Flat Files

I keep trying and searching for a simple and idiot-proof way to install a flat file/backup into an existing, running MUSH. I need the code that's on it - but I have no coder.

Is there anyone out there who knows?

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
javelin's picture

Sure.

I assume we're talking PennMUSH here, and thus you mean a penn database ("flat file" means something different in the TinyMUSH world).

The big question is usually what version of PennMUSH dumped the database. When you know that, the instructions in the file UPGRADING (specifically section A.2.c) tell you what you need to do to load it in the current Penn version.

If you provide more detail about the file (and the version of Penn that dumped it), I can be more specific.

I didn't know the difference

I didn't know the difference in terms -- Thank you. Yes, it's PennMUSH.

The file ends with tar.gz
The database is PennMUSH version 1.8.3
This is also the version that's currently running.

I'll also look over the 'Upgrading' in the meantime.
I had a coder that was helping me with these things but RL ate him.

javelin's picture

tar is an archive

A database file wouldn't be .tar.gz; that's a compressed archive, probably containing several files. You need to unpack it and see what's in it. Sometihng like this:

mkdir temp
cp myfile.tar.gz temp
cd temp
tar xvfz myfile.tar.gz

and see what you've got. If there are databases, they'll be called things like 'indb', 'outdb', 'maildb', and/or 'chatdb'.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.