- Timestamp:
- Feb 23, 2017, 2:05:46 AM (8 years ago)
- Location:
- branches/3.3
- Files:
-
- 12 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3.3/contrib/mkcd/setup
r1526 r3653 764 764 #fi 765 765 #LogIt "" 766 LogIt "Log in as root and type 'mondoarchive' to backup your PC."766 LogIt "Log in as root and type 'mondoarchive' to backup your machine" 767 767 LogIt "" 768 768 echo -en "Press ENTER to finish." -
branches/3.3/mindi/README.bootparam
r3175 r3653 10 10 denymods List of modules to NOT load (using denymods="mod1 mod2") 11 11 donteject mondorestore will not eject the CD 12 Useful if your PC's case has a concealed CD-ROM drive12 Useful if your machine's case has a concealed CD-ROM drive 13 13 excludedevs Exclude those devices from restoration process 14 14 No LVM action done such as pvcreate, and no partitioning -
branches/3.3/mindi/mindi
r3652 r3653 1936 1936 echo -en "FYI, this is _not_ a MondoRescue CD.\n" 1937 1937 if [ -e "$MINDI_LIB/memtest.img" ] ; then 1938 echo -en "Type 'memtest' <Enter> to test your PC's memory intensively.\nJust press <Enter> to go to the main test menu.\n"1938 echo -en "Type 'memtest' <Enter> to test your machine's memory intensively.\nJust press <Enter> to go to the main test menu.\n" 1939 1939 fi 1940 1940 else … … 3585 3585 3586 3586 [ -e "$MINDI_LIB/memtest.img" ] && BOOT_MEDIA_MESSAGE="$BOOT_MEDIA_MESSAGE\n\ 3587 ...Or type 'memtest' to test your PC's RAM thoroughly.\n"3587 ...Or type 'memtest' to test your machine's RAM thoroughly.\n" 3588 3588 3589 3589 if [ _"$MONDO_SHARE" = _"" ]; then -
branches/3.3/mindi/rootfs/etc/init.d/rcS
r3639 r3653 59 59 60 60 GetShell() { 61 echo -en "Type 'exit' to reboot the PC\n"61 echo -en "Type 'exit' to reboot the machine\n" 62 62 umount -d /mnt/cdrom 2> /dev/null 63 63 mount / -o rw,remount > /dev/null 2> /dev/null -
branches/3.3/mondo-doc/mondoarchive.8
r3429 r3653 28 28 [ 29 29 .I options 30 ] : backup your PC30 ] : backup your machine 31 31 .br 32 32 .B mondoarchive \-V … … 40 40 backs up a subset of your files, your entire filesystem, or even images of 41 41 non-Linux filesystems to CD's, tape, ISO images or an NFS mount. In the event of 42 catastrophic data loss, you will be able to restore everything, taking a PC from43 bare metal to its original state if necessary.42 catastrophic data loss, you will be able to restore everything, taking a 43 machine from bare metal to its original state if necessary. 44 44 45 45 .PP … … 455 455 456 456 .BI DVD: 457 Backup PCusing DVD Media:457 Backup machine using DVD Media: 458 458 .br 459 459 .I "mondoarchive -OVr -d /dev/scd0 -gF -s 4480m" … … 506 506 507 507 .BI RAID: 508 Backup PCto a Software Raid mount point, iso size 700mb:508 Backup machine to a Software Raid mount point, iso size 700mb: 509 509 .br 510 510 .I "mondoarchive -O -s 700m -d /mnt/raid" -
branches/3.3/mondo-doc/mondorescue-howto.sgml
r3542 r3653 568 568 unmount it, and create a boot CD to allow you to restore from 569 569 scratch if necessary. To reassure yourself that you will be able to 570 restore from the NFS share even if your PCis wiped, please boot570 restore from the NFS share even if your machine is wiped, please boot 571 571 from the Mindi CD and type 'compare'. The on-screen instructions 572 572 from that point on should be sufficient.</para> … … 1435 1435 whatever your CD writer's SCSI node is; usually, it is 0,0,0) to 1436 1436 the call.</para> 1437 <para>Please insert the first disk in the writer while the PCis1437 <para>Please insert the first disk in the writer while the machine is 1438 1438 chugging away. If Mondo needs additional CD-R(W) then it will ask 1439 1439 for them.</para> … … 1888 1888 is very reliable. 1889 1889 </para> 1890 <para>If you find that you cannot make your PCboot from the CD,1890 <para>If you find that you cannot make your machine boot from the CD, 1891 1891 take heart: the first backup media of each set contains disk 1892 1892 images to give you the same functionality as this media (minus the … … 1916 1916 1917 1917 <para>If the CD is not found during the initial restore CD boot 1918 attempt, reboot the PCa second time prior to reporting failure.1918 attempt, reboot the machine a second time prior to reporting failure. 1919 1919 Occasional timing errors and hardware/software/system conflicts do 1920 1920 occur.</para> … … 2334 2334 <title>Advanced</title> 2335 2335 <para>It is now possible to restore to a live filesystem using 2336 Mondo. In other words, you do not have to boot your PCfrom your2336 Mondo. In other words, you do not have to boot your machine from your 2337 2337 media in order to restore files. Mondo was originally designed 2338 2338 for disaster recovery - situations in which you cannot boot your 2339 PC. If you can boot your PC, it is not really a disaster, is it? :)2339 machine. If you can boot your machine, it is not really a disaster, is it? :) 2340 2340 Well, if you have wiped out your priceless collection of "MTV's 2341 2341 Bjork Unplugged" MP3's, perhaps it is. Anyway, just type this as … … 2463 2463 </listitem> 2464 2464 <listitem> 2465 <para>What sort of PCyou are using, including hard disk configurations (results of dmidecode, lshw, fdisk -l are useful here)</para>2465 <para>What sort of machine you are using, including hard disk configurations (results of dmidecode, lshw, fdisk -l are useful here)</para> 2466 2466 </listitem> 2467 2467 </itemizedlist> … … 2500 2500 The more distributions we support, the more moving targets we have to 2501 2501 hit. Please bear this in mind when e-mailing the list. :) If you 2502 would like to help us by beta-testing Mondo (or Mindi) on your PC2502 would like to help us by beta-testing Mondo (or Mindi) on your machine 2503 2503 then we would be very interested in working with you to work around 2504 2504 the eccentricities of your Linux distro. However, rest assured, 90% … … 2627 2627 <qandaentry> 2628 2628 <question><para>Q: Can I create a Mondo CD and then use 2629 it to create an archive of any OS on any PC?</para></question>2629 it to create an archive of any OS on any machine?</para></question> 2630 2630 <answer> 2631 2631 <para>A: Not yet. You can use Mondo to backup Linux or … … 2703 2703 support. Take a look at <link linkend="overview-sysrq-kernelreq">Linux 2704 2704 Kernel support</link> to see what your kernel must support. (Of 2705 course, if your PChas less than 64MB of RAM, you could always...2705 course, if your machine has less than 64MB of RAM, you could always... 2706 2706 what's the phrase? I know, upgrade your RAM!)</para> 2707 2707 </answer> -
branches/3.3/mondo-doc/mondorestore.8
r3155 r3653 26 26 .SH SYNOPSIS 27 27 .B mondorestore [\-p prefix][\-K loglevel][\-i][\-U]... 28 : restore your PC28 : restore your machine 29 29 30 30 .SH DESCRIPTION -
branches/3.3/mondo/src/common/libmondo-devices.c
r3648 r3653 319 319 /** 320 320 * Determine whether a non-Microsoft partition exists on any connected hard drive. 321 * @return TRUE (there's a Linux/FreeBSD partition) or FALSE (Microsoft has taken over yet another innocent PC).321 * @return TRUE (there's a Linux/FreeBSD partition) or FALSE (Microsoft has taken over yet another innocent machine). 322 322 */ 323 323 bool does_nonMS_partition_exist(void) … … 2193 2193 which_backup_media_type(bkpinfo->restore_data); 2194 2194 if (bkpinfo->backup_media_type == none) { 2195 log_to_screen("User has chosen not to backup the PC");2195 log_to_screen("User has chosen not to backup the machine"); 2196 2196 finish(1); 2197 2197 } … … 2245 2245 } 2246 2246 if ((compression_type = which_compression_type()) == NULL) { 2247 log_to_screen("User has chosen not to backup the PC");2247 log_to_screen("User has chosen not to backup the machine"); 2248 2248 finish(1); 2249 2249 } 2250 2250 2251 2251 if ((bkpinfo->compression_level = which_compression_level()) == -1) { 2252 log_to_screen("User has chosen not to backup the PC");2252 log_to_screen("User has chosen not to backup the machine"); 2253 2253 finish(1); 2254 2254 } … … 2268 2268 if ((bkpinfo->backup_media_type != dvd) && (bkpinfo->backup_media_type != usb)) { 2269 2269 if (!popup_and_get_string("Speed", comment, tmp1, 4)) { 2270 log_to_screen("User has chosen not to backup the PC");2270 log_to_screen("User has chosen not to backup the machine"); 2271 2271 mr_free(comment); 2272 2272 finish(1); … … 2280 2280 mr_free(mds); 2281 2281 if (!popup_and_get_string("Size", comment, tmp1, 5)) { 2282 log_to_screen("User has chosen not to backup the PC");2282 log_to_screen("User has chosen not to backup the machine"); 2283 2283 finish(1); 2284 2284 } … … 2287 2287 2288 2288 if (bkpinfo->media_size <= 0) { 2289 log_to_screen("User has chosen not to backup the PC");2289 log_to_screen("User has chosen not to backup the machine"); 2290 2290 finish(1); 2291 2291 } … … 2307 2307 mr_asprintf(comment, "Please specify your %s drive's /dev entry", mds); 2308 2308 if (!popup_and_get_string("Device?", comment, bkpinfo->media_device, MAX_STR_LEN / 4)) { 2309 log_to_screen("User has chosen not to backup the PC");2309 log_to_screen("User has chosen not to backup the machine"); 2310 2310 finish(1); 2311 2311 } … … 2338 2338 } 2339 2339 if (!i) { 2340 log_to_screen("User has chosen not to backup the PC");2340 log_to_screen("User has chosen not to backup the machine"); 2341 2341 finish(1); 2342 2342 } … … 2352 2352 if (!ask_me_yes_or_no 2353 2353 ("This option is for advanced users only. Are you sure?")) { 2354 log_to_screen("User has chosen not to backup the PC");2354 log_to_screen("User has chosen not to backup the machine"); 2355 2355 finish(1); 2356 2356 } … … 2384 2384 if (!bkpinfo->media_device[0]) { 2385 2385 if (!popup_and_get_string("Device name?", "What is the /dev entry of your tape streamer?", bkpinfo->media_device, MAX_STR_LEN / 4)) { 2386 log_to_screen("User has chosen not to backup the PC");2386 log_to_screen("User has chosen not to backup the machine"); 2387 2387 finish(1); 2388 2388 } … … 2398 2398 tmp = mr_popup_and_get_string("Tape block size?", "What is the block size of your tape streamer?", sz_size); 2399 2399 if (tmp == NULL) { 2400 log_to_screen("User has chosen not to backup the PC");2400 log_to_screen("User has chosen not to backup the machine"); 2401 2401 finish(1); 2402 2402 } … … 2409 2409 2410 2410 if (bkpinfo->internal_tape_block_size <= 0) { 2411 log_to_screen("User has chosen not to backup the PC");2411 log_to_screen("User has chosen not to backup the machine"); 2412 2412 finish(1); 2413 2413 } … … 2425 2425 if (archiving_to_media) { 2426 2426 if ((compression_type = which_compression_type()) == NULL) { 2427 log_to_screen("User has chosen not to backup the PC");2427 log_to_screen("User has chosen not to backup the machine"); 2428 2428 finish(1); 2429 2429 } 2430 2430 if ((bkpinfo->compression_level = which_compression_level()) == -1) { 2431 log_to_screen("User has chosen not to backup the PC");2431 log_to_screen("User has chosen not to backup the machine"); 2432 2432 finish(1); 2433 2433 } … … 2456 2456 { 2457 2457 if (!popup_and_get_string("Network shared dir.", "Please enter path and directory where archives are stored remotely. (Mondo has taken a guess at the correct value. If it is incorrect, delete it and type the correct one.)", p, MAX_STR_LEN / 4)) { 2458 log_to_screen("User has chosen not to backup the PC");2458 log_to_screen("User has chosen not to backup the machine"); 2459 2459 finish(1); 2460 2460 } … … 2465 2465 if (!bkpinfo->restore_data) { 2466 2466 if ((compression_type = which_compression_type()) == NULL) { 2467 log_to_screen("User has chosen not to backup the PC");2467 log_to_screen("User has chosen not to backup the machine"); 2468 2468 finish(1); 2469 2469 } 2470 2470 2471 2471 if ((bkpinfo->compression_level = which_compression_level()) == -1) { 2472 log_to_screen("User has chosen not to backup the PC");2472 log_to_screen("User has chosen not to backup the machine"); 2473 2473 finish(1); 2474 2474 } … … 2497 2497 mr_free(sz_size); 2498 2498 if (!popup_and_get_string("Size", comment, tmp1, 5)) { 2499 log_to_screen("User has chosen not to backup the PC");2499 log_to_screen("User has chosen not to backup the machine"); 2500 2500 finish(1); 2501 2501 } … … 2509 2509 2510 2510 if (bkpinfo->media_size < 0) { 2511 log_to_screen("User has chosen not to backup the PC");2511 log_to_screen("User has chosen not to backup the machine"); 2512 2512 finish(1); 2513 2513 } … … 2521 2521 strcpy(tmp1, bkpinfo->netfs_proto); 2522 2522 if (!popup_and_get_string("Network protocol", "Which protocol should I use (nfs/sshfs/smbfs) ?",tmp1, MAX_STR_LEN)) { 2523 log_to_screen("User has chosen not to backup the PC");2523 log_to_screen("User has chosen not to backup the machine"); 2524 2524 finish(1); 2525 2525 } … … 2529 2529 strcpy(tmp1, bkpinfo->netfs_mount); 2530 2530 if (!popup_and_get_string("Network share", "Which remote share should I mount?", tmp1, MAX_STR_LEN)) { 2531 log_to_screen("User has chosen not to backup the PC");2531 log_to_screen("User has chosen not to backup the machine"); 2532 2532 finish(1); 2533 2533 } … … 2541 2541 } 2542 2542 if (!popup_and_get_string("Network user", "Which user should I use if any ?",tmp1, MAX_STR_LEN)) { 2543 log_to_screen("User has chosen not to backup the PC");2543 log_to_screen("User has chosen not to backup the machine"); 2544 2544 finish(1); 2545 2545 } … … 2601 2601 strcpy(tmp1, bkpinfo->netfs_remote_dir); 2602 2602 if (!popup_and_get_string ("Directory", "Which directory within that mountpoint?", tmp1, MAX_STR_LEN)) { 2603 log_to_screen("User has chosen not to backup the PC");2603 log_to_screen("User has chosen not to backup the machine"); 2604 2604 finish(1); 2605 2605 } … … 2609 2609 2610 2610 if (!popup_and_get_string("Prefix.", "Please enter the prefix that will be prepended to your ISO filename. Example: machine1 to obtain machine1-[1-9]*.iso files", bkpinfo->prefix, MAX_STR_LEN / 4)) { 2611 log_to_screen("User has chosen not to backup the PC");2611 log_to_screen("User has chosen not to backup the machine"); 2612 2612 finish(1); 2613 2613 } … … 2620 2620 if (!bkpinfo->disaster_recovery) { 2621 2621 if (!popup_and_get_string("Storage dir.", "Please enter the full path name to the directory for your ISO images. Example: /mnt/raid0_0", bkpinfo->isodir, MAX_STR_LEN / 4)) { 2622 log_to_screen("User has chosen not to backup the PC");2622 log_to_screen("User has chosen not to backup the machine"); 2623 2623 finish(1); 2624 2624 } 2625 2625 if (archiving_to_media) { 2626 2626 if ((compression_type = which_compression_type()) == NULL) { 2627 log_to_screen("User has chosen not to backup the PC");2627 log_to_screen("User has chosen not to backup the machine"); 2628 2628 finish(1); 2629 2629 } 2630 2630 if ((bkpinfo->compression_level = which_compression_level()) == -1) { 2631 log_to_screen("User has chosen not to backup the PC");2631 log_to_screen("User has chosen not to backup the machine"); 2632 2632 finish(1); 2633 2633 } 2634 2634 sprintf(tmp1, "%d", DEFAULT_DVD_DISK_SIZE); // 4.7 salesman's GB = 4.482 real GB = 4482 MB 2635 2635 if (!popup_and_get_string("ISO size.", "Please enter how big you want each ISO image to be (in megabytes). This should be less than or equal to the size of the CD-R[W]'s (700) or DVD's (4480) you plan to backup to.", tmp1, 16)) { 2636 log_to_screen("User has chosen not to backup the PC");2636 log_to_screen("User has chosen not to backup the machine"); 2637 2637 finish(1); 2638 2638 } … … 2643 2643 } 2644 2644 if (!popup_and_get_string("Prefix.", "Please enter the prefix that will be prepended to your ISO filename. Example: machine1 to obtain machine1-[1-9]*.iso files", bkpinfo->prefix, MAX_STR_LEN / 4)) { 2645 log_to_screen("User has chosen not to backup the PC");2645 log_to_screen("User has chosen not to backup the machine"); 2646 2646 finish(1); 2647 2647 } … … 2667 2667 #ifdef __FreeBSD__ 2668 2668 if (!popup_and_get_string("Boot device", "What is your boot device? (e.g. /dev/ad0)", bkpinfo->boot_device, MAX_STR_LEN / 4)) { 2669 log_to_screen("User has chosen not to backup the PC");2669 log_to_screen("User has chosen not to backup the machine"); 2670 2670 finish(1); 2671 2671 } … … 2674 2674 strcpy(tmp1, bkpinfo->boot_device); 2675 2675 if (!popup_and_get_string("Boot device", "What is your boot device? (e.g. /dev/hda)", tmp1, MAX_STR_LEN / 4)) { 2676 log_to_screen("User has chosen not to backup the PC");2676 log_to_screen("User has chosen not to backup the machine"); 2677 2677 finish(1); 2678 2678 } … … 2711 2711 } 2712 2712 if (!popup_and_get_string("Backup paths", "Please enter paths (separated by '|') which you want me to backup. The default is '/' (i.e. everything).", tmp1, MAX_STR_LEN)) { 2713 log_to_screen("User has chosen not to backup the PC");2713 log_to_screen("User has chosen not to backup the machine"); 2714 2714 finish(1); 2715 2715 } … … 2727 2727 if (strlen(tmp1) > 2) { 2728 2728 if (!popup_and_get_string("NTFS partitions", "Please enter/confirm the NTFS partitions you wish to backup as well.", tmp1, MAX_STR_LEN / 4)) { 2729 log_to_screen("User has chosen not to backup the PC");2729 log_to_screen("User has chosen not to backup the machine"); 2730 2730 finish(1); 2731 2731 } … … 2740 2740 popup_and_get_string("Exclude paths", "Please enter paths which you do NOT want to backup. Separate them with '|'. NB: /tmp and /proc are always excluded. :-) Just hit 'Enter' if you want to do a full system backup.", p, (16*MAX_STR_LEN)-1); 2741 2741 if (p == NULL) { 2742 log_to_screen("User has chosen not to backup the PC");2742 log_to_screen("User has chosen not to backup the machine"); 2743 2743 finish(1); 2744 2744 } … … 2754 2754 } 2755 2755 if (!popup_and_get_string("Temporary directory", "Please enter your temporary directory.", p, (4*MAX_STR_LEN)-1)) { 2756 log_to_screen("User has chosen not to backup the PC");2756 log_to_screen("User has chosen not to backup the machine"); 2757 2757 finish(1); 2758 2758 } … … 2770 2770 } 2771 2771 if (!popup_and_get_string("Scratch directory", "Please enter your scratch directory.", p, (4*MAX_STR_LEN)-1)) { 2772 log_to_screen("User has chosen not to backup the PC");2772 log_to_screen("User has chosen not to backup the machine"); 2773 2773 finish(1); 2774 2774 } … … 2831 2831 if (!ask_me_yes_or_no 2832 2832 ("Are you sure you want to proceed? Hit 'no' to abort.")) { 2833 log_to_screen("User has chosen not to backup the PC");2833 log_to_screen("User has chosen not to backup the machine"); 2834 2834 finish(1); 2835 2835 } -
branches/3.3/mondo/src/common/libmondo-fork.c
r3643 r3653 86 86 87 87 88 #define MONDO_POPMSG "Your PCwill not retract the CD tray automatically. Please call mondoarchive with the -m (manual CD tray) flag."88 #define MONDO_POPMSG "Your machine will not retract the CD tray automatically. Please call mondoarchive with the -m (manual CD tray) flag." 89 89 90 90 /** -
branches/3.3/mondo/src/common/libmondo-string.c
r3614 r3653 904 904 sev = 3; 905 905 mr_free(reason); 906 mr_asprintf(reason, "Do not edit config files while backing up your PC.");906 mr_asprintf(reason, "Do not edit config files while backing up your machine."); 907 907 } 908 908 if (!strcmp(filename, "/etc/adjtime") -
branches/3.3/mondo/src/mondorestore/mondo-rstr-tools.c
r3635 r3653 1936 1936 mr_asprintf(tmp, "cp -f %s " MNT_RESTORING "/var/log", MONDO_LOGFILE); 1937 1937 if (run_program_and_log_output(tmp, FALSE)) { 1938 log_msg(1, "Error. Failed to copy log to PC's /var/log dir. (Mounted read-only?)");1938 log_msg(1, "Error. Failed to copy log to the machine's /var/log dir. (Mounted read-only?)"); 1939 1939 } 1940 1940 paranoid_free(tmp); -
branches/3.3/mondo/src/mondorestore/mondorestore.c
r3628 r3653 2202 2202 log_to_screen("Errors occurred during the nuke phase."); 2203 2203 } else if (strstr(tmp1, "RESTORE")) { 2204 log_to_screen(" PCwas restored successfully. Thank you for using Mondo Rescue.");2204 log_to_screen("The machine was restored successfully. Thank you for using Mondo Rescue."); 2205 2205 log_to_screen("Please visit our website at http://www.mondorescue.org for more information."); 2206 2206 } else {
Note:
See TracChangeset
for help on using the changeset viewer.