Solved

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

Posted on 2006-07-19
3
273 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

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

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

This is the error message I got (CODE) Error caused by incompatible libmp3lame 3.98-2 with ffmpeg I've googled this error message and found out sometimes it attaches this note "can be treated with downgrade libmp3lame to version 3.97 or 3.98" …
Google Drive is extremely cheap offsite storage, and it's even possible to get extra storage for free for two years.  You can use the free account 15GB, and if you have an Android device..when you install Google Drive for the first time it will give…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
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.:

777 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