This is the mail archive of the cygwin mailing list for the Cygwin project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
function backup { # write some stuff to the log file echo " " >> $1 echo " " >> $1 echo "***** new log entry *****" >> $1 date >> $logfile_path
# run the backup rsync -v -a -r -p -b --suffix=.back -E -t --log-file=$1 $2 $3
# convert the log file format to windows EOL unix2dos $1 }
# give a location for the log file, src, and backup loc logfile_path="/logfile_path/log.txt" backup_src_path="/backup_src_path/" backup_destination_path="/backup_destination_path/" backup $logfile_path $backup_src_path $backup_destination_path
Bruno, is this rsync problem maybe related to my rsync problem which I mentioned recently in the thread "Rsync stops inmid of synchronisation" ?
(My latest post there was: http://article.gmane.org/gmane.os.cygwin/132270 ... but I don't know how to link to the entire thread.)
-Richard
Am 19.03.2012 11:51, schrieb Bruno Galindro da Costa:Hi!
I'm try to copy some files from windows to Linux using rsync but, after some short of time, an error was showed. Here is the log:
ERROR: out of memory in flist_expand [sender] rsync error: error allocating core memory buffers (code 22) at /home/lapo/package/rsync-3.0.9-1/src/rsync-3.0.9/util.c(117) [sender=3.0.9] rsync: connection unexpectedly closed (35795723020 bytes received so far) [receiver] rsync error: error in rsync protocol data stream (code 12) at io.c(601) [receiver=3.0.7] rsync: connection unexpectedly closed (102 bytes received so far) [generator] rsync error: error allocating core memory buffers (code 22) at io.c(601) [generator=3.0.7]
Bellow is the command that I used:
/usr/bin/rsync --exclude-from=/opt/backup_ti/tmp/FILESERVER_exclude_from.tmp -avzR --delete-excluded --rsh="ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -p 31060" root@127.0.0.1:"/cygdrive/c/fileserver" /backup/fileserver/bkp_files_20120318225522
Bellow is the /opt/backup_ti/tmp/FILESERVER_exclude_from.tmp content:
- TEMP - RECYCLE.BIN - System
Is there any workaround that I can use to "solve" this problem? Maybe using an option or change a configuration file on cygwin...
Search in google, I've found this solution (http://blog.rudnyi.ru/2011/04/problem-with-rsync.html ), but, before apply that, I like to see If there is another option to use.
-- Att. Bruno Galindro da Costa
-- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
-- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |