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, 2019 in Puppet by Sam
• 5,330 points
68 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, 2019 by Sirajul
• 50,440 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, 2019 in Puppet by Simran
174 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, 2019 in Puppet by Adi
78 views
0 votes
1 answer

Error while enabling the official puppet lab collection repository

Hey @Alia, try executing these commands and ...READ MORE

answered Feb 25, 2019 in Puppet by Nandita
46 views
+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,400 points
418 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, 2019 in Puppet by Sirajul
• 50,440 points
94 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, 2019 in Puppet by Sirajul
• 50,440 points
177 views