Copying files from one server to another


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Copying files from one server to another
# 8  
Old 12-14-2011
The simplest answer may be using rsync and SSH, but if you aren't able to install either one, you could always revert to using tar and ftp.
# 9  
Old 12-15-2011
The main reason why i have to move files is my root directory (cd /) is 93% occupied . So i am afraid that it may lead to crash...
So i want to delete some files from root directory but i dont know which files i want to delete...
Our solarise is claasified in to disk 1,2,3,4 .so i planned to move some files in disk4 to other solrise in same network so that root disk usgae may be reduced....
Can you help me to increase the memory space of root?
# 10  
Old 12-15-2011
Can you show us the output from the "df" command which showed 93% , but for all filesystems? Filling a 10 Gb root partition is quite unusual unless there is something in the root partition which is not normally there or you have a runaway log.
Has this system been up for a very long time?
Code:
who -b

Please check the root partition for large files. Must be logged in a root.
Code:
find // -xdev -type f -size +10000000c -exec ls -ald {} \;
# Don't know what version of Solaris you have. If -xdev gives a syntax
# error, use -mount

If you find large files, do not delete or null them without informed advice.
If you really don't know what you are doing it is very easy to destroy your system.


There is a lengthy pinned post on the Solaris board in unix.com.
The diagnostics side is very good but do not take any of the remedial actions without informed advice (some are dangerous).
https://www.unix.com/solaris/25840-fi...what-look.html

Last edited by methyl; 12-15-2011 at 07:54 AM..
# 11  
Old 12-15-2011
Code:
5146254 4687823  406969    93%    /net/mcd01

Should i execute the following mentioed cmd -xdev....

Last edited by zaxxon; 12-15-2011 at 12:59 PM.. Reason: code tags
# 12  
Old 04-19-2012
You might try zipping up the subfolders then using the Rapid Transfer Script (dot com) to copy the zipped files over and unzipping them. It's php and usually copies 1GB files in under 90 seconds.
# 13  
Old 04-19-2012
Quote:
5146254 4687823 406969 93% /net/mcd01
Quote:
my root directory (cd /)
I don't understand how the above directory is your root directory or where your size of 10 Gb came from.


Let's get some basic information about filesystem net/mcd01 .
Code:
# Large files
find /net/mcd01 -xdev -type f -size +10000000c -exec ls -ald {} \;
# Number of directories
find /net/mcd01 -xdev -type d -print | wc -l
# Number of files
find /net/mcd01 -xdev -type d -print | wc -l

 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Copying files to remote server

I am trying to copy code to remote server, doing something like this However it is copying one file and than the script exits i=0; j=0 while read fn; do dir=${fn%/*} # Gets directory path fnm=${fn##*/} # Gets filename excl. path rgx_nwk="s/${nwk}/${nwk}.sac/g" ... (2 Replies)
Discussion started by: kristinu
2 Replies

2. Shell Programming and Scripting

Copying the files to Windows server from UNIX server

Hi Team, I had a requirement to write a shell script which automatically transfer the files from unix server to windows server. I can able to unix to unix using Scp command. I am not sure how to do unix to windows. I am very new on this concept. Could you please help me or guide in... (4 Replies)
Discussion started by: gvkumar25
4 Replies

3. Shell Programming and Scripting

Copying files from one server to another server?

Hi all, In Server1, one directory contains files now. In this directory, based on some operations, daily some files will generate and store regularly. Now i want to copy the files to Server2 through SFTP/FTP command on daily based on the previous day present data(i.e based on the latest file... (1 Reply)
Discussion started by: venkat6134
1 Replies

4. UNIX for Dummies Questions & Answers

Copying files from Unix Server to Local

How do i copy files from Unix Server to my Local Desktop.. ANy ideas..please suggest....V Urgent. (1 Reply)
Discussion started by: win4luv
1 Replies

5. UNIX for Dummies Questions & Answers

Copying files from different server

Is there any option to copy files from a different server other than using an SCP command??? thanks,:b: Arun manas (2 Replies)
Discussion started by: arunmanas
2 Replies

6. Shell Programming and Scripting

Copying files from one server to other.

Any one advice here- need to copy some files from one server to other server thru shell programming. (8 Replies)
Discussion started by: samkhu
8 Replies

7. Shell Programming and Scripting

script for Copying files from one server to another using scp

Hi Scripting experts, I am new to the unix scripting. Please help me out for solving the condition given below I am trying to develop a script for Copying files which are getting generated in server A to server B using scp. In serverA files are generating as for eg abc1.txt, abc2.txt,... (5 Replies)
Discussion started by: rohithji
5 Replies

8. UNIX for Dummies Questions & Answers

Copying a list of files from one 'server' to another?

I have two servers. I would like to copy some files from one directory on server A into the same directory on server B. Its not all the files in in the directory, just some of them. Is there a way to make a file list in a txt file and then somehow copy all the files in that list in one go to... (6 Replies)
Discussion started by: Sepia
6 Replies

9. Shell Programming and Scripting

copying files from one server to another server

Hi, I want to transfer files from one linux server to another linux server using shell script using sftp. But I dont won't that while connecting one server to another server it will ask for password , it should be part of script. I wont to know how password should be included in the... (4 Replies)
Discussion started by: manoj.solaris
4 Replies

10. UNIX for Advanced & Expert Users

Copying files between 2 Unix server

Is there a simple way to copy data from one server to a different server? Seems that if 2 servers are on the same network, there should be a simple way to copy between the two. Not just one file. I need to copy a whole directory with subdirectories from one server to a different one. I... (9 Replies)
Discussion started by: Docboyeee
9 Replies
Login or Register to Ask a Question