Solved

Trying to use rsync to copy files from one workgroup computer to another

Posted on 2006-07-19
3
266 Views
Last Modified: 2013-12-16
I am upgrading a server I have  suse 10 on the original and suse enterprise server 9.3 on the new server. The server is used as a file server. I am trying to use rsync to copy all the files/folders from the old system to then new

Below is the command I tried. It looked like it was working but no files were copied.

rsync -a -r -R -W -u --progress  /stuff //newworkgroup/stuff
0
Comment
Question by:JonMny
  • 2
3 Comments
 
LVL 9

Author Comment

by:JonMny
Comment Utility
Below is a sample of the output from rsync

/disksets/AB-Rockwell Software Disks/9355WABCENE_Core FileSet_Setup/RSLinx/PnP_Drivers/Win9x/1784-PCMK/PCMKUPDT.EXE
       73728 100%  165.14kB/s    0:00:00  (1059, 2.5% of 45584)
/disksets/AB-Rockwell Software Disks/9355WABCENE_Core FileSet_Setup/RSLinx/PnP_Drivers/Win9x/1784-PCMK/RSIPAGE.VXD
        9410 100%   20.89kB/s    0:00:00  (1060, 2.5% of 45584)
/disksets/AB-Rockwell Software Disks/9355WABCENE_Core FileSet_Setup/RSLinx/PnP_Drivers/Win9x/1784-PCMK/R
0
 
LVL 22

Accepted Solution

by:
pjedmond earned 500 total points
Comment Utility
-u is update only. If the file already exists (and is very new because it has only just been installed on the *new* server) then the file may not get updated.

Also /stuff is the source and //newworkgroup/stuff

rsync -aruvt --progress  /stuff //newworkgroup/stuff

Is probably what I'd want to do - note the t for preserve times and I'd add the -v (verbose) as well during the trouble shooting process. No R for 'relative'.

(   (()
(`-' _\
 ''  ''
0
 
LVL 9

Author Comment

by:JonMny
Comment Utility
Looks Like thats working, Thanks
0

Featured Post

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

If you have a server on collocation with the super-fast CPU, that doesn't mean that you get it running at full power. Here is a preamble. When doing inventory of Linux servers, that I'm administering, I've found that some of them are running on l…
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now