MediaWiki API result
This is the HTML representation of the JSON format. HTML is good for debugging, but is unsuitable for application use.
Specify the format parameter to change the output format. To see the non-HTML representation of the JSON format, set format=json.
See the complete documentation, or the API help for more information.
{
"compare": {
"fromid": 1,
"fromrevid": 1,
"fromns": 0,
"fromtitle": "Main Page",
"toid": 2,
"torevid": 2,
"tons": 0,
"totitle": "Bare Metal Recovery of Linux System Via Bacula",
"*": "<tr><td colspan=\"2\" class=\"diff-lineno\" id=\"mw-diff-left-l1\">Line 1:</td>\n<td colspan=\"2\" class=\"diff-lineno\">Line 1:</td></tr>\n<tr><td class=\"diff-marker\" data-marker=\"\u2212\"></td><td class=\"diff-deletedline diff-side-deleted\"><div><del class=\"diffchange diffchange-inline\"><strong>MediaWiki has been successfully installed.</strong></del></div></td><td class=\"diff-marker\" data-marker=\"+\"></td><td class=\"diff-addedline diff-side-added\"><div><ins class=\"diffchange diffchange-inline\">[[Category:Linux]]</ins></div></td></tr>\n<tr><td class=\"diff-marker\"></td><td class=\"diff-context diff-side-deleted\"><br/></td><td class=\"diff-marker\"></td><td class=\"diff-context diff-side-added\"><br/></td></tr>\n<tr><td class=\"diff-marker\" data-marker=\"\u2212\"></td><td class=\"diff-deletedline diff-side-deleted\"><div><del class=\"diffchange diffchange-inline\">Consult </del>the <del class=\"diffchange diffchange-inline\">[//meta</del>.<del class=\"diffchange diffchange-inline\">wikimedia.org/wiki/Help</del>:<del class=\"diffchange diffchange-inline\">Contents User's Guide] for information on using the wiki software.</del></div></td><td class=\"diff-marker\" data-marker=\"+\"></td><td class=\"diff-addedline diff-side-added\"><div><ins class=\"diffchange diffchange-inline\">this is </ins>the <ins class=\"diffchange diffchange-inline\">method i used to perform a bare-metal recovery of a kvm virtual linux system</ins>. <ins class=\"diffchange diffchange-inline\"> maybe technically is not baremetal, because i used a temporary install to get my partitions setup prior to files restore, but either way this method worked for me</ins>:</div></td></tr>\n<tr><td class=\"diff-marker\"></td><td class=\"diff-context diff-side-deleted\"><br/></td><td class=\"diff-marker\"></td><td class=\"diff-context diff-side-added\"><br/></td></tr>\n<tr><td class=\"diff-marker\" data-marker=\"\u2212\"></td><td class=\"diff-deletedline diff-side-deleted\"><div><del class=\"diffchange diffchange-inline\">== Getting started ==</del></div></td><td class=\"diff-marker\" data-marker=\"+\"></td><td class=\"diff-addedline diff-side-added\"><div><ins class=\"diffchange diffchange-inline\">step 1 - perform a temporary install using a anaconda-ks.cfg file that contains the same partitions sizes and volume group names.\u00a0 this is critical because the grub.conf file that gets reloaded is going to have the old names, and this will cut down on your headaches of getting the restored system up and running.\u00a0 if you can save a copy of the anaconda-ks.cfg file from the /root directory of the subject server, it will be helpful now.</ins></div></td></tr>\n<tr><td class=\"diff-marker\" data-marker=\"\u2212\"></td><td class=\"diff-deletedline diff-side-deleted\"><div><del class=\"diffchange diffchange-inline\">* [</del>//<del class=\"diffchange diffchange-inline\">www</del>.<del class=\"diffchange diffchange-inline\">mediawiki</del>.<del class=\"diffchange diffchange-inline\">org</del>/<del class=\"diffchange diffchange-inline\">wiki</del>/<del class=\"diffchange diffchange-inline\">Manual</del>:<del class=\"diffchange diffchange-inline\">Configuration_settings Configuration settings list]</del></div></td><td class=\"diff-marker\" data-marker=\"+\"></td><td class=\"diff-addedline diff-side-added\"><div>\u00a0</div></td></tr>\n<tr><td class=\"diff-marker\" data-marker=\"\u2212\"></td><td class=\"diff-deletedline diff-side-deleted\"><div>* <del class=\"diffchange diffchange-inline\">[</del>//<del class=\"diffchange diffchange-inline\">www</del>.<del class=\"diffchange diffchange-inline\">mediawiki</del>.<del class=\"diffchange diffchange-inline\">org</del>/<del class=\"diffchange diffchange-inline\">wiki</del>/<del class=\"diffchange diffchange-inline\">Manual:FAQ MediaWiki FAQ]</del></div></td><td class=\"diff-marker\" data-marker=\"+\"></td><td class=\"diff-addedline diff-side-added\"><div><ins class=\"diffchange diffchange-inline\">step 2 - boot to rescue mode, chroot to </ins>/<ins class=\"diffchange diffchange-inline\">mnt</ins>/<ins class=\"diffchange diffchange-inline\">sysimage and yum install bacula-client.\u00a0 set the proper password and client name that your bacula director will be expecting of the subject server.</ins></div></td></tr>\n<tr><td class=\"diff-marker\" data-marker=\"\u2212\"></td><td class=\"diff-deletedline diff-side-deleted\"><div><del class=\"diffchange diffchange-inline\">* [https:</del>//<del class=\"diffchange diffchange-inline\">lists</del>.<del class=\"diffchange diffchange-inline\">wikimedia.org</del>/<del class=\"diffchange diffchange-inline\">mailman</del>/<del class=\"diffchange diffchange-inline\">listinfo</del>/<del class=\"diffchange diffchange-inline\">mediawiki</del>-<del class=\"diffchange diffchange-inline\">announce MediaWiki release mailing list]</del></div></td><td class=\"diff-marker\" data-marker=\"+\"></td><td class=\"diff-addedline diff-side-added\"><div>\u00a0</div></td></tr>\n<tr><td class=\"diff-marker\" data-marker=\"\u2212\"></td><td class=\"diff-deletedline diff-side-deleted\"><div><del class=\"diffchange diffchange-inline\">* [</del>//<del class=\"diffchange diffchange-inline\">www</del>.<del class=\"diffchange diffchange-inline\">mediawiki</del>.<del class=\"diffchange diffchange-inline\">org</del>/<del class=\"diffchange diffchange-inline\">wiki/Localisation#Translation_resources Localise MediaWiki for your language]</del></div></td><td class=\"diff-marker\" data-marker=\"+\"></td><td class=\"diff-addedline diff-side-added\"><div><ins class=\"diffchange diffchange-inline\">step 3 - on the bconsole, give the command 'restore all'.\u00a0 choose selection "5: Select the most recent backup for a client", and then choose the subject server.\u00a0 bacula will present the most current full backup and then any incremental backups that happened since</ins>. <ins class=\"diffchange diffchange-inline\"> 'restore' then drops you to the file selection shell, type 'done' since we have nothing to add or remove since this is a full restore</ins>. <ins class=\"diffchange diffchange-inline\"> now you are sent to a list of parameters that you can change before the restore is run, you need to change '9: Where' from </ins>/<ins class=\"diffchange diffchange-inline\">tmp</ins>/<ins class=\"diffchange diffchange-inline\">bacula-restores to /.\u00a0 then type 'yes' to confirm restore job to continue.</ins></div></td></tr>\n<tr><td colspan=\"2\" class=\"diff-side-deleted\"></td><td class=\"diff-marker\" data-marker=\"+\"></td><td class=\"diff-addedline diff-side-added\"><div>\u00a0</div></td></tr>\n<tr><td colspan=\"2\" class=\"diff-side-deleted\"></td><td class=\"diff-marker\" data-marker=\"+\"></td><td class=\"diff-addedline diff-side-added\"><div><ins class=\"diffchange diffchange-inline\">NOTES on step 3: </ins></div></td></tr>\n<tr><td colspan=\"2\" class=\"diff-side-deleted\"></td><td class=\"diff-marker\" data-marker=\"+\"></td><td class=\"diff-addedline diff-side-added\"><div><ins class=\"diffchange diffchange-inline\">if this is a physical to virtual machine conversion, do yourself a favor and unmark these files from the bacula full restore</ins>:</div></td></tr>\n<tr><td colspan=\"2\" class=\"diff-side-deleted\"></td><td class=\"diff-marker\" data-marker=\"+\"></td><td class=\"diff-addedline diff-side-added\"><div><ins class=\"diffchange diffchange-inline\"> /etc/sysconfig/network-scripts/ifcfg-eth</ins>*</div></td></tr>\n<tr><td colspan=\"2\" class=\"diff-side-deleted\"></td><td class=\"diff-marker\" data-marker=\"+\"></td><td class=\"diff-addedline diff-side-added\"><div><ins class=\"diffchange diffchange-inline\"> </ins>/<ins class=\"diffchange diffchange-inline\">etc</ins>/<ins class=\"diffchange diffchange-inline\">udev/rules</ins>.<ins class=\"diffchange diffchange-inline\">d/70-persistant-net</ins>.<ins class=\"diffchange diffchange-inline\">rules</ins></div></td></tr>\n<tr><td colspan=\"2\" class=\"diff-side-deleted\"></td><td class=\"diff-marker\" data-marker=\"+\"></td><td class=\"diff-addedline diff-side-added\"><div><ins class=\"diffchange diffchange-inline\"> </ins>/<ins class=\"diffchange diffchange-inline\">boot</ins>/<ins class=\"diffchange diffchange-inline\">grub/device.map</ins></div></td></tr>\n<tr><td colspan=\"2\" class=\"diff-side-deleted\"></td><td class=\"diff-marker\" data-marker=\"+\"></td><td class=\"diff-addedline diff-side-added\"><div>\u00a0</div></td></tr>\n<tr><td colspan=\"2\" class=\"diff-side-deleted\"></td><td class=\"diff-marker\" data-marker=\"+\"></td><td class=\"diff-addedline diff-side-added\"><div><ins class=\"diffchange diffchange-inline\">step 4 - wait.\u00a0 you can use the command "stat xxx" (where xxx is the jobid of the restore job) to keep track of progress.</ins></div></td></tr>\n<tr><td colspan=\"2\" class=\"diff-side-deleted\"></td><td class=\"diff-marker\" data-marker=\"+\"></td><td class=\"diff-addedline diff-side-added\"><div>\u00a0</div></td></tr>\n<tr><td colspan=\"2\" class=\"diff-side-deleted\"></td><td class=\"diff-marker\" data-marker=\"+\"></td><td class=\"diff-addedline diff-side-added\"><div><ins class=\"diffchange diffchange-inline\">step 5 - when the job finishes, on the subject server, edit the </ins>/<ins class=\"diffchange diffchange-inline\">etc</ins>/<ins class=\"diffchange diffchange-inline\">fstab file</ins>. <ins class=\"diffchange diffchange-inline\"> i removed the UUID for boot and replaced it with </ins>/<ins class=\"diffchange diffchange-inline\">dev</ins>/<ins class=\"diffchange diffchange-inline\">vda1, because the UUID no longer matches from the original server.\u00a0 if you want to dig out the new UUID of </ins>/<ins class=\"diffchange diffchange-inline\">boot you can (the command is 'blkid'), but i just gave it the device.</ins></div></td></tr>\n<tr><td colspan=\"2\" class=\"diff-side-deleted\"></td><td class=\"diff-marker\" data-marker=\"+\"></td><td class=\"diff-addedline diff-side-added\"><div>\u00a0</div></td></tr>\n<tr><td colspan=\"2\" class=\"diff-side-deleted\"></td><td class=\"diff-marker\" data-marker=\"+\"></td><td class=\"diff-addedline diff-side-added\"><div><ins class=\"diffchange diffchange-inline\">step 6 - reinstall grub with this command: grub</ins>-<ins class=\"diffchange diffchange-inline\">install </ins>/<ins class=\"diffchange diffchange-inline\">dev</ins>/<ins class=\"diffchange diffchange-inline\">vda</ins>. <ins class=\"diffchange diffchange-inline\"> delete the file /etc/udev/rules</ins>.<ins class=\"diffchange diffchange-inline\">d</ins>/<ins class=\"diffchange diffchange-inline\">70-persistant-net.rules.</ins></div></td></tr>\n<tr><td colspan=\"2\" class=\"diff-side-deleted\"></td><td class=\"diff-marker\" data-marker=\"+\"></td><td class=\"diff-addedline diff-side-added\"><div>\u00a0</div></td></tr>\n<tr><td colspan=\"2\" class=\"diff-side-deleted\"></td><td class=\"diff-marker\" data-marker=\"+\"></td><td class=\"diff-addedline diff-side-added\"><div><ins class=\"diffchange diffchange-inline\">exit chroot, and reboot.</ins></div></td></tr>\n"
}
}