Re: [asterisk-users] Commit dialplan & other config. in memory to disk?

2017-04-07 Thread Victor Villarreal
Hi Nathan, Personally, I create a git repo on /etc/asterisk/ folder. With this approach, you not only can backup current dilplan on another location (another private server, or private repo on Bitbucket account). You can follow all the change history you made. Simply install git, then go to

Re: [asterisk-users] Commit dialplan & other config. in memory to disk?

2017-04-07 Thread Steve Edwards
On Thu, 6 Apr 2017, Steve Edwards wrote: You're welcome to the script at: http://www.sedwards.com/recover-show-dialplan.php Sorry about that... Try: http://www.sedwards.com/recover-show-dialplan.txt -- Thanks in advance,

Re: [asterisk-users] Commit dialplan & other config. in memory to disk?

2017-04-06 Thread Steve Edwards
On Thu, 6 Apr 2017, Nathan Anderson wrote: In the future, if I were to ever run into a similar situation, is there any way to request or instruct Asterisk to write the current dialplan that is in memory and other important config files (e.g., users.conf) to disk in a *different* location than

Re: [asterisk-users] Commit dialplan & other config. in memory to disk?

2017-04-06 Thread Tzafrir Cohen
On Thu, Apr 06, 2017 at 09:54:25AM +, Nathan Anderson wrote: > 'lo, > > So yesterday, one of our clients had the misfortune of having the disk that > their Asterisk config (*.conf) was stored on take a dirt nap. Of course, > Asterisk was still running at the time, and everything continued

Re: [asterisk-users] Commit dialplan & other config. in memory to disk?

2017-04-06 Thread John Novack
Nathan Anderson wrote: 'lo, So yesterday, one of our clients had the misfortune of having the disk that their Asterisk config (*.conf) was stored on take a dirt nap. Of course, Asterisk was still running at the time, and everything continued to work (except for voicemail, which was stored

Re: [asterisk-users] Commit dialplan & other config. in memory to disk?

2017-04-06 Thread Jean Aunis
You can execute something like asterisk -rx "dialplan show" > some_file.conf, but unfortunately the result cannot be directly parsed by Asterisk. Still it will give you a readable snapshot of your current dialplan. Le 06/04/2017 à 11:54, Nathan Anderson a écrit : 'lo, So yesterday, one of