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

Login with username, password and session length
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Does s3sync preserve metadata?  (Read 5800 times)
bbrown
Newbie
*
Posts: 5


View Profile
« on: April 28, 2007, 12:24:02 AM »

Does s3sync store a file's metadata, such as owner, group, permissions, ctime, mtime, and so forth?
Logged
ferrix
Sr. Member
****
Posts: 363


(I am greg13070 on AWS forum)


View Profile
« Reply #1 on: April 28, 2007, 02:37:19 AM »

On unix-like systems where the ruby permissions and ownership methods work, those data are preserved.  I don't preserve timestamps.
Logged
bbrown
Newbie
*
Posts: 5


View Profile
« Reply #2 on: April 28, 2007, 04:16:12 AM »

Can I use s3cmd to retrieve a file from S3 and restore permissions and ownership? It would be similar to the -p option for rsync, cp, and tar.
Logged
ferrix
Sr. Member
****
Posts: 363


(I am greg13070 on AWS forum)


View Profile
« Reply #3 on: April 28, 2007, 05:23:53 AM »

s3cmd doesn't (yet?) have the ability to do operations on that high a level.  It is really a very thin wrapper around s3 operations, much like the other "s3 shell" apps out there.
Logged
professionalnerd
Newbie
*
Posts: 5


View Profile
« Reply #4 on: May 02, 2007, 05:32:41 AM »

Since my question is related to metadata I thought I'd bump this thread rather than start a new one.  Smiley

Where / how is the metadata stored?

There has been mention of using S3Pilot to browse the data - is everything stored in such a way that any other S3 tool should be able to browse the files?

Thanks,

Jon
Logged
ferrix
Sr. Member
****
Posts: 363


(I am greg13070 on AWS forum)


View Profile
« Reply #5 on: May 02, 2007, 06:04:11 PM »

There is no standard across tools, not by a long shot. 

The meta data is simply S3 metadata.  I use the keys "owner", "group", and "permissions", and as contents store the numeric values for them as returned by stat.

It is becoming my medium-term vision to create a GUI interface of my own.  I like the idea of 's3fox' but it's a closed source tool and I think that's really hamstringing its development.  Missing some really important features...  But the benefit is that XUL and javascript are really easy to use, and everyone loves firefox!

Logged
professionalnerd
Newbie
*
Posts: 5


View Profile
« Reply #6 on: May 04, 2007, 09:29:27 AM »

Ahhh, interesting.  No standards being set out is a bit of a disappointment - seems like just asking for problems!  I imagine it's paths and defining directories, etc where the confusion comes in?

Yes, s3fox is what I've been using so far as it seems like a nice light weight tool and I like anything that I can use on my Mac at home and on my work PC (extensions avoid installation problems with locked down desktops too!), real shame it's closed source.  Like you say, it could do with the benefit of some extra help.  One of the most annoying things is that listing long buckets can lock my browser up for quite a while sometimes.

I love the command line, but sometimes you don't feel like doing anything more than point and click eh!
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!