[Asterisk-Users] Emergency Asterisk Guru Help needed EMERGENCY

Dan Perik dan_perik at ntm.org
Wed Jul 6 17:22:52 MST 2005


Jeffrey Starin wrote:

> 911  Help!
>
> I accidentially deleted all directories under /var/spool/asterisk
>
> I did use the backup facility not too long ago but cannot find the
> process for restore.
>
> However, I don't believe a full restore is needed -- I just need to know
> the names of the directories under /var/spool/asterisk and re-create
> them (I hope!).  Can some kind soul give me some direction or tell me
> the directory structure under /var/spool/asterisk?
>
> Thanks,
>
> B.
>
This is what I got.  Note that this is a Gentoo system.  Good luck!:


gentoo ~ # ls  -R /var/spool/asterisk/ -l
/var/spool/asterisk/:
total 0
drwxr-x---  2 asterisk asterisk 48 Dec 18  2004 outgoing
drwxr-x---  2 asterisk asterisk 48 Dec 18  2004 qcall
drwxr-x---  2 asterisk asterisk 72 Jun 25 04:56 tmp
lrwxrwxrwx  1 asterisk asterisk 37 Jun 25 04:56 vm ->
/var/spool/asterisk/voicemail/default
drwxr-x---  3 asterisk asterisk 72 Dec 17  2004 voicemail

/var/spool/asterisk/outgoing:
total 0

/var/spool/asterisk/qcall:
total 0

/var/spool/asterisk/tmp:
total 0

/var/spool/asterisk/voicemail:
total 0
drwxr-x---  8 asterisk asterisk 192 Mar 22 23:28 default

/var/spool/asterisk/voicemail/default:
total 0
drwxr-x---  4 asterisk asterisk 216 Apr  8 22:36 1001
drwxr-x---  3 asterisk asterisk 160 Mar 22 23:27 1002
drwxr-x---  3 asterisk asterisk 160 Mar 22 23:27 1003
drwxr-x---  3 asterisk asterisk 160 Mar 22 23:28 1004
drwxr-x---  3 asterisk asterisk 160 Mar 22 23:28 1005
drwxr-x---  3 asterisk asterisk 128 Jun 25 04:56 1234

/var/spool/asterisk/voicemail/default/1001:
total 128
drwxr-x---  2 asterisk asterisk    48 Jul  6 18:57 INBOX
drwxr-x---  2 asterisk asterisk    48 Jul  6 18:57 Old
-rw-r-----  1 asterisk asterisk  9306 Mar 22 23:27 busy.gsm
-rw-r-----  1 asterisk asterisk  6732 Mar 22 23:27 greet.gsm
-rw-r-----  1 asterisk asterisk  9306 Mar 22 23:27 unavail.gsm
-rwxr-x---  1 asterisk asterisk 96684 Mar 23 00:57 unavail.wav

/var/spool/asterisk/voicemail/default/1001/INBOX:
total 0

/var/spool/asterisk/voicemail/default/1001/Old:
total 0

/var/spool/asterisk/voicemail/default/1002:
total 32
drwxr-x---  2 asterisk asterisk   48 Jul  1 23:24 INBOX
-rw-r-----  1 asterisk asterisk 9339 Mar 22 23:27 busy.gsm
-rw-r-----  1 asterisk asterisk 6765 Mar 22 23:27 greet.gsm
-rw-r-----  1 asterisk asterisk 9339 Mar 22 23:27 unavail.gsm

/var/spool/asterisk/voicemail/default/1002/INBOX:
total 0

/var/spool/asterisk/voicemail/default/1003:
total 32
drwxr-x---  2 asterisk asterisk  176 Apr 18 07:18 INBOX
-rw-r-----  1 asterisk asterisk 9471 Mar 22 23:27 busy.gsm
-rw-r-----  1 asterisk asterisk 6897 Mar 22 23:27 greet.gsm
-rw-r-----  1 asterisk asterisk 9471 Mar 22 23:27 unavail.gsm

/var/spool/asterisk/voicemail/default/1003/INBOX:
total 496
-rwxr-x---  1 asterisk asterisk  41790 Apr 18 07:18 msg0000.WAV
-rwxr-x---  1 asterisk asterisk  42372 Apr 18 07:18 msg0000.gsm
-rw-r-----  1 asterisk asterisk    254 Apr 18 07:18 msg0000.txt
-rwxr-x---  1 asterisk asterisk 410924 Apr 18 07:18 msg0000.wav

/var/spool/asterisk/voicemail/default/1004:
total 32
drwxr-x---  2 asterisk asterisk   48 Mar 22 23:28 INBOX
-rw-r-----  1 asterisk asterisk 9273 Mar 22 23:28 busy.gsm
-rw-r-----  1 asterisk asterisk 6699 Mar 22 23:28 greet.gsm
-rw-r-----  1 asterisk asterisk 9273 Mar 22 23:28 unavail.gsm

/var/spool/asterisk/voicemail/default/1004/INBOX:
total 0

/var/spool/asterisk/voicemail/default/1005:
total 32
drwxr-x---  2 asterisk asterisk   48 Mar 22 23:28 INBOX
-rw-r-----  1 asterisk asterisk 9372 Mar 22 23:28 busy.gsm
-rw-r-----  1 asterisk asterisk 6798 Mar 22 23:28 greet.gsm
-rw-r-----  1 asterisk asterisk 9372 Mar 22 23:28 unavail.gsm

/var/spool/asterisk/voicemail/default/1005/INBOX:
total 0




More information about the asterisk-users mailing list