Restore a backup in a multimaster replication topology

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>If someone delete data by doing a wrong operation, and this deleting is
>replicated in all the replicas, I want to restore the lost data from a
>backup, and I want the entries to have the same nsuniqueid than before. Of
>course, I want this import to be replicated to all the replicas. If
>possible, I want to be able to restore a subtree of the directory, and not
>the whole.

The way I handle this in a multi-master setup is:

1. Restore machine 1 from backup
2. Re-initialize machines 2-4 from machine 1

I have written a perl script (and a module) which completely handles an 
MMR restore job over-the-wire. Restoring a 4-way MMR setup with 10k 
entries takes less than 5 minutes.

I am the process of trying to open-source this tool (among others), but 
it may take a long time or may not happen at all. You can find out how 
to write it yourself by driving the operations with the admin console 
and sniffing the traffic with ethereal.

Only suffixes can be restored from backup. If you have built your 
subtrees as suffixes, then you can restore at the subtree level.

BR,
Mike




[Index of Archives]     [Fedora User Discussion]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora News]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora QA]     [Fedora Triage]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Yosemite Photos]     [Linux Apps]     [Maemo Users]     [Gnome Users]     [KDE Users]     [Fedora Tools]     [Fedora Art]     [Fedora Docs]     [Maemo Users]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Fedora ARM]

  Powered by Linux