Solved

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

Posted on 2006-07-19
3
274 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
ID: 17141125
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
ID: 17141319
-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
ID: 17141894
Looks Like thats working, Thanks
0

Featured Post

Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Over the last ten+ years I have seen Linux configuration tools come and go. In the early days there was the tried-and-true, all-powerful linuxconf that many thought would remain the one and only Linux configuration tool until the end of times. Well,…
I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension (http://www.experts-exchange.com/discussions/210281/Attachments-with-no-extension.html). This reminded me of questions tha…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

831 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