On Thu, Apr 06, 2017 at 09:54:25AM +0000, 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 on the same disk) right up until I > shut down Asterisk to investigate what was going on. Because the disk was > dead, though, I couldn't start Asterisk back up after that, and OF COURSE the > backups were not firing off correctly so now we are faced with regenerating > the config again (including dialplan) from scratch. > > 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 where it originally read them from when it started > up? I could have saved myself a crap-ton of work if this were possible...
I'm not sure this works. But it's worth a shot: (bind-?)mount a writable file system at /etc/asterisk . Be sure to umount it quickly enough after the write. -- Tzafrir Cohen +972-50-7952406 mailto:tzafrir.co...@xorcom.com http://www.xorcom.com -- _____________________________________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- Check out the new Asterisk community forum at: https://community.asterisk.org/ New to Asterisk? Start here: https://wiki.asterisk.org/wiki/display/AST/Getting+Started asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users