Solved

FTP from Linux to windows server?

Posted on 2013-12-05
1
476 Views
Last Modified: 2013-12-10
Hello Expert,

I have a question,

I have automated daily backups for my nagios server (linux), and the backups are redirected to a folder (/ var / backup).

I want to find a way to configure an automatic ftp download script on my ftp server (windows server), to be able  to transfert daily all the backups from my nagios server .

How can I do it? Is it possible
0
Comment
Question by:cismoney
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 18

Accepted Solution

by:
Sanga Collins earned 500 total points
ID: 39698661
You can actually set your nagios server to FTP to the windows server as part of the backup script. Here is a simple example, but the the web is full of plenty others some even simpler and other more complicated.

#!/bin/sh
HOST='ftp.users.qwest.net'
USER='yourid'
PASSWD='yourpw'
FILE='file.txt'

ftp -n $HOST <<END_SCRIPT
quote USER $USER
quote PASS $PASSWD
put $FILE
quit
END_SCRIPT
exit 0
0

Featured Post

Free eBook: Backup on AWS

Everything you need to know about backup and disaster recovery with AWS, for FREE!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

This article explains how to install and use the NTBackup utility that comes with Windows Server.
In the first part of this tutorial we will cover the prerequisites for installing SQL Server vNext on Linux.
This tutorial will give a short introduction and overview of Backup Exec 2012 and how to navigate and perform basic functions. Click on the Backup Exec button in the upper left corner. From here, are global settings for the application such as conne…
This tutorial will walk an individual through the process of configuring basic necessities in order to use the 2010 version of Data Protection Manager. These include storage, agents, and protection jobs. Launch Data Protection Manager from the deskt…

738 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question