argentinec's picture

Hello everyone. I'm new at redmine and linux.

I want migrate all project data from old Turnkey Redmine on new Turnkey Redmine without TKLBAM

What i am do:

1) mysqldump all redmine databases

2) backup redmine files

3) copy files and sql dumps on new machine

4) restore databases and files

 

After all i enter on new redmine and get error 500: internal error

What i need to do?

Tnak you

 

Forum: 
Jeremy Davis's picture

FWIW, even if you didn't want to use TKLBAM to do a full restore to the new machine (which can be a bit flakey with Redmine anyway) you can still use it to collect all the data, then instead of doing a restore, just manually migrate the files and DB to where they need to be... (FWIW, you don't even need a Hub account for that...). Although, that's all probably irrelevant now anyway...

TBH, I have no idea what might have gone wrong on your server. But 500 errors are generally to do with webserver config. I'd recommend that you check the Apache logs (/var/log/apache2/). You should see an error there that will hopefully give you a clue.

argentinec's picture

At first i want to use TKLBAM, but it need to init... and need api-key from Hub account.

To create Hub account i need to create Amazon S3 account... but i don't want to.

 

 

When i want to init TKLBAM - i get following message:

 

Generated backup encryption key:

    For extra security run "tklbam-passphrase" to cryptographically protect it
    with a passphrase, which will be needed later to restore. If you use lose
    the passphrase it will be impossible to restore your backup and you may
    suffer data loss. To safeguard against this you may want to create an
    escrow key with "tklbam-escrow".

Copy paste the API-KEY from your Hub account's user profile
 

 

Maybe there is one way where i can not use Amazon account?

Jeremy Davis's picture

Sorry for slow response.

The downside is that you'll need to manually manage your backups yourself. And if you want remote backups for disaster recovery, then you'll also need to configure some mechanism to provide that.

Personally, I think using the Hub with Amazon is a no brainer as then everything is automated and managed for you; plus storage costs are really cheap. It costs less than $0.03/GB/mth; and if you're on the AWS free tier, then the first 5GB is free for your first year. FWIW all my backups currently cost me less than $0.05/mth!

Anyway, if you'd rather manage it all yourself, then that's fine. Here are some links that will hopefully help you understand what's possible and how you might go about using it.

FAQ: What can I use for backup storage?
FAQ: How do I backup to local storage (instead of S3)?
The tklbam-init man page will probably also be useful.

You may also find the full FAQ worth a look for any other TKLBAM related questions you may have. THe full TKLBAM docs can be found here. FWIW, you may also find the doc page on migrating to v14.x builds using TKLBAM useful.

Unfortunately, the specifics of configuring alternate backends for TKLBAM is not well documented. Although if you keep in mind that TKLBAM uses Duplicity on the backend, and that TurnKey is Debian under the hood, you should be able to find relevant info via google.

FWIW, if you are just wanting to use TKLBAM for migrating your data to a new server, then you'll probably just want to dump the backup on the new server. Details of how to do that are within the TKLBAM docs and it's also mentioned on the doc page relating to using TKLBAM to migrate.

Add new comment