Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[asterisk-users] What do I Copy to Migrate to New Machine?


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users
View previous topic :: View next topic  
Author Message
matt at mattgwatson.ca
Guest





PostPosted: Mon Jun 02, 2008 7:42 pm    Post subject: [asterisk-users] What do I Copy to Migrate to New Machine? Reply with quote

On June 2, 2008 07:44:38 pm Robert DeVries wrote:
Quote:
Anyone out there have a list of what files to copy to migrate an Asterisk
installation to a new machine?

Obviously the files in /etc/asterisk, but I would also like the outgoing VM
messages and everything else to go seamlessly as well.

You'll need /var/lib/asterisk and /var/spool/asterisk those are default
locations for many things including sound files, voicemail files, astdb
--
Matt Watson
http://www.mattgwatson.ca
Back to top
matthewmackes at delta...
Guest





PostPosted: Mon Jun 02, 2008 7:52 pm    Post subject: [asterisk-users] What do I Copy to Migrate to New Machine? Reply with quote

But first and foremost you will need everything in /etc/asterisk.

Matt Watson wrote:
Quote:
On June 2, 2008 07:44:38 pm Robert DeVries wrote:

Quote:
Anyone out there have a list of what files to copy to migrate an Asterisk
installation to a new machine?

Obviously the files in /etc/asterisk, but I would also like the outgoing VM
messages and everything else to go seamlessly as well.


You'll need /var/lib/asterisk and /var/spool/asterisk those are default
locations for many things including sound files, voicemail files, astdb


Back to top
michael_bulk at wildga...
Guest





PostPosted: Tue Jun 03, 2008 6:46 pm    Post subject: [asterisk-users] What do I Copy to Migrate to New Machine? Reply with quote

rsync works really well to sync files via SSH

You can do something like this:

rsync -lrvt {source machine IP}:/etc/asterisk .
rsync -lrvt {source machine IP}:/var/lib/asterisk .
rsync -lrvt {source machine IP}:/var/spool/asterisk .

description of switches:
l = keep symlinks
r = recursive
v = verbose
t = keep timestamps

This will sync the /etc/asterisk, /var/lib/asterisk and
/var/spool/asterisk directories from the source machine into whatever
the CURRENT directory is.

Then if you want to copy only updated files, throw in the 'u' flag

u = skip files newer on the source box

If you want to set up a batch process, I recommend setting up a key
exchange between boxes to avoid having to use passwords
Tariq .. wrote:
Quote:
I would suggest that you simply use the BACKUP & RESTORE feature which
is the best solution for your case.. unless you want to copy the monitor
contents by that i would suggest you would copy your /var/spool/asterisk
which has all your recordings

Tarek Sawah



<http://www.tareksawah.com/>


Quote:
From: matt at mattgwatson.ca
To: asterisk-users at lists.digium.com
Date: Mon, 2 Jun 2008 20:42:45 -0400
Subject: Re: [asterisk-users] What do I Copy to Migrate to New Machine?

On June 2, 2008 07:44:38 pm Robert DeVries wrote:
Quote:
Anyone out there have a list of what files to copy to migrate an
Asterisk
Quote:
Quote:
installation to a new machine?

Obviously the files in /etc/asterisk, but I would also like the
outgoing VM
Quote:
Quote:
messages and everything else to go seamlessly as well.

You'll need /var/lib/asterisk and /var/spool/asterisk those are default
locations for many things including sound files, voicemail files, astdb


--
Matt Watson
http://www.mattgwatson.ca

_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users

------------------------------------------------------------------------
It?s easy to add contacts from Facebook and other social sites through
Windows Live? Messenger. Learn How.
<https://www.invite2messenger.net/im/?source=TXT_EML_WLH_LearnHow>


------------------------------------------------------------------------

_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services