Solved

FTP from Linux to windows server?

Posted on 2013-12-05
1
468 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
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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

You might have come across a situation when you have Exchange 2013 server in two different sites (Production and DR). After adding the Database copy in ECP console it displays Database copy status unknown for the DR exchange server. Issue is strange…
Restoring deleted objects in Active Directory has been a standard feature in Active Directory for many years, yet some admins may not know what is available.
This tutorial will give a an overview on how to deploy remote agents in Backup Exec 2012 to new servers. Click on the Backup Exec button in the upper left corner. From here, are global settings for the application such as connecting to a remote Back…
This tutorial will walk an individual through the steps necessary to enable the VMware\Hyper-V licensed feature of Backup Exec 2012. In addition, how to add a VMware server and configure a backup job. The first step is to acquire the necessary licen…

867 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now