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 FREEBSD
showmount
SHOWMOUNT(8) BSD System Manager's Manual SHOWMOUNT(8)
NAME
showmount -- show remote nfs mounts on host
SYNOPSIS
showmount [-a | -d] [-e] [-1] [-3] [host]
DESCRIPTION
The showmount utility shows status information about the NFS server on host. By default it prints the names of all hosts that have NFS file
systems mounted on the host. See NFS: Network File System Protocol Specification, RFC 1094, Appendix A, and NFS: Network File System Version
3 Protocol Specification, Appendix I, for a detailed description of the protocol.
The following options are available:
-a List all mount points in the form:
host:dirpath.
-d List directory paths of mount points instead of hosts.
-e Show the host's exports list.
-1 Use mount protocol Version 1, compatible with legacy servers.
-3 Ignored for backwards compatibility.
SEE ALSO
mount(8), mount_nfs(8), mountd(8)
HISTORY
The showmount utility first appeared in 4.4BSD.
BUGS
The mount daemon running on the server only has an idea of the actual mounts, since the NFS server is stateless. The showmount utility will
only display the information as accurately as the mount daemon reports it.
BSD
August 16, 2014 BSD