Ken Robinson's picture

So MineOS is NOT a TKL app. The dev over there has a ISO that uses a TKL core v14 with MineOS preinstalled. This is awesome it works well however I want to backup it up using TKLBAM

 

So what would be the best way to crete a custom profile (looks like that is needed) Most all the user data is under /var/games/minecraft with a MySQL databases as well

What would be the way to create a profile to be used for TKLBAM?

I wanted to post it here if others are looking to do the same thing.

 

 

Forum: 
Jeremy Davis's picture

If you want to dig in and understand the details, then please have a read through the tklbam-profiles GitHub repo readme. As that notes, for further details, the following command will give further details:

tklbam internal create-profile --help

OTOH if you just want to create a profile from an ISO posthaste and don't really care to much for the details, then buildtasks includes a "bin/generate-tklbam-profile" script. That can generate a profile on the fly from either an ISO or a rootfs. FWIW, it's what we use internally to generate all the TKLBAM profiles at build time.

It's still written in Python2 and the current code is incompatible with (the upcoming; as yet unreleased) v16.x. So please be aware that I'm currently doing some extensive work in there (for the upcoming v16.0 release) and will be pushing updates soon that will make it incompatible with v15.x and earlier releases. Before I push my changes to master, I'll branch out the current code. So when that happens, you'll want to look for a "15.x" branch (I'll try to push that ASAP, but until I do, that link will 404).

FWIW, it doesn't necessarily need to be run on TKLDev, but it does need a system with both Python2 and TKLBAM installed. FWIW it won't be updated to Python3 for v16.0, but should be within the lifetime of v16.x. For further details, try this:

cd /path/to/buildtasks
./bin/generate-tklbam-profile --help

Hopefully that gets you going! :)

Ken Robinson's picture

As always friend, thank you for the info. This is just what I need to get me started. So once I create a custom profile I should be able to use it with TKLBAM. I will post my file on Github account for others to use and what I did to get there :-)

Regards,

Ken  
":0)

http://www.github.com/DocCyblade

Ken Robinson's picture

I since have created a custom TKLB backup profile so if you like me want to backup your MineOS server.

The files can be found on GiHub, link below.

https://github.com/DocCyblade/mineos-tklbm-profile

 

Cheers

Regards,

Ken  
":0)

http://www.github.com/DocCyblade

Jeremy Davis's picture

As per always, thanks for your contribution Ken. :)

Add new comment