Solved

FTP from Linux to windows server?

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

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

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

VM backup deduplication is a method of reducing the amount of storage space needed to save VM backups. In most organizations, VMs contain many duplicate copies of data, such as VMs deployed from the same template, VMs with the same OS, or VMs that h…
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
This tutorial will walk an individual through locating and launching the BEUtility application to properly change the service account username and\or password in situation where it may be necessary or where the password has been inadvertently change…
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles to another domain controller. Log onto the new domain controller with a user account t…

786 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