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
• 6,260 points
1,019 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
• 59,230 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
1,158 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
730 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
978 views
+15 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 27, 2018 in DevOps & Agile by DragonLord999
• 8,450 points
4,058 views
+2 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
• 59,230 points
2,895 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
• 59,230 points
2,464 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP