07-15-2011
You could put them on an NFS server export that both mount (have to watch for both writing at the same time, so make sure you have file locking considered, unless one is read only). The you're not really copying files, but this may result in other issues. This could be a server C or simply server A running NFS, that is mounted by server B.
rsync would be my choice, as it tunnels over ssh. Also, if the files are not 3GB of new data, then it only copies changes to those files.
It's difficult to give a definitive answer without more information as to the nature of the files and what they are being used for.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi All,
what is the comand to log off the remote server?
I have 2 servers A, B. I need to find all files older than 7 days on server B and copy over to server A. My logic is:
login the remote server:
=================
ssh hostB
cd /data/test
find . -mtime -7 -ls | awk '{print... (4 Replies)
Discussion started by: Beginer0705
4 Replies
2. UNIX for Dummies Questions & Answers
Hi Friends,
Could you please help me as per my requirement mentioned below ?
I have to copy files from one unix server to another unix server, and the files that i need to copy from the remote server are only those which are modified/created Today from abc directory on the remote server (1 Reply)
Discussion started by: ramask
1 Replies
3. Shell Programming and Scripting
Hi,
I wanted to copy monthly generated csv file(s)( of latest date) at one server to my current server.
So I wrote the following script, but does not work.
The script is invoked on my current server
Can you please help?
!/bin/ksh
#. /apps/comp/
cd /apps/di/dev/import/paper
ssh hpqad02... (3 Replies)
Discussion started by: Alok Ranjan
3 Replies
4. Shell Programming and Scripting
Can anybody please help me on how to code for the below requirement:
I need to write a shell script (on different unix server) to copy files from multiple folders (ex. BRN-000001) from one windows server (\\boldls-mwe-dev4)to a different windows server(\\rrwin-ewhd04.ecomad.int). This shell... (4 Replies)
Discussion started by: SravsJaya
4 Replies
5. UNIX for Advanced & Expert Users
Hi,
We have a SVN server on which the developers upload their source code which is in the form of a .ear file or a folder.
We login to the SVN server using our credentials and then go to the directory in which the application is placed and then click on the download link to download the... (6 Replies)
Discussion started by: mohtashims
6 Replies
6. Shell Programming and Scripting
We would be migrating unix solaries to Linux redhat.
Basically source is unix and target is linux.
i would like to copy entire file system unix/source/* to target linux/souce/*
but target linux has only folder setup so what ever files copied need to be placed in the linux server with same... (8 Replies)
Discussion started by: balajikalai
8 Replies
7. Shell Programming and Scripting
Hi All,
I am generating report in a Linux server and once the report is generated the report(.txt file) needs to be automatically saved in a Windows servers.
So i am looking for a script to transfer the file automatically from Linux server to Windows server?
Please advise.
Thanks... (3 Replies)
Discussion started by: arunmanas
3 Replies
8. Shell Programming and Scripting
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
9. UNIX for Dummies Questions & Answers
Hi all,
I need a shell script to compress and transfer only last modified(new) file from one linux server to another linux sever.
the files i need to backup are 2 files .txt & .log which will be created in the same folder for every 3-4hrs and this script need to run once in 24hrs.
so only... (5 Replies)
Discussion started by: basszzz
5 Replies
10. Shell Programming and Scripting
:wall:Hi all,
I have two servers : server A and server B
Weekly wise i use to receive files to server A to one particular location say /source/location . NOTE: In this location there will be other files also present other than these weekly arrival 18 files.
My task :
i need a... (7 Replies)
Discussion started by: karmegam
7 Replies
LEARN ABOUT REDHAT
showmount
SHOWMOUNT(8) System Manager's Manual SHOWMOUNT(8)
NAME
showmount - show mount information for an NFS server
SYNOPSIS
/usr/sbin/showmount [ -adehv ] [ --all ] [ --directories ] [ --exports ] [ --help ] [ --version ] [ host ]
DESCRIPTION
showmount queries the mount daemon on a remote host for information about the state of the NFS server on that machine. With no options
showmount lists the set of clients who are mounting from that host. The output from showmount is designed to appear as though it were pro-
cessesed through ``sort -u''.
OPTIONS
-a or --all
List both the client hostname and mounted directory in host:dir format.
-d or --directories
List only the directories mounted by some client.
-e or --exports
Show the NFS server's export list.
-h or --help
Provide a short help summary.
-v or --version
Report the current version number of the program.
--no-headers
Suppress the descriptive headings from the output.
SEE ALSO
rpc.mountd(8), rpc.nfsd(8)
BUGS
The completeness and accurary of the information that showmount displays varies according to the NFS server's implementation.
Because showmount sorts and uniqs the output, it is impossible to determine from the output whether a client is mounting the same directory
more than once.
AUTHOR
Rick Sladkey <jrs@world.std.com>
6 October 1993 SHOWMOUNT(8)