Results 1 to 4 of 4

Thread: Rsync Newbie

  1. #1

    Default Rsync Newbie

    I started using Rsync by following the directions in this tutorial:

    Mirror Your Web Site With rsync | HowtoForge - Linux Howtos and Tutorials

    I used this command to run my first remote sync:

    rsync -avz -e ssh someuser@server1.example.com:/srv/www/htdocs/ /srv/www/htdocs/

    Everything seemed to synchronize however I was concerned about the "rysnc error" below. Do I need to resolve this error before automating my rsync job?


    sent 347546 bytes received 164724744 bytes 185787.61 bytes/sec
    total size is 247429232 speedup is 1.50
    rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(151 [generator=3.0.4]



    Thanks,

    -Mike

    Suse Linux Enterprise Server 11
    Suse Linux Enterprise Server 10 - SP2
    OpenSuse 11.1, KDE 4.1.3
    OpenSuse 11.1, KDE 4.2

  2. #2

    Default Re: Rsync Newbie

    Why were some files not transferred as indicated by the error message above? How do I resolve this error?
    Suse Linux Enterprise Server 11
    Suse Linux Enterprise Server 10 - SP2
    OpenSuse 11.1, KDE 4.1.3
    OpenSuse 11.1, KDE 4.2

  3. #3
    Join Date
    Oct 2008
    Location
    Birmingham. AL
    Posts
    858

    Default Re: Rsync Newbie

    Did it not show you the actual file names that it had problems with? Are you running this as a cron job, or straight from a command prompt?

    Another question: are you trying to copy from different OS's? For example, is the Web server Microsoft IIS and you're copying to OpenSuSE Linux? Does one have Access Control Lists or some other form of security? There are known issues with "translating" file attributes between different OS's.

    This is probably just an access/permissions issue, but you need to post more info otherwise.

  4. #4
    goldie NNTP User

    Default Re: Rsync Newbie

    > rsync -avz -e ssh someuser@server1.example.com:/srv/www/htdocs/ /srv/www/htdocs/

    did you issue that command after an su to root?

    --
    goldie

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •