Show Posts
|
Pages: [1]
|
1
|
General Category / Closed Bugs / Re: Crash when file is deleted during sync
|
on: April 29, 2007, 05:52:14 PM
|
No doubt s3sync is compiling a list of files to copy before it actually begins copying. That would account for the long pause before any files start being transferred.
However, I doubt that it is keeping each and every file open. Instead, it is trying to open a file that is non-existent.
|
|
|
2
|
General Category / Closed Bugs / Crash trying to copy /dev/zero
|
on: April 29, 2007, 01:45:24 PM
|
I'm using s3sync to back up my /var partition. One of the files included is /var/named/chroot/dev/zero. s3sync crashes with this error:
Create node named/chroot/dev/zero /usr/lib/ruby/1.8/delegate.rb:158:in `method_missing': undefined method `length' for nil:S3sync::ProgressStream (NoMethodError) from /usr/lib/ruby/1.8/net/http.rb:1507:in `send_request_with_body' from /usr/lib/ruby/1.8/net/http.rb:1496:in `exec' from /usr/lib/ruby/1.8/net/http.rb:1044:in `_HTTPStremaing_request' from ./HTTPStreaming.rb:45:in `request' from ./S3_s3sync_mod.rb:50:in `make_request' from ./S3.rb:152:in `put' from ./s3try.rb:57:in `S3try' from ./s3sync.rb:499:in `updateFrom' from ./s3sync.rb:370:in `main' from ./s3sync.rb:690
I could add it to my exclude list, but s3sync ought to handle this situation.
|
|
|
5
|
General Category / Closed Bugs / Crash when file is deleted during sync
|
on: April 28, 2007, 12:09:33 AM
|
Hi,
I'm a new user to s3sync. As I write this, I'm doing my first full backup. It has been going for a couple of hours already.
During the sync, I've been cleaning up a few files here and there. This exposed an apparent problem with s3sync: if a file is deleted while s3sync is working, it crashes. Here's the error:
Create node web/users/docs/CC-Document-13 /usr/lib/ruby/1.8/delegate.rb:158:in `method_missing': undefined method `length' for nil:S3sync::ProgressStream (NoMethodError) from /usr/lib/ruby/1.8/net/http.rb:1507:in `send_request_with_body' from /usr/lib/ruby/1.8/net/http.rb:1496:in `exec' from /usr/lib/ruby/1.8/net/http.rb:1044:in `_HTTPStremaing_request' from ./HTTPStreaming.rb:45:in `request' from ./S3_s3sync_mod.rb:50:in `make_request' from ./S3.rb:152:in `put' from ./s3try.rb:57:in `S3try' from ./s3sync.rb:499:in `updateFrom' from ./s3sync.rb:370:in `main' from ./s3sync.rb:690
The file web/users/docs/CC-Document-13 was one of the ones I had deleted before s3sync got to it.
Can s3sync be modified so it simply ignores (or prints a warning) if a file has been deleted?
|
|
|
|