The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com



Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Shell script to search for text in a file and copy file imeadows UNIX for Dummies Questions & Answers 9 11-12-2008 09:12 PM
sending file from server to client bilal High Level Programming 1 09-26-2007 05:19 AM
Help:Copy file from one to other using script sunnysunny Shell Programming and Scripting 2 08-07-2006 10:45 AM
program to transfer a file from client machine to server nathgopi214 High Level Programming 3 07-04-2006 06:16 AM
Command for copy a file from one server to another server sarwan High Level Programming 2 11-13-2005 11:17 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 12-09-2006
gini gini is offline
Registered User
  
 

Join Date: Jul 2006
Posts: 27
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 (permalink)  
Old 12-09-2006
DukeNuke2's Avatar
DukeNuke2 DukeNuke2 is offline Forum Staff  
Soulman
  
 

Join Date: Jul 2006
Location: Germany, Berlin
Posts: 2,953
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 (permalink)  
Old 12-09-2006
Tornado's Avatar
Tornado Tornado is offline Forum Advisor  
Registered User
  
 

Join Date: Nov 2006
Location: Melbourne
Posts: 249
Or you could use the automounter..
ie:
on Client type:
cd /net/server
  #4 (permalink)  
Old 12-10-2006
gini gini is offline
Registered User
  
 

Join Date: Jul 2006
Posts: 27
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 (permalink)  
Old 12-10-2006
DukeNuke2's Avatar
DukeNuke2 DukeNuke2 is offline Forum Staff  
Soulman
  
 

Join Date: Jul 2006
Location: Germany, Berlin
Posts: 2,953
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 (permalink)  
Old 12-11-2006
gini gini is offline
Registered User
  
 

Join Date: Jul 2006
Posts: 27
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.
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 07:03 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0