Go Back   Velocity Reviews > Newsgroups > UK VOIP
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply

UK VOIP - Any Asterisk@home experts in?

 
Thread Tools Search this Thread
Old 05-20-2005, 10:57 PM   #1
Default Any Asterisk@home experts in?


I've spent a number of days setting up the server - got it working just the
way I want it.

Then the blooming Hard Drive packed in.

My question - how do I copy the backup files of my working set-up to a new
installation of *@h ?




The Cable Guy
  Reply With Quote
Old 05-21-2005, 09:19 AM   #2
Ian
 
Posts: n/a
Default Re: Any Asterisk@home experts in?


"The Cable Guy" <> wrote in message
news3tje.36320$. uk...
> I've spent a number of days setting up the server - got it working just

the
> way I want it.
>
> Then the blooming Hard Drive packed in.
>
> My question - how do I copy the backup files of my working set-up to a new
> installation of *@h ?
>
>

In theory if *@H has the same file structure as normal * then all the conf
files are in /etc/asterisk directory except the zaptel.conf which should be
in /etc and if it uses the internal database then its
/var/lib/asterisk/astdb and that can be copied as well. If its using mysql
you will have to copy that as well , also it may be worth checking the
cronjobs thats running as well. Should keep you busy for a coulple of hours
tops

God luck

Ian


  Reply With Quote
Old 05-21-2005, 09:24 AM   #3
The Cable Guy
 
Posts: n/a
Default Re: Any Asterisk@home experts in?


"Ian" <spam"AT"bathfordhill.co.uk> wrote in message
news:...
>
> "The Cable Guy" <> wrote in message
> news3tje.36320$. uk...
>> I've spent a number of days setting up the server - got it working just

> the
>> way I want it.
>>
>> Then the blooming Hard Drive packed in.
>>
>> My question - how do I copy the backup files of my working set-up to a
>> new
>> installation of *@h ?
>>
>>

> In theory if *@H has the same file structure as normal * then all the conf
> files are in /etc/asterisk directory except the zaptel.conf which should
> be
> in /etc and if it uses the internal database then its
> /var/lib/asterisk/astdb and that can be copied as well. If its using mysql
> you will have to copy that as well , also it may be worth checking the
> cronjobs thats running as well. Should keep you busy for a coulple of
> hours
> tops
>
> God luck
>
> Ian
>
>


More than a couple of hours, I fear......

The annoying thing is, in AMP, there is a "backup" facility. This, I ran
before swapping drives.

I fully expected to find a "restore from backup" facility. Alas, no.

Thanks for your reply..


  Reply With Quote
Old 05-21-2005, 09:43 AM   #4
Ian
 
Posts: n/a
Default Re: Any Asterisk@home experts in?


"The Cable Guy" <> wrote in message
newsfCje.36468$. uk...
>
> "Ian" <spam"AT"bathfordhill.co.uk> wrote in message
> news:...
> >
> > "The Cable Guy" <> wrote in message
> > news3tje.36320$. uk...
> >> I've spent a number of days setting up the server - got it working just

> > the
> >> way I want it.
> >>
> >> Then the blooming Hard Drive packed in.
> >>
> >> My question - how do I copy the backup files of my working set-up to a
> >> new
> >> installation of *@h ?
> >>
> >>

> > In theory if *@H has the same file structure as normal * then all the

conf
> > files are in /etc/asterisk directory except the zaptel.conf which should
> > be
> > in /etc and if it uses the internal database then its
> > /var/lib/asterisk/astdb and that can be copied as well. If its using

mysql
> > you will have to copy that as well , also it may be worth checking the
> > cronjobs thats running as well. Should keep you busy for a coulple of
> > hours
> > tops
> >
> > God luck
> >
> > Ian
> >
> >

>
> More than a couple of hours, I fear......
>
> The annoying thing is, in AMP, there is a "backup" facility. This, I ran
> before swapping drives.
>
> I fully expected to find a "restore from backup" facility. Alas, no.
>
> Thanks for your reply..
>
>

What type of file did it create ? it may be that you need unpack it and it
will put the files in the correct location. feel free to call sipgate
(5808154) or email direct ian<AT>cyber-cottage<d0T>co<DoT>uk

Ian


  Reply With Quote
Old 05-21-2005, 10:08 AM   #5
Steve
 
Posts: n/a
Default Re: Any Asterisk@home experts in?

"The Cable Guy" <> wrote in message
newsfCje.36468$. uk...
>
> "Ian" <spam"AT"bathfordhill.co.uk> wrote in message
> news:...
>>
>> "The Cable Guy" <> wrote in message
>> news3tje.36320$. uk...
>>> I've spent a number of days setting up the server - got it working just

>> the
>>> way I want it.
>>>
>>> Then the blooming Hard Drive packed in.
>>>
>>> My question - how do I copy the backup files of my working set-up to a
>>> new
>>> installation of *@h ?
>>>
>>>

