Rsync Windows Corrupt File

This is a discussion on Rsync Windows Corrupt File within the Rsync forums, part of the Networking and Network Related category; I've been using rsync for years on linux based systems but just recently downloaded and installed rsync on an ...


Go Back   Usenet Forums > Networking and Network Related > Rsync

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 09-27-2005
Max Kipness
 
Posts: n/a
Default Rsync Windows Corrupt File


I've been using rsync for years on linux based systems but just recently
downloaded and installed rsync on an XP computer for a certain application.

For the most part it works fine except for one issue pertaining to an open
file.

When backing up the My Documents directory, there is an Outlook .pst file as
part of this directory. This is an in use pst file. If Outlook is closed,
the pst file seems to sync fine. I'm able to copy it back from the remote
server, and open it without issue. However, when Outlook is open, and
therefore the pst is in an open state, rsync throws an error about the pst
to stderr about not having permissions, yet in the log, it states that the
pst was synced. When copying the file back after this process, the file will
no longer open as Outlook states that it's not a valid pst file. So it works
fine when the pst is closed, but somehow corrupts the remote file if the
local file is open?? With linux I'm used to the file being completely
skipped.

Any suggestions on how to fix this?

Here is the command line options:

C:\\Program Files\\cwRsync\\rsync.exe" /cygdrive/c/
$remoteuser@$remoteserver://backup/Current/$hostname/ --stats --compress
--recursive --partial --files-from=files.txt --bwlimit=$speed --archive
--log-format=%f:::%l:::%b

Errors:

rsync: read errors mapping "/cygdrive/c/Documents and Settings/xxx/My
Documents/Max.pst": Permission denied (13)

rsync: read errors mapping "/cygdrive/c/Documents and Settings/xxx/My
Documents/Max.pst": Permission denied (13)

ERROR: Documents and Settings/xxx/My Documents/Max.pst failed verification
-- update retained.

rsync error: some files could not be transferred (code 23) at main.c(791)

Log:

Documents and Settings/xxx/My Documents/Max.pst:::271360:::66

Documents and Settings/xxx/My Documents/Max.pst:::271360:::40

Thanks,
Max

--
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 01:07 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0