diff options
author | Rob Crittenden <rcritten@redhat.com> | 2013-03-13 09:36:41 -0400 |
---|---|---|
committer | Rob Crittenden <rcritten@redhat.com> | 2013-04-12 09:59:17 -0400 |
commit | c8694cb19f2b0bd20a0b3fc9df7aacec3b23a928 (patch) | |
tree | c13c5965a41c328e9cae04530e550522ae49a678 /install/tools/ipa-replica-manage | |
parent | c0cdba78b01317a9ea5c423eda548a69ee046e26 (diff) | |
download | freeipa.git-c8694cb19f2b0bd20a0b3fc9df7aacec3b23a928.tar.gz freeipa.git-c8694cb19f2b0bd20a0b3fc9df7aacec3b23a928.tar.xz freeipa.git-c8694cb19f2b0bd20a0b3fc9df7aacec3b23a928.zip |
Full system backup and restore
This will allow one to backup and restore the IPA files and data. This
does not cover individual entry restoration.
http://freeipa.org/page/V3/Backup_and_Restore
https://fedorahosted.org/freeipa/ticket/3128
Diffstat (limited to 'install/tools/ipa-replica-manage')
-rwxr-xr-x | install/tools/ipa-replica-manage | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/install/tools/ipa-replica-manage b/install/tools/ipa-replica-manage index 636529ca..956fb2f1 100755 --- a/install/tools/ipa-replica-manage +++ b/install/tools/ipa-replica-manage @@ -827,6 +827,10 @@ def re_initialize(realm, thishost, fromhost, dirman_passwd): else: repl = replication.ReplicationManager(realm, fromhost, dirman_passwd) agreement = repl.get_replication_agreement(thishost) + + thisrepl.enable_agreement(fromhost) + repl.enable_agreement(thishost) + repl.force_sync(repl.conn, thishost) repl.initialize_replication(agreement.dn, repl.conn) |