>> In theory if *@H has the same file structure as normal * then all the
>> conf
>> files are in /etc/asterisk directory except the zaptel.conf which should
>> be
>> in /etc and if it uses the internal database then its
>> /var/lib/asterisk/astdb and that can be copied as well. If its using
>> mysql
>> you will have to copy that as well , also it may be worth checking the
>> cronjobs thats running as well. Should keep you busy for a coulple of
>> hours
>> tops
>>
>> God luck
>>
>> Ian
>>
>>

>
> More than a couple of hours, I fear......
>
> The annoying thing is, in AMP, there is a "backup" facility. This, I ran
> before swapping drives.
>
> I fully expected to find a "restore from backup" facility. Alas, no.
>
> Thanks for your reply..
>


If you saved the backup file to a second pc you should be ok. Reload
asterisk, then from the second pc connect to your * and copy the
asteriskathome_backup.tar.gz file back to /var/www/html/maint/backup
overwriting the one already there. Then login as root and cd to that
directory, then run restore-aah. This will restore your backup. You might
have to set the IP address in your * first, as well as changing your root
password and set the local time zone. It'll take all of 5 minutes once * is
reloaded.

regards,

Steve


  Reply With Quote
Old 05-21-2005, 05:45 PM   #6
The Cable Guy
 
Posts: n/a
Default Re: Any Asterisk@home experts in?


"Steve" <> wrote in message
news:d6mtph$bnc$1$...
> "The Cable Guy" <> wrote in message
> newsfCje.36468$. uk...
>>
>> "Ian" <spam"AT"bathfordhill.co.uk> wrote in message
>> news:...
>>>
>>> "The Cable Guy" <> wrote in message
>>> news3tje.36320$. uk...
>>>> I've spent a number of days setting up the server - got it working just
>>> the
>>>> way I want it.
>>>>
>>>> Then the blooming Hard Drive packed in.
>>>>
>>>> My question - how do I copy the backup files of my working set-up to a
>>>> new
>>>> installation of *@h ?
>>>>
>>>>
>>> In theory if *@H has the same file structure as normal * then all the
>>> conf
>>> files are in /etc/asterisk directory except the zaptel.conf which should
>>> be
>>> in /etc and if it uses the internal database then its
>>> /var/lib/asterisk/astdb and that can be copied as well. If its using
>>> mysql
>>> you will have to copy that as well , also it may be worth checking the
>>> cronjobs thats running as well. Should keep you busy for a coulple of
>>> hours
>>> tops
>>>
>>> God luck
>>>
>>> Ian
>>>
>>>

>>
>> More than a couple of hours, I fear......
>>
>> The annoying thing is, in AMP, there is a "backup" facility. This, I ran
>> before swapping drives.
>>
>> I fully expected to find a "restore from backup" facility. Alas, no.
>>
>> Thanks for your reply..
>>

>
> If you saved the backup file to a second pc you should be ok. Reload
> asterisk, then from the second pc connect to your * and copy the
> asteriskathome_backup.tar.gz file back to /var/www/html/maint/backup
> overwriting the one already there. Then login as root and cd to that
> directory, then run restore-aah. This will restore your backup. You
> might have to set the IP address in your * first, as well as changing your
> root password and set the local time zone. It'll take all of 5 minutes
> once * is reloaded.
>
> regards,
>
> Steve
>


Hello & thanks for your reply.

Yes the backup is saved to a second PC.......................how on earth do
I copy it back to the *@h box?


  Reply With Quote
Old 05-21-2005, 05:45 PM   #7
The Cable Guy
 
Posts: n/a
Default Re: Any Asterisk@home experts in?


"Ian" <spam"AT"bathfordhill.co.uk> wrote in message
news:...
>
> "The Cable Guy" <> wrote in message
> newsfCje.36468$. uk...
>>
>> "Ian" <spam"AT"bathfordhill.co.uk> wrote in message
>> news:...
>> >
>> > "The Cable Guy" <> wrote in message
>> > news3tje.36320$. uk...
>> >> I've spent a number of days setting up the server - got it working
>> >> just
>> > the
>> >> way I want it.
>> >>
>> >> Then the blooming Hard Drive packed in.
>> >>
>> >> My question - how do I copy the backup files of my working set-up to a
>> >> new
>> >> installation of *@h ?
>> >>
>> >>
>> > In theory if *@H has the same file structure as normal * then all the

> conf
>> > files are in /etc/asterisk directory except the zaptel.conf which
>> > should
>> > be
>> > in /etc and if it uses the internal database then its
>> > /var/lib/asterisk/astdb and that can be copied as well. If its using

> mysql
>> > you will have to copy that as well , also it may be worth checking the
>> > cronjobs thats running as well. Should keep you busy for a coulple of
>> > hours
>> > tops
>> >
>> > God luck
>> >
>> > Ian
>> >
>> >

