• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 616
  • Last Modified:

backup directly on ftp server

We are currently using imsbackup on our sun java communications suite mail server, to backup the emails. The backup is stored locally, on the hard drive.

What we would like to do is sent the backup to another server on the network through ftp. But it will have to be done while it’s backing up.

We do not want to save the backup locally on the hard disk, and then send it on the remote server through ftp. We need to be able to backup directly on the ftp server.

Can this be done?

Thanks
0
AJKBOC
Asked:
AJKBOC
  • 10
  • 9
1 Solution
 
omarfaridCommented:
do you have ssh access to remote server?

can your backup tool write to standard out (stdout), e.g. has an option like -f -
0
 
AJKBOCAuthor Commented:
The ftp server is a windows machine, and it does not have ssh server installed.

The imsbackup tool supports stdout as described here http://download.oracle.com/docs/cd/E19566-01/819-4429/acmcl/index.html 
0
 
omarfaridCommented:
what is the problem with storing the backup file on local disk then ftp it then delete it?
0
Fill in the form and get your FREE NFR key NOW!

Veeam is happy to provide a FREE NFR server license to certified engineers, trainers, and bloggers.  It allows for the non‑production use of Veeam Agent for Microsoft Windows. This license is valid for five workstations and two servers.

 
AJKBOCAuthor Commented:
Backing up the emails on the server takes hours, and it will take double the time copying the file again on the ftp server. It also makes the server's hard disk slower.
0
 
omarfaridCommented:
can you share the ftp server folder with your system? you could use NFS or samba to do so. In this case you can mount thr ftp server folder as a dir on your mail server and then backup to it dir.

You either install nfs server on your windows server and then create an NFS share which you mount on the mail server

OR

install samba on your mail server and then access the windows server share

what is your mail server OS and version?
0
 
AJKBOCAuthor Commented:
Oracle Solaris 10 9/10 s10x_u9wos_14a X86
SunOS mail 5.10 Generic_142910-17 i86pc i386 i86pc
0
 
omarfaridCommented:
you need to install NFS on your windows and configure it

http://en.wikipedia.org/wiki/Windows_Services_for_UNIX

create an NFS share on the windows server, then mount it on the solaris server

backup to the new dir
0
 
AJKBOCAuthor Commented:
any guides on mounting the share from solaris?
0
 
omarfaridCommented:
did you try to install  the windows services for unix and to create an NFS share on the windows server?

If yes, do you need help in mounting it on solaris? the command is easy, as root run

mount windowsserverip:/sharename /dir

here /dir is a directory name of your choice created on solaris

0
 
AJKBOCAuthor Commented:
I have installed windows services for unix, created an nfs share, and I have allowed anonymous access.

This is what I get on the solaris machine

bash-3.00# mount 192.168.0.173:/SFU /aristos/test/
nfs mount: 192.168.0.173: : RPC: Rpcbind failure - RPC: Timed out
nfs mount: retrying: /aristos/test

And it keeps retrying
0
 
maxalarieCommented:
mount -t cifs
0
 
AJKBOCAuthor Commented:
maxalarie:
It's not working. It just gives me the mount command options
0
 
omarfaridCommented:
are you sure of the nfs share name?
0
 
AJKBOCAuthor Commented:
Yes
1.jpg
0
 
omarfaridCommented:
can you check if you have a firewall on the windows system blocking you?
0
 
AJKBOCAuthor Commented:
It seems that it’s been mounted successfully, but something must be wrong with the permissions.

# bash
bash-3.00# mount 192.168.0.173:/SFU /aristos/test/
bash-3.00# cd /aristos/test/
bash: cd: /aristos/test/: Permission denied
bash-3.00#
0
 
omarfaridCommented:
did you follow the MS documentation about user ids and permissions?
0
 
AJKBOCAuthor Commented:
After I configured root read/write and anonymous access, I didn't think it would make much of a difference, but I'll get back to you on that.
0
 
AJKBOCAuthor Commented:
0
 
omarfaridCommented:
Very good :)
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 10
  • 9
Tackle projects and never again get stuck behind a technical roadblock.
Join Now