Unless you are storing your config into mySQL, there is nothing there, by 
default Asterisk uses the config files. You might be using it for CDR and other 
stuff, if so, it can be backed up like:

mydatabase="mydatabasename `date`.sql"
filename=${mydatabase// /_}
mysqldump -h mydatabaserver.com -u username -ppassword mydatabase > 
/var/backups/sqlbackup/mydbaseserver1/$filename

and copied to the other server.

-----Original Message-----
From: Richard (Rogers @ work) [mailto:[EMAIL PROTECTED]
Sent: Friday, April 13, 2007 10:22 AM
To: Ian Darwin
Cc: [email protected]
Subject: Re: [on-asterisk] Backup and restore Asterisk config from one host to 
another

Hi Ian,

Thanks for the direction.  This backs up all the config files and is simple
enough.
How about changes made to mySQL database?  I was under the impression that
there are config info in the database as well.

Thanks,
Richard
----- Original Message -----
From: "Ian Darwin" <[EMAIL PROTECTED]>
To: "Richard (Rogers @ work)" <[EMAIL PROTECTED]>
Cc: <[email protected]>
Sent: Friday, April 13, 2007 10:15 AM
Subject: Re: [on-asterisk] Backup and restore Asterisk config from one host
to another


> Richard (Rogers @ work) wrote:
> > Hi ,
> >
> > I would like save a snapshot of all my asterisk configurations from one
host
> > (primary )and restore it on another host (backup).
> > I would like to do it using a command line/script rather than using
freePBX.
>
> scp -r /etc/asterisk backuphost:/etc/asterisk
>
> Need an additional one for the mailbox directory if you want to back up
> vmails.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to