On 12/22/2010 04:28 AM, Nicolas Aizier wrote: > Hi everyone, > > I've got several questions that are most probably obvious to some of > you but I'm actually a bit 'in the fog' about filebucket. > > backup are done on a md5 basis so 1 file is generated whatever the > number of clients if it's the same md5. That a really good option. > On the other hand let's say that after 3 months I need to restore a / > etc/ntp.conf file for a specific server. How the hell I know the old > file md5 checksum ? > I'm actually using puppet dashboard and I'll not open all the reports > to find the md5 checksum, and as the file might have been taken from > another server perhaps the checksum didn.t even appear in the server > reports .... > > Hope you see my point. From my actual point of view it's a great > backup tool but restoring seems a bit tricky. But I'm sure someone > will enlighten my soon since everything is really good in puppet so I > guess problem come from me as usual ;-)
Hi, those are very good points, actually. If you don't have the logs anymore (and you probably don't), restoring is indeed tricky. Here's what I do in that case: 1. grep through all /var/lib/puppet/bucket/.../paths files for the filename in question 2. sort the resulting subdirs by mtime 3. find the closest one to my mark 4. huzzah Maybe there are already some wrappers out there for this, but it's a rare use case for me so I'm content as is. ...or maybe I've bein Doing It Wrong until now and someone else can tell us now. Cheers, Felix -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-us...@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.