copy file from server to client script


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting copy file from server to client script
# 1  
Old 12-09-2006
copy file from server to client script

i want to run automated backup copy , using crontab and how to do that?
the backup file should be taken from the sun server and put it in the client machine daily.pls help..
# 2  
Old 12-09-2006
what os has the client? if unix, use nfs: tar and gz the files you want to backup and then copy them to the nfs mount... or, if it is a whole filesystem, do an ufsdump of that one...
# 3  
Old 12-09-2006
Or you could use the automounter..
ie:
on Client type:
cd /net/server
Tornado
# 4  
Old 12-10-2006
server is Sun netra20
and client is sun blade 150 running solaris 9

pls leave the backup...i just need to daily download some files from a particular folder (server) to the client system automatically.
the file name is starting with for eg SSA20060501_1900.csv and like 24 files are there for a whole day.i need to zip it whole and download to client.
# 5  
Old 12-10-2006
Quote:
Originally Posted by gini
server is Sun netra20
and client is sun blade 150 running solaris 9

pls leave the backup...i just need to daily download some files from a particular folder (server) to the client system automatically.
the file name is starting with for eg SSA20060501_1900.csv and like 24 files are there for a whole day.i need to zip it whole and download to client.
where ist the problem? share the folder with nfs and copy the files (after zip) to your workstation.... its very simple.
to share the folder look for the example in /etc/dfs/dfstab and follow the text...
# 6  
Old 12-11-2006
the situation is....

i just want to zip the 24 hrs separate files into one file (from the server folder/home/scadm/reports/ ) and download to the client system (/home/scadm/reports) daily 12:00AM automatically.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Bash script to copy apache log files to client directory

Our Apache log files are written to a location on the server that we as clients have no access. Don't ask. Every month, I have to e-mail the administrator to have him manually copy our Apache log files to a directory in our file space. You can probably guess how efficient it is to do things this... (3 Replies)
Discussion started by: gregraven
3 Replies

2. Shell Programming and Scripting

Shell script to copy a file from one server to anther server and execute the binary

Hi , Is there any script to copy a files (weblogic bianary + silent.xml ) from one server (linux) to another servers and then execute the copy file. We want to copy a file on multiple servers and run the installation. Thanks (1 Reply)
Discussion started by: Nawrajesh
1 Replies

3. Shell Programming and Scripting

Sftp script for dev server to client server

hi, i am new to unix, cuold u send some sftp acripts to send files to dev server to clint server, (1 Reply)
Discussion started by: Koti.annam
1 Replies

4. Shell Programming and Scripting

*ix script to check port of client server and return output

Hello EveryOne, I am new to *ix. some could help to write a script. Problem :- Have to ssh to so many client and check port or filesystem usage, so thinking to automate using script. What i Need:- when i run script on my Launchpad server, it should Should ask and SSH to user provided... (3 Replies)
Discussion started by: MeFirst
3 Replies

5. UNIX for Dummies Questions & Answers

Copy the newest file from a different server to your home server.

Hi all, So I am on server 1, and I want to grab the newest file from a particular directory on server 2, and place this in a directory on server 1. I am trying to use: ls -tr | tail -1 This works, and gets me the newest file in a particular directory. Using svn `ls -tr | tail -1` etc I... (1 Reply)
Discussion started by: Lexx87
1 Replies

6. Shell Programming and Scripting

Copy file from one server to multiple server

can some one help me to write a shell script that copy one file from one server to multiple server ex:suppose i wnt to copy file abc.txt which is in server 1 to server2,server3,server4....:confused: (6 Replies)
Discussion started by: alokjyotibal
6 Replies

7. Programming

Client/Server Socket Application - Preventing Client from quitting on server crash

Problem - Linux Client/Server Socket Application: Preventing Client from quitting on server crash Hi, I am writing a Linux socket Server and Client using TCP protocol on Ubuntu 9.04 x64. I am having problem trying to implement a scenario where the client should keep running even when the... (2 Replies)
Discussion started by: varun.nagpaal
2 Replies

8. Shell Programming and Scripting

Client-server script

Hi all, I am referring to this website . What I'm trying to do is to have a server script which will receive data from GPS in one line and store it in some file. Now from what I can see in this server file, server is sending the data to client but I don't need that .. I need only server script... (3 Replies)
Discussion started by: c0mrade
3 Replies

9. Programming

sending file from server to client

hi dear i m very new to socket programing . i need the source code which sends file from server to client . i mean both server n client programe which sends file . can u do this for me please my email id is email id removed regards bilal (1 Reply)
Discussion started by: bilal
1 Replies

10. Programming

Command for copy a file from one server to another server

hi, which Command is used for copy a file from one server to another server, please provide the syntax and give one small example... Thanks in advance sarwan (2 Replies)
Discussion started by: sarwan
2 Replies
Login or Register to Ask a Question