Koozali.org: home of the SME Server

Selintra Sail: restoring database

Offline Franco

  • *
  • 1,171
  • +0/-0
    • http://contribs.org
Selintra Sail: restoring database
« on: April 02, 2007, 09:03:22 PM »
One of the nice additions would be the backup feature (*901*)
How can I restore it?
I replaced the db file, but that didn't help.

Thanks,

Offline SARK devs

  • *****
  • 2,806
  • +1/-0
    • http://sarkpbx.com
Selintra Sail: restoring database
« Reply #1 on: April 02, 2007, 09:17:50 PM »
Quote
How can I restore it?


copy the backed-up file /home/e-smith/db/selintra to /home/e-smith/db/selintra-work and then issue a commit at the globals panel or if you want to be more direct, copy it to /home/e-smith/db/selintra and then do

signal-event conf-asterisk

at the console.

That should do it for you.  

If you want to automate it you might create a *906* to fetch it and issue the commit from asterisk itself.

Kind Regards

Selintra

Offline Franco

  • *
  • 1,171
  • +0/-0
    • http://contribs.org
Selintra Sail: restoring database
« Reply #2 on: April 02, 2007, 09:19:01 PM »
That was the fastest answer ever  :D
Thanks a lot!