Thanks Chuck. What I am playing at here is I want to create an rsync like script where I can save permissions, owner uid/gid and mode (maybe even xattrs), so that a restore will work with these.
Swift makes this very easy with the object metadata - however, running a sync would require i HEAD request for each file. I was looking to optimize this. Med venlig hilsen / Best regards Morten Møller Riis m...@gigahost.dk Gigahost Gammeltorv 8, 2. 1457 København K On Dec 13, 2012, at 4:40 PM, Chuck Thier <cth...@gmail.com> wrote: > The metadata for objects is stored at the object level, not in the > container dbs. Reporting metadata information for container listings > would require the server to HEAD every object in the container, which > would cause too much work on the backend. > > -- > Chuck > > On Wed, Dec 12, 2012 at 7:01 AM, Morten Møller Riis <m...@gigahost.dk> wrote: >> Hi Guys >> >> I was wondering if there is any possibility of getting metadata output in >> the listing when you issue a GET on a container. >> >> At the moment it returns eg.: >> >> <object> >> <name>10620_1b8b2553c6eb9987ff647d69e3181f9eeb3a43ef.jpg</name> >> <hash>e453fcd7ff03e9e0e460555e875b1da1</hash> >> <bytes>9272</bytes> >> <content_type>image/jpeg</content_type> >> <last_modified>2012-09-20T23:27:34.473230</last_modified> >> </object> >> >> If I have X-Object-Meta-Something on an object it would be nice to see it >> here as well. I know I can get it by doing a HEAD request. But this gets >> heavy for many objects. >> >> Any suggestions? >> >> Best regards >> Morten Møller Riis >> >> >> >> >> >> >> Med venlig hilsen / Best regards >> Morten Møller Riis >> m...@gigahost.dk >> >> Gigahost >> Gammeltorv 8, 2. >> 1457 København K >> >> >> >> >> >> _______________________________________________ >> Mailing list: https://launchpad.net/~openstack >> Post to : openstack@lists.launchpad.net >> Unsubscribe : https://launchpad.net/~openstack >> More help : https://help.launchpad.net/ListHelp >>
_______________________________________________ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp