What do I need to backup if capsule needs to be reinstalled?

What if I need to reinstall Capsule for some reason? What do I need to
backup so I can restore after the re-installation?

  1. I don't care about the pulp contents since I can re-sync it back.
  2. There are clients connected to capsule. If I re-install, would the cert
    change and affect the clients? The clients are already placed in their
    hostgroups and host-collection and I don't want to lose the configuration.
  3. Is there anything else to backup and restore?

The answer I got to the same question from RH support is that capsule
doesn't need to be backedup. You just reinstall it using the same ip.

··· On Wednesday, April 26, 2017 at 12:42:45 AM UTC+2, George Lim wrote: > > What if I need to reinstall Capsule for some reason? What do I need to > backup so I can restore after the re-installation? > > 1. I don't care about the pulp contents since I can re-sync it back. > 2. There are clients connected to capsule. If I re-install, would the cert > change and affect the clients? The clients are already placed in their > hostgroups and host-collection and I don't want to lose the configuration. > 3. Is there anything else to backup and restore? > > >

Well I'd backup DHCP, DNS and TFTP data for sure, because getting
these back is some work which is I believe not documented yet. There
are some scripts floating around which can be used to reconstruct
DHCP, DNS and/or TFTP configurations but I'd rather pull this out from
backups.

In ideal world, you have both Foreman and Smart Proxies as VMs doing
regular snapshots and Pulp data on iSCSI or any other SAN remote
volumes.

LZ

··· On Thu, Apr 27, 2017 at 5:31 PM, marco giovannini wrote: > The answer I got to the same question from RH support is that capsule > doesn't need to be backedup. You just reinstall it using the same ip. > > > On Wednesday, April 26, 2017 at 12:42:45 AM UTC+2, George Lim wrote: >> >> What if I need to reinstall Capsule for some reason? What do I need to >> backup so I can restore after the re-installation? >> >> 1. I don't care about the pulp contents since I can re-sync it back. >> 2. There are clients connected to capsule. If I re-install, would the cert >> change and affect the clients? The clients are already placed in their >> hostgroups and host-collection and I don't want to lose the configuration. >> 3. Is there anything else to backup and restore? >> >> > -- > You received this message because you are subscribed to the Google Groups > "Foreman users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to foreman-users+unsubscribe@googlegroups.com. > To post to this group, send email to foreman-users@googlegroups.com. > Visit this group at https://groups.google.com/group/foreman-users. > For more options, visit https://groups.google.com/d/optout.


Later,
Lukas @lzap Zapletal