Hi again. It's probably a better idea to use a dedicated backup tool to do this. Puppet wasn't designed as a backup tool. It can likely be setup to manage the backup software and such. I personally do backups with amanda which I manage with puppet using a module I found and some extra classes to generate some exported resources to configure the actual backups on the amanda server. I use another tool to do mysql backups it's called xtrabackup and it only does MySQL databases. I then use rsync (Also managed with puppet) to copy those backups to a backup server.
Pete. On 4 December 2012 14:36, Gary Larizza <g...@puppetlabs.com> wrote: > Cristy, > > Puppet doesn't have a built-in way to grab data from the client-side and > save it on the Master. There IS the Filebucket ( > http://docs.puppetlabs.com/references/latest/type.html#filebucket > http://docs.puppetlabs.com/man/filebucket.html) but that's not something > I would feel comfortable doing (it's better for backing up a file before > Puppet replaces the file). > > Having said that, you could have exec resources for each task (creating a > database dump, sending the task to a remote server) that would model this, > but you would have to specify what each task means (i.e. HOW it gets the > data dump and HOW it sends it back to the Master). > > Does that make sense? > > -- > Gary Larizza > Sent with Sparrow <http://www.sparrowmailapp.com/?sig> > > On Monday, December 3, 2012 at 11:33 AM, cristy wrote: > > > > Hi, > > I'm newbie to puppet, and I was wondering if it is possible to get > files from nodes to master, not only in uniderictional way like master to > agent nodes. > To be more specific, I need to create dumps of client's database and > get it back to the server. > > Thank you! > > > -- > You received this message because you are subscribed to the Google Groups > "Puppet Users" group. > To view this discussion on the web visit > https://groups.google.com/d/msg/puppet-users/-/mLCjSepBKoIJ. > To post to this group, send email to puppet-users@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. > > > -- > You received this message because you are subscribed to the Google Groups > "Puppet Users" group. > To post to this group, send email to puppet-users@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. > -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@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.