Solved

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

Posted on 2006-07-19
3
275 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Three Reasons Why Backup is Strategic

Backup is strategic to your business because your data is strategic to your business. Without backup, your business will fail. This white paper explains why it is vital for you to design and immediately execute a backup strategy to protect 100 percent of your data.

Question has a verified solution.

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

Little introduction about CP: CP is a command on linux that use to copy files and folder from one location to another location. Example usage of CP as follow: cp /myfoder /pathto/destination/folder/ cp abc.tar.gz /pathto/destination/folder/ab…
Fine Tune your automatic Updates for Ubuntu / Debian
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.:

726 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