Fwd: Restoring from Bootable USB can't find config file/archives

JP <[email protected]>
Newsgroups gmane.linux.mondo.devel
Message-ID <CAOYvYsyhoEfK8jdGsCXBo1SGdJGUzyrbOPcNCzC5z8gKBUXutQ@mail.gmail.com>
Removing the attachement as it is now stored on the cloud :-)

I created a boot USB and copied the Mondo ISO files to it using a modified
version of this procedure:

http://trac.mondorescue.org/wiki/FAQ#Q42Howtotransformamondo
CDDVDintoamondoUSBdevice


My customized procedure is:

dd if=/dev/zero of=/dev/sdc bs=1M count=10

fdisk /dev/sdc << EOF
n
p
1


t
b
a
1
w
EOF

mkdosfs -F 32 /dev/sdc1

mount /dev/sdc1 /mnt/usb

mount /mnt/backups/mondo-tools-server/Tools-Server_          /mnt/iso -o
loop

rsync --progress -a /mnt/iso /mnt/usb    (cp -v -a /mnt/iso/* /mnt/usb)

dd if=/usr/share/syslinux/mbr.bin of=/dev/sdc
syslinux -s /dev/sdc1

umount /mnt/iso

umount /mnt/usb


The USB boots up fine and the archive files are where they should be under
the archives directory on the USB.

The script that I used to create the Mondo iso is:

DATE=`date +%Y%m%d%H%M` # e.g 201307210400
SERVER="Tools-Server"
FILENAME=$SERVER"_"$DATE".iso";
BACKUPDIR="/mnt/backups/mondo-tools-server/";
EXCLUDEFILES="'|/var/log|/opt/splunk/var/lib/splunk/defaultdb/db|/mnt|'"
MAXSIZE="7375m"

/usr/sbin/mondoarchive -G -O -i -p $FILENAME -s $MAXSIZE -d $BACKUPDIR -I /
-E "$EXCLUDEFILES" -T /tmp -9


I rebooted the PC and issued command

compare usb=/dev/sdc


The program boots up to the "I am thinking" prompt then said it couldn't
find the archives do you want to pick another location?

I said yes and selected harddrive and then it asked me for the ISO prepend
name which didn't make any sense so I copied the logs off and rebooted.

You can find the logs here: https://sabercathost.com/Os0/logs-zip

Any words of wisdom as I am going an endless loop and I am sure it is a
simple fix :-~

On Thu, Dec 29, 2016 at 11:07 AM, JP <[email protected]> wrote:

> Changed the command to:
>
> compare usb=/dev/sdc
>
> the system now executes the mondorestore command.
>
> but now it can't find the archives.
>
> Guidance much appreciated!
>

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot

_______________________________________________
Mondo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mondo-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.