[App_rpt-users] Save and restore /var/lib/asterisk/sounds/rpt/nodenames across restarts?

Tim Sawyer tim.sawyer at mac.com
Mon Oct 19 21:01:28 UTC 2009


On Oct 19, 2009, at 12:05 PM, hwstar at rodgers.sdcoxmail.com wrote:

>
>>
>> From: Tim Sawyer <tim.sawyer at mac.com>
>> Date: 2009/10/19 Mon AM 07:13:41 PDT
>> To: sales at qrvc.com
>> Subject: Re: [App_rpt-users] Save and restore
>> /var/lib/asterisk/sounds/rpt/nodenames across restarts?
>>
>>
>> On Oct 18, 2009, at 9:26 PM, Stephen Rodgers wrote:
>>
>> Tim Sawyer wrote:
>> How are nodename files saved and restored across restarts on Limey
>> Linux?
>>
>> I did a svastbin and I see the files in astbin.tgz. They did not
>> restore on startup. Are they supposed to?
>>
>> --
>> Tim
>> :wq
>>
>>
>> use 'svcfg'
>>
>> Steve
>> WA6ZFT
>>
>>
>> Maybe I'm missing it but I don't see where svcfg is archiving /var/ 
>> lib/
>> asterisk/sounds/rpt/nodenames.
>>
>>
>> --
>> Tim
>> :wq
>>
>>
>>
>>
>
> Ok. I got confused on your last message. Ingnore the part avout  
> 'svcfg'.  'svastbin' creates the astbin.tgz file and puts it in /root:
>
> #!/bin/bash
> KVERS=`uname -r`
> (cd /; tar cvzf /root/astbin.tgz /lib/modules/${KVERS}/misc \
> /usr/lib/libtonezone* /usr/lib/libpri* /usr/lib/asterisk \
> /usr/sbin/asterisk /sbin/ztcfg /var/lib/asterisk /dev/zap )
>
> To properly save astbin.tgz, one additional step is required:
>
> You need to mount /mnt/cf and copy the file there after svastbin  
> completes. This will save the current binaries and sound files for  
> you. Normally issuing 'make upgrade' from /usr/src does this for you  
> automatically when you update the source code, but it has to be done  
> manually when you are just updating the sound files.
>
> Steve
> WA6ZFT
>
>

That makes sense. Thanks!
--
Tim
:wq


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.keekles.org/pipermail/app_rpt-users/attachments/20091019/aaa43f21/attachment.html>


More information about the App_rpt-users mailing list