How-To Use TBM-Backup

How-To restore a trixbox backup from one server onto a new server.
WARNING: DO NOT RENAME THE BACKED UP FILE FROM THE OLD SERVER.
Take the backup file from the old trixbox server and save it somewhere the new trixbox server can get access to it (ftp or ssh is easiest in my opinion).
Create a backup job on the new trixbox server, to keep this simple, name it backup and don't define a location.
Run the backup job so it'll create the necessary directory structure. WAIT FOR IT TO FINISH!
Transfer the backup from the old server to /backups/backup on the new server.
Go to the system menu (the "system" on the top) and click on backup.
Click on the backup job named backup, wait a few seconds (occasionally I have to click it a few times to come up), and on the restore tab, you should see the name of the backup that you transferred from the old server.
Click on it, check everything you want to restore, and restore it.
Once restored, you will need to delete the duplicate cron jobs it creates AND repair any broken/missing modules in the module admin.

How-To remove duplicate cron jobs.
It's a tiny bug that is easily dealt with. Every time you restore, it DOES NOT erase the old cron job while it is restoring the backed up cron job. You do only need one instance running. The easiest way of course would be to hop into webmin and delete the duplicate cron jobs from there. System>>>scheduled cron

The way to do it via ssh or terminal
Type crontab -u asterisk -e
Hit i
delete all of the duplicate lines. If there are two(three, four, five, you get the point) lines that look exactly the same, delete every line but leave one behind, you still need once instance of the cron job.
Hit esc
hit :
and type wq

You're good to go. You will have to do this until the bug is fixed. Not really a big issue, it does a fairly good job at restoring. One other bug I'd like to note. If you assign caller id's by extension, the restore process will restore the caller id information to the extension, but it will not be applied until you go into each extension and click submit then apply changes.

How-To remove a backup job.
There currently is not a way to do this from the tbm-backup module, you will have to shuffle through phpmyadmin (it is tbm-phpmyadmin that can be installed from the packages section)
Click on the asterisk database
Click on the backup schedule table
Click browse
BEFORE you delete the row, write down it's backup_id.
Click the red X next to the entry you want gone
You can then go to the backup_item table and delete everything with a item_schedule_id that matches the backup_id that you wrote down.