Restoring the PuppetDB .

0 votes

I am using Puppet Enterprise for config management. I had created a backup (using puppet-backup create command) of the PuppetDB in one backup file and the configuration, certificates, and code in another backup file. How can I restore them from the two separate backup files?

Jul 31 in Puppet by Sam
• 1,520 points
12 views

1 answer to this question.

0 votes

Yes,you could certainly restore them.

To restore PuppetDB from one backup file and restore configuration, certificates, and code from another backup file:

puppet-backup restore /mybackups/pe_backup_03032018.tgz --scope=puppetdb 
puppet-backup restore /mybackups/pe_backup_04042018.tgz --scope=config,certs,code

This will restore all your backed up data.

answered Jul 31 by Sirajul
• 19,670 points

Related Questions In Puppet

0 votes
1 answer

What is the use of etckeeper-commit-post and etckeeper-commit-pre on Puppet Agent?

Hey @Pallavi,  etckeeper-commit-post: In this configuration file you can ...READ MORE

answered Feb 15 in Puppet by Simran
73 views
0 votes
1 answer
0 votes
1 answer

How do I sign all the certificates together - Puppet on Ubuntu

Hey @Aryaa, use the following command to ...READ MORE

answered Feb 21 in Puppet by Adi
47 views
0 votes
1 answer
+13 votes
2 answers

Git management technique when there are multiple customers and need multiple customization?

Consider this - In 'extended' Git-Flow, (Git-Multi-Flow, ...READ MORE

answered Mar 26, 2018 in DevOps & Agile by DragonLord999
• 8,380 points
124 views
0 votes
1 answer
0 votes
2 answers

Where do i find the puppet configuration file?

The puppet.conf file is always located at $confdir/puppet.conf. Although ...READ MORE

answered Aug 9 in Puppet by Sirajul
• 19,670 points
41 views
0 votes
1 answer

Can somebody explain the Puppet Architecture?

Puppet is configured in an agent-master architecture, in ...READ MORE

answered Jul 24 in Puppet by Sirajul
• 19,670 points
24 views