>>
>> More than a couple of hours, I fear......
>>
>> The annoying thing is, in AMP, there is a "backup" facility. This, I ran
>> before swapping drives.
>>
>> I fully expected to find a "restore from backup" facility. Alas, no.
>>
>> Thanks for your reply..
>>
>>

> What type of file did it create ? it may be that you need unpack it and it
> will put the files in the correct location. feel free to call sipgate
> (5808154) or email direct ian<AT>cyber-cottage<d0T>co<DoT>uk
>
> Ian
>
>

Thank you Ian, I may just take you up on your offer.


  Reply With Quote
Old 05-21-2005, 07:53 PM   #8
Ian
 
Posts: n/a
Default Re: Any Asterisk@home experts in?


"The Cable Guy" <> wrote in message
news:mAJje.36767$. uk...
>
> "Steve" <> wrote in message
> news:d6mtph$bnc$1$...
> > "The Cable Guy" <> wrote in message
> > newsfCje.36468$. uk...
> >>
> >> "Ian" <spam"AT"bathfordhill.co.uk> wrote in message
> >> news:...
> >>>
> >>> "The Cable Guy" <> wrote in message
> >>> news3tje.36320$. uk...
> >>>> I've spent a number of days setting up the server - got it working

just
> >>> the
> >>>> way I want it.
> >>>>
> >>>> Then the blooming Hard Drive packed in.
> >>>>
> >>>> My question - how do I copy the backup files of my working set-up to

a
> >>>> new
> >>>> installation of *@h ?
> >>>>
> >>>>
> >>> In theory if *@H has the same file structure as normal * then all the
> >>> conf
> >>> files are in /etc/asterisk directory except the zaptel.conf which

should
> >>> be
> >>> in /etc and if it uses the internal database then its
> >>> /var/lib/asterisk/astdb and that can be copied as well. If its using
> >>> mysql
> >>> you will have to copy that as well , also it may be worth checking

the
> >>> cronjobs thats running as well. Should keep you busy for a coulple of
> >>> hours
> >>> tops
> >>>
> >>> God luck
> >>>
> >>> Ian
> >>>
> >>>
> >>
> >> More than a couple of hours, I fear......
> >>
> >> The annoying thing is, in AMP, there is a "backup" facility. This, I

ran
> >> before swapping drives.
> >>
> >> I fully expected to find a "restore from backup" facility. Alas, no.
> >>
> >> Thanks for your reply..
> >>

> >
> > If you saved the backup file to a second pc you should be ok. Reload
> > asterisk, then from the second pc connect to your * and copy the
> > asteriskathome_backup.tar.gz file back to /var/www/html/maint/backup
> > overwriting the one already there. Then login as root and cd to that
> > directory, then run restore-aah. This will restore your backup. You
> > might have to set the IP address in your * first, as well as changing

your
> > root password and set the local time zone. It'll take all of 5 minutes
> > once * is reloaded.
> >
> > regards,
> >
> > Steve
> >

>
> Hello & thanks for your reply.
>
> Yes the backup is saved to a second PC.......................how on earth

do
> I copy it back to the *@h box?
>
>

Hi. USB stick or ftp should be the best bet.
does the machine its on have a ftp server? or does *@h install one ?
or even burn it to cd and mount that on the other machine.

Ian


  Reply With Quote
Old 05-21-2005, 08:45 PM   #9
Steve
 
Posts: n/a
Default Re: Any Asterisk@home experts in?


> Hello & thanks for your reply.
>
> Yes the backup is saved to a second PC.......................how on earth
> do I copy it back to the *@h box?
>


If the asterisk and your second pc are networked something like winSCP3
would be easy, get hold of a copy and connect to your * box, it's a bit like
windows explorer so you can copy the file from your pc in explorer, goto
winSCP3 on your pc, connect to your * and paste the backup in the right
folder, get a copy of putty too, with this you can run a terminal window to
your * server on your second pc, use this to login as root, cd to the
directory where the backup is and run restore-aah.

regards,

Steve


  Reply With Quote
Old 05-21-2005, 09:49 PM   #10
The Cable Guy
 
Posts: n/a
Default Re: Any Asterisk@home experts in?


"Steve" <> wrote in message
news:d6o34d$m2$1$...
>
>> Hello & thanks for your reply.
>>
>> Yes the backup is saved to a second PC.......................how on earth
>> do I copy it back to the *@h box?
>>

>
> If the asterisk and your second pc are networked something like winSCP3
> would be easy, get hold of a copy and connect to your * box, it's a bit
> like windows explorer so you can copy the file from your pc in explorer,
> goto winSCP3 on your pc, connect to your * and paste the backup in the
> right folder, get a copy of putty too, with this you can run a terminal
> window to your * server on your second pc, use this to login as root, cd
> to the directory where the backup is and run restore-aah.
>
> regards,
>
> Steve
>
>


Thanks - I had tried that yesterday but had no idea where to put it.

Your previous sorted it, so thanks for that.

All back to normal now.

Wish you lived next door!


  Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump