[Mondo-devel] [SPAM] Backing up to a flash drive

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[Mondo-devel] [SPAM] Backing up to a flash drive

tdukes-2
Hello,

I am trying to backup a CentOS 6.8 system to a 128GB USB flash drive.

I have the flash drive (/dev/sdb) mounted at /mnt/usb. It currently has a Windows file sytem.

Do I need to format it for Linux or will that be done automatically?

Here's the script I tried to run:

#!/bin/bash
##############################################
mondoarchive -OV -E "/tmp|/proc" -d /dev/sdb


And here's the logfile:
INFO: Time started: Thu Aug 11 18:37:48 2016

DBG2: [TH=7433] libmondo-tools.c->setup_tmpdir#740: bkpinfo->tmpdir is being set to /tmp/mondo.tmp.0LhTol
DBG2: [TH=7433] libmondo-tools.c->setup_scratchdir#759: Purging old scratchdir /mondo.scratch.*
DBG2: [TH=7433] libmondo-tools.c->setup_scratchdir#784: bkpinfo->scratchdir is being set to /tmp/mondo.scratch.RFqf10
INFO: root is mounted at /dev/mapper/VolGroup-lv_root
INFO: That doesn't mean /dev/mapper/VolGroup-lv_root is the root partition. It's just a debugging message. Relax. It's part of am_I_in_disaster_recovery_mode().
DBG1: [TH=7433] libmondo-devices.c->am_I_in_disaster_recovery_mode#167: Is this a ramdisk? result = FALSE
INFO: running: dmesg -n1 > /tmp/mondo.tmp.0LhTol/mondo-run-prog-thing.tmp 2> /tmp/mondo.tmp.0LhTol/mondo-run-prog-thing.err
INFO: --------------------------------start of output-----------------------------
INFO: --------------------------------end of output------------------------------
INFO: ...ran just fine. :-)
INFO: Mondo Archive v3.2.2-r3578 --- http://www.mondorescue.org
INFO: running x86_64 binaries
INFO: running on x86_64 architecture
INFO: -----------------------------------------------------------
INFO: NB: Mondo logs almost everything, so don't panic if you see
INFO: some error messages.  Please read them carefully before you
INFO: decide to break out in a cold sweat.    Despite (or perhaps
INFO: because of) the wealth of messages. some users are inclined
INFO: to stop reading this log. If Mondo stopped for some reason,
INFO: chances are it's detailed here.  More than likely there's a
INFO: message at the very end of this log that will tell you what
INFO: is wrong. Please read it!                          -Devteam
INFO: -----------------------------------------------------------
INFO: Zero...
DBG1: [Main] mondoarchive.c->welcome_to_mondoarchive#97: One...
DBG2: [Main] mondoarchive.c->welcome_to_mondoarchive#98: Two...
DBG3: [Main] mondoarchive.c->welcome_to_mondoarchive#99: Three...
DBG4: [Main] mondoarchive.c->welcome_to_mondoarchive#100: Four...
DBG2: [Main] mondoarchive.c->distro_specific_kludges_at_start_of_mondoarchive#115: Unmounting old ramdisks if necessary
INFO: running: mount | grep cdrom | grep super > /tmp/mondo.tmp.0LhTol/mondo-run-prog-thing.tmp 2> /tmp/mondo.tmp.0LhTol/mondo-run-prog-thing.err
INFO: --------------------------------start of output-----------------------------
INFO: --------------------------------end of output------------------------------
INFO: ...ran with res=256
INFO: running: mount | grep floppy | grep super > /tmp/mondo.tmp.0LhTol/mondo-run-prog-thing.tmp 2> /tmp/mondo.tmp.0LhTol/mondo-run-prog-thing.err
INFO: --------------------------------start of output-----------------------------
INFO: --------------------------------end of output------------------------------
INFO: ...ran with res=256
DBG1: [Main] libmondo-tools.c->mount_boot_if_necessary#1189: Started sub
DBG4: [Main] libmondo-tools.c->mount_boot_if_necessary#1190: About to set g_boot_mountpt[0] to '\0'
DBG4: [Main] libmondo-tools.c->mount_boot_if_necessary#1192: Done. Great. Seeting command to something
DBG4: [Main] libmondo-tools.c->mount_boot_if_necessary#1194: Cool. Command = 'grep -v ":" /etc/fstab | grep -vE '^#.*$' | grep -E "[     ]/boot[     ]" | tr -s ' ' '    ' | cut -f1 | head -n1'
DBG4: [Main] libmondo-tools.c->mount_boot_if_necessary#1198: tmp = 'UUID=58e0c3f6-73a2-4e21-8f9d-2710c3212c0e'
DBG2: [Main] libmondo-tools.c->mount_boot_if_necessary#1199: /boot is at UUID=58e0c3f6-73a2-4e21-8f9d-2710c3212c0e according to /etc/fstab
DBG1: [Main] libmondo-tools.c->mount_boot_if_necessary#1239: Ended sub
DBG1: [Main] libmondo-tools.c->get_kernel_version#246: g_kernel_version = 2.632000
DBG4: [Main] libmondo-tools.c->insmod_crucial_modules#314: modprobe -a msdos vfat loop &> /dev/null
INFO: running: rm -Rf /var/cache/mondo/changed.files* > /tmp/mondo.tmp.0LhTol/mondo-run-prog-thing.tmp 2> /tmp/mondo.tmp.0LhTol/mondo-run-prog-thing.err
INFO: --------------------------------start of output-----------------------------
INFO: --------------------------------end of output------------------------------
INFO: ...ran just fine. :-)
INFO: Checking sanity of your Linux distribution
INFO: running: grep ramdisk /proc/devices > /tmp/mondo.tmp.0LhTol/mondo-run-prog-thing.tmp 2> /tmp/mondo.tmp.0LhTol/mondo-run-prog-thing.err
INFO: --------------------------------start of output-----------------------------
INFO: 1 ramdisk
INFO: --------------------------------end of output------------------------------
INFO: ...ran just fine. :-)
INFO: running: mount | grep -Ew 'vfat|fat|dos' | grep -vE "/dev/fd|nexdisk" > /tmp/mondo.tmp.0LhTol/mondo-run-prog-thing.tmp 2> /tmp/mondo.tmp.0LhTol/mondo-run-prog-thing.err
INFO: --------------------------------start of output-----------------------------
INFO: /dev/sdb on /media/SP UFD U3 type vfat (rw,nosuid,nodev,uhelper=udisks,uid=0,gid=0,shortname=mixed,dmask=0077,utf8=1,flush)
INFO: /dev/sdb on /mnt/usb type vfat (rw)
INFO: --------------------------------end of output------------------------------
INFO: ...ran just fine. :-)
INFO: running: mount | grep -Ew 'vfat|fat|dos' | grep -Ew efi > /tmp/mondo.tmp.0LhTol/mondo-run-prog-thing.tmp 2> /tmp/mondo.tmp.0LhTol/mondo-run-prog-thing.err
INFO: --------------------------------start of output-----------------------------
INFO: --------------------------------end of output------------------------------
INFO: ...ran with res=256
INFO: I think you have a Windows 9x partition.
DBG4: [Main] libmondo-files.c->find_home_of_exe#360: find_home_of_exe --- Found cmp at /usr/bin/cmp
INFO: running: mindi -V > /tmp/mondo.tmp.0LhTol/mondo-run-prog-thing.tmp 2> /tmp/mondo.tmp.0LhTol/mondo-run-prog-thing.err
INFO: --------------------------------start of output-----------------------------
INFO: Mindi v3.0.2-r3578
INFO: Unable to find lsb version in /etc/lsb-release
INFO: Please report to the maintainer bruno_at_project-builder.org
INFO: Name "Global::pb_stop_on_error" used only once: possible typo at /usr/sbin/mr-parted2fdisk line 157.
INFO: Undefined subroutine &main::pb_check_req called at /usr/sbin/mr-parted2fdisk line 220.
INFO: --------------------------------end of output------------------------------
INFO: ...ran just fine. :-)
INFO: running: mr-parted2fdisk -l 2>/dev/null | grep -i raid > /tmp/mondo.tmp.0LhTol/mondo-run-prog-thing.tmp 2> /tmp/mondo.tmp.0LhTol/mondo-run-prog-thing.err
INFO: --------------------------------start of output-----------------------------
INFO: --------------------------------end of output------------------------------
INFO: ...ran with res=256
INFO: Done.
INFO: You must specify the media type

