SipXecs will write to the root of the ftp folder.  So you need to make sure you 
can create directories on the root of the ftp server.  We have two sipXecs 
boxes backing up to the same ftp server (ftp server is on our lan, so no 
firewall issues).  One is backing up Monday morning, the other is Tuesday 
morning.  Here is what is on the root of our ftp server.  We are running the 
most recent 4.4

[cid:[email protected]]

Nathaniel Watkins
IT Director
Garrett County Government
203 South 4th Street, Room 211
Oakland, MD  21550
Telephone: 301-334-5001
Fax: 301-334-5021
E-mail: [email protected]<mailto:[email protected]>

From: [email protected] 
[mailto:[email protected]] On Behalf Of Tony Graziano
Sent: Thursday, May 31, 2012 1:24 PM
To: Discussion list for users of sipXecs software
Subject: Re: [sipx-users] SIPX Backup

This is really sounding like what is the default or target directory for the 
ftp connection.

when you login via cli do a PWD to see what the directory is, because its not 
going there (maybe your does not allow writing in root). Typically you would 
change the "user account" to point to the directory you want sipx to PUT the 
files into.

This would be something you set at your FTP server, not at sipx.

On Thu, May 31, 2012 at 1:12 PM, Saad 
<[email protected]<mailto:[email protected]>> wrote:
OK here it is with Passive enabled: As you see, the FTP backup went through 
properly when issued from Linux.


ftp> passive on
Passive mode on.
ftp> cd sipx1
250 CWD command successful
ftp> put *.gz
local: configuration.tar.gz remote: configuration.tar.gz
227 Entering Passive Mode (10,30,3,18,219,149).

150 Opening BINARY mode data connection for configuration.tar.gz
226 Transfer complete
142019354 bytes sent in 5 seconds (2.8e+04 Kbytes/s)
ftp> put voicemail.tar.gz
local: voicemail.tar.gz remote: voicemail.tar.gz
227 Entering Passive Mode (10,30,3,18,218,240).
150 Opening BINARY mode data connection for voicemail.tar.gz
226 Transfer complete
276876 bytes sent in 0.041 seconds (6.6e+03 Kbytes/s)

ftp> put configuration.tar.gz
local: configuration.tar.gz remote: configuration.tar.gz
227 Entering Passive Mode (10,30,3,18,218,64).

150 Opening BINARY mode data connection for configuration.tar.gz
226 Transfer complete
142019354 bytes sent in 3.9 seconds (3.6e+04 Kbytes/s)



I also disabled the IP tables on SIPX but still not writing anythings on the 
FTP server until the session is timing out then the FTP closes it.
When I click on Backup now from the Web , it says" Backup completed 
successfully on the configured FTP server." though. but nothing was written on 
the FTP server.. Do I need to create a specific directory on the FTP  that SIPX 
is expecting to see to backup files to?

I would also like to try the NFS method and would appreciate if someone can 
send a step by step document to achieve mounting the Backup directory on SIPX 
to an external drive..

Thanks
Saad

On Wed, May 30, 2012 at 6:01 PM, George Niculae 
<[email protected]<mailto:[email protected]>> wrote:
On Wed, May 30, 2012 at 10:50 PM, Saad 
<[email protected]<mailto:[email protected]>> wrote:
> Very good details Tony .. Am not positive if this would be a F/W issue as I
> was able to send a config file from SIPX to the FTP server and it worked
> just fine:
>
> ftp> put configuration.tar.gz
> local: configuration.tar.gz remote: configuration.tar.gz
> 227 Entering Passive Mode (10,30,3,18,218,109).
> 150 Opening BINARY mode data connection for configuration.tar.gz
> 226 Transfer complete
> 142018354<tel:142018354> bytes sent in 4.5 seconds (3.1e+04 Kbytes/s)
>

Can you try also to send PASV and see what it returns?

George
_______________________________________________
sipx-users mailing list
[email protected]<mailto:[email protected]>
List Archive: http://list.sipfoundry.org/archive/sipx-users/


_______________________________________________
sipx-users mailing list
[email protected]<mailto:[email protected]>
List Archive: http://list.sipfoundry.org/archive/sipx-users/



--
~~~~~~~~~~~~~~~~~~
Tony Graziano, Manager
Telephone: 434.984.8430
sip: 
[email protected]<mailto:[email protected]>
Fax: 434.465.6833
~~~~~~~~~~~~~~~~~~
Linked-In Profile:
http://www.linkedin.com/pub/tony-graziano/14/4a6/7a4
Ask about our Internet Fax services!
~~~~~~~~~~~~~~~~~~

LAN/Telephony/Security and Control Systems Helpdesk:
Telephone: 434.984.8426
sip: [email protected]<mailto:[email protected]>

Helpdesk Customers: http://myhelp.myitdepartment.net
Blog: http://blog.myitdepartment.net

<<inline: image001.png>>

_______________________________________________
sipx-users mailing list
[email protected]
List Archive: http://list.sipfoundry.org/archive/sipx-users/

Reply via email to