Koozali.org: home of the SME Server

Obsolete Releases => SME VoIP (Asterisk, SAIL etc) => Topic started by: Franco on April 02, 2007, 09:03:22 PM

Title: Selintra Sail: restoring database
Post by: Franco 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,
Title: Selintra Sail: restoring database
Post by: SARK devs 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
Title: Selintra Sail: restoring database
Post by: Franco on April 02, 2007, 09:19:01 PM
That was the fastest answer ever  :D
Thanks a lot!