DBG4: [Main] libmondo-files.c->find_home_of_exe#360: find_home_of_exe --- Found afio at /usr/bin/afio
DBG4: [Main] libmondo-devices.c->get_dsf_mount_list#1717: /tmp does not start with /dev/ and (probably) is not a  device special file
DBG1: [Main] libmondo-devices.c->mr_make_devlist_from_pathlist#2114: exclude_paths is now '|/tmp'
DBG4: [Main] libmondo-devices.c->get_dsf_mount_list#1717: /proc does not start with /dev/ and (probably) is not a  device special file
DBG1: [Main] libmondo-devices.c->mr_make_devlist_from_pathlist#2114: exclude_paths is now '|/tmp|/proc'
DBG4: [Main] libmondo-cli.c->process_switches#604: Finished with the -E option
INFO: running: which mkfs.vfat > /tmp/mondo.tmp.0LhTol/mondo-run-prog-thing.tmp 2> /tmp/mondo.tmp.0LhTol/mondo-run-prog-thing.err
INFO: --------------------------------start of output-----------------------------
INFO: /sbin/mkfs.vfat
INFO: --------------------------------end of output------------------------------
INFO: ...ran just fine. :-)
DBG3: [Main] libmondo-cli.c->handle_incoming_parameters#96: Switches:-
DBG3: [Main] libmondo-cli.c->handle_incoming_parameters#99: -E /tmp|/proc
DBG3: [Main] libmondo-cli.c->handle_incoming_parameters#99: -O
DBG3: [Main] libmondo-cli.c->handle_incoming_parameters#99: -V
DBG3: [Main] libmondo-cli.c->handle_incoming_parameters#99: -d /dev/sdb
DBG1: [Main] mondoarchive.c->main#345: Mondoarchive will now exit.
INFO: running: umount -d /mnt/cdrom > /tmp/mondo.tmp.0LhTol/mondo-run-prog-thing.tmp 2> /tmp/mondo.tmp.0LhTol/mondo-run-prog-thing.err
INFO: --------------------------------start of output-----------------------------
INFO: umount: /mnt/cdrom: not mounted
INFO: --------------------------------end of output------------------------------
INFO: ...ran with res=256

Any help greatly appreciated!

TIA

TE Dukes



------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are
consuming the most bandwidth. Provides multi-vendor support for NetFlow,
J-Flow, sFlow and other flows. Make informed decisions using capacity
planning reports. http://sdm.link/zohodev2dev
_______________________________________________
Mondo-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/mondo-devel
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [Mondo-devel] [SPAM] Backing up to a flash drive

Bruno Cornec-4
[hidden email] said on Thu, Aug 11, 2016 at 04:00:53PM -0700:
>I am trying to backup a CentOS 6.8 system to a 128GB USB flash drive.</div><div><br></div><div>I have the flash drive (/dev/sdb) mounted at /mnt/usb. It currently has a Windows file sytem.</div><div><br></div><div>Do I need to format it for Linux or will that be done automatically?

Look at man page for option -U

Bruno.
--
Open Source Profession, WW Linux Community Lead     http://www.hpintelco.net
HPE EMEA EG FLOSS Technology Strategist http://www.hpe.com/engage/opensource
FLOSS projects:    http://mondorescue.org         http://project-builder.org
Musique ancienne?   http://www.musique-ancienne.org  http://www.medieval.org

------------------------------------------------------------------------------
_______________________________________________
Mondo-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/mondo-devel
Loading...