ipa-backup(1)
πΎ ipa-backup β the glow-up for your IPA master
okay bestie, welcome to ipa-backup(1) from the IPA Manual Pages β yes, that IPA, the identity one, not the beer πΊ (tho honestly both deserve a backup). This lil tool backs up an IPA master so you don't have a main-character meltdown later. Let's get into it π
β¨ SYNOPSIS β¨
ipa-backup [OPTION]...
that's it. that's the whole vibe. options only, no positional args, we're not doing all that π
π¦ DESCRIPTION π¦
so there are two kinds of backups: full and data-only. pick your fighter.
the backup is optionally encrypted using either the default root GPG key or a named key. and listen β no passphrase is supported. none. zero. not a thing. don't @ me π
backups get stored in a subdirectory inside /var/lib/ipa/backup. cute, organized, we love a system.
the naming convention for full backups is:
ipa-full-YEAR-MM-DD-HH-MM-SS
and it's in the GMT time zone. iconic consistency β¨
the naming convention for data backups is:
ipa-data-YEAR-MM-DD-HH-MM-SS
also in the GMT time zone. no cap.
inside that subdirectory there's a file, header, that describes the backup β it tells you the type, the system, the date of backup, the version of IPA, the version of the backup, and the services on the master. it's basically the backup's little ID card πͺͺπ
β οΈ okay important, bestie: a backup can not be restored on another host. and a backup can not be restored in a different version of IPA.
those two are hard nos. periodt. π
πΈ OPTIONS πΈ
--dataβ back up data only. the default is to back up all IPA files plus data, so this is you choosing the lighter path π--gpgβ encrypt the backup file. set theGNUPGHOMEenvironment variable if you wanna use a custom keyring andgpg2configuration π--logsβ include the IPA service log files in the backup. receipts, preserved π--onlineβ perform the backup on-line. requires the--dataoption (they're a package deal, iykyk) π--disable-role-checkβ perform the backup even if this host does not have all the roles in use in the cluster. this is not recommended π proceed with caution, babe-v,--verboseβ print debugging information. loud and proud π£οΈ-d,--debugβ alias for--verbose. same energy, different letter β¨-q,--quietβ output only errors. silent but deadly accurate π€«--log-file=FILEβ log to the given file. write it down, keep the receipts π
π EXIT STATUS π
0β if the command was successful π slay1β if an error occurred π2β if IPA is not configured π«
π§ ENVIRONMENT VARIABLES π§
GNUPGHOMEβ use custom GnuPG keyring and settings (default:~/.gnupg). it's giving "home but make it keys" π π
π FILES π
/var/lib/ipa/backup- the default directory for storing backup files πΎ
/var/log/ipabackup.log- the log file for backups π
π SEE ALSO π
ipa-restore(1)β the part where you actually get it back, bestie πgpg2(1)β the encryption bestie π
and that's the whole page, babe β go forth and back up responsibly β¨ this lil manual is brought to you by IPA and dated Mar 22 2013, so it's lowkey vintage but highkey still valid. take care of your master, drink water, and always keep a header file around π«Άπ
π¦ where this page comes from
- centos-stream 10: ipa-server 4.13.4-1.el10 Β· GPL-3.0-or-later
- centos-stream 9: ipa-server 4.13.4-1.el9 Β· GPL-3.0-or-later
- fedora 43: freeipa-server 4.12.5-3.fc43 Β· GPL-3.0-or-later
- fedora 43: freeipa-server 4.13.4-2.fc43
- fedora 43: freeipa-server 4.13.4-3.fc43 Β· GPL-3.0-or-later
- fedora 44: freeipa-server 4.13.1-9.fc44 Β· GPL-3.0-or-later
- fedora 44: freeipa-server 4.13.4-2.fc44
- fedora 44: freeipa-server 4.13.4-3.fc44 Β· GPL-3.0-or-later
- Copyright (C) 2013 Red Hat, Inc
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms