From: Jens Ø. P. <oe...@gm...> - 2011-03-17 14:34:09
|
On Mar 17, 2011, at 3:23 PM, Wolfgang Meier wrote: >> Wolfgang - this sounds useful for folks like Jens who use the backup >> utility. At the same time, is whitespace preservation one of the >> goals of the backup utility? Is WebDAV perhaps the better route for >> this use case? > > The backup utility dumps the XML as it is stored internally. No extra > serialization settings are applied. The backup is not really intended > for human consumption and is thus not the best tool if you want to > sync application code to the file system. > > You are right that using the WebDAV or REST interfaces is a better > approach for this use case. The XML is pretty printed and you don't > have to remove the __contents__.xml files afterwards. > > What I thought was to add a "sync2fs" utility, which could be simpler > than a backup and compares timestamps to determine which files need to > be written to disk. I would love that: I have to sit and copy these files manually from my backup (from now on: webdav copy) to the webapp folder, level by level, file by file! Jens > > Wolfgang |