S3Sync.net
February 02, 2014, 01:29:53 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
 
  Home Help Search Login Register  
  Show Posts
Pages: 1 2 3 [4] 5 6 ... 25
46  General Category / Questions / Re: Transfer file from S3 on: August 19, 2008, 09:14:48 PM
You can use s3cmd or some other sort of shell.
47  General Category / Questions / Re: Restore failing - how to skip errors? on: August 13, 2008, 08:27:09 PM
OK so try near line 376 of s3sync.rb
Code:
begin
   dNode.updateFrom(sourceNode) unless $S3syncOptions['--dryrun']
rescue Errno::ENOENT => e
   $stderr.puts "Skipped item: #{e}"
end

As you can see it's just wrapping the existing line with a begin/rescue/end that matches the error type thrown.  The reason I put it out at the comparator instead of *right* where the error occurs at like 638 is that we need to catch at a place where we're able to easily move on to the next item.
48  General Category / Questions / Re: Restore failing - how to skip errors? on: August 11, 2008, 04:56:57 PM
If you paste in the error out messages I can advise you about changes.
49  General Category / Questions / Re: Restore failing - how to skip errors? on: August 11, 2008, 03:24:33 PM
Most of the existing error handling is in s3try.rb (not that it's necessarily where you need error handling added).  Look for blocks like

Code:
begin
   ....
rescue Some::ErrorType => e
   ...
end

If you find where you are erroring out, and what error type(s) you have, you can wrap it in begin/rescue/end

What happened to your NAS?  HD bork?  I recommend spinrite for drive health (not affiliated, just a satisfied customer)
http://www.grc.com/sr/spinrite.htm
Depending on the problem, you might even get to recover the old drive.
50  General Category / Report Bugs / Re: Should use Content-MD5 header on PUT on: July 29, 2008, 12:47:02 AM
When I add this, I want it to be compatible with the --no-md5 option, so that when a transfer is needed it will calculate the md5 anyway (but not bother for just comparing the two trees)
51  General Category / Report Bugs / Re: Should use Content-MD5 header on PUT on: July 25, 2008, 05:02:39 PM
I agree about the switch.  I know I need to add this feature.
52  General Category / Report Bugs / Re: Should use Content-MD5 header on PUT on: July 24, 2008, 05:05:55 PM
Is there any reason you have done
Quote
Base64.encode64(md5.digest)

rather than
Quote
md5.hexdigest

or maybe I don't understand the difference properly..?
53  General Category / Report Bugs / Re: Should use Content-MD5 header on PUT on: July 24, 2008, 05:01:29 PM
Warning: the patch is backwards.
54  General Category / Feature Requests / Re: --ignore-existing on: July 24, 2008, 01:38:18 AM
You could use 'find' to get only new files, and pipe that to s3cmd.  Not a one-click type solution, but if you're concerned about efficiency maybe that's ok.
55  General Category / Questions / Re: error: uninitialized constant S3::Base64 (NameError) on: July 23, 2008, 04:29:23 PM
Are you missing base64.rb in your ruby installation's "lib" area?  That's all I can think of; there's nothing s3sync adds or changes here, the b64 stuff is all straight from the AWS s3.rb file.
56  General Category / General Discussion / Re: SSL Certificate: Fatal Mistake! on: July 23, 2008, 09:53:21 AM
It's not even clear to me why I need to input a certificate, when the question is to determine the authenticity of the S3 server, not that of mine, but this is another question.

You have to specify the cert of the server *or* that of a trusted root; that is the way it determines authenticity of the server.  If you have a set of root certs on your system you may be able to point the program there instead of using the single approach.  Then it behaves more like a web browser like you expect.  This stuff is just non-trivial to use because it's not a complete interface.  Maybe you ought to try jungle disk?
57  General Category / General Discussion / Re: SSL Certificate: Fatal Mistake! on: July 22, 2008, 09:51:07 AM
Widely announced, including here:
http://s3sync.net/forum/index.php?topic=163.0

Other comments, check your system mails Wink
58  General Category / Questions / Re: uploading using signed URLs on: July 18, 2008, 11:09:18 AM
There's not any facility for it to input your own URLs like that.  It can only be used to generate the signed requests.
59  General Category / Questions / Re: Settings Expires for existing files? on: July 17, 2008, 03:17:31 PM
The right way to do this would involve using the s3 copy functionality, which is not something I've had time to look into.
60  General Category / Questions / Re: "list_bucket max-keys 200" error on: July 16, 2008, 12:12:30 PM
Good to know, thanks. Is it a bug that S3sync actually waits for way way more than 30 seconds sometimes?
It would be a bug, but I bet it's really just moving on and no other lines get printed.  You can also decrease the delay by setting a parameter (see readme)
Pages: 1 2 3 [4] 5 6 ... 25
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!