save.dat backup error

Technical issues/questions of an intermediate or advanced nature.
User avatar
Ed_P
Contributor
Contributor
Posts: 8956
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 5.01 ISO
Location: Western NY, USA

save.dat backup error

Post#1 by Ed_P » 20 Jul 2024, 17:48

I periodically backup my save.dat file,

Code: Select all

 cp   $CHANGES/$SAVEDAT.dat $CHANGES/${SAVEDAT}Bkup.dat

Code: Select all

guest@porteus:/mnt/nvme0n1p7/porteus5.0/changes$ ls -l
total 1048576
-rwxrwxrwx 1 guest root 536870912 Jul 20 09:21 50save.dat*
-rwxrwxrwx 1 guest root 536870912 Jul 19 17:57 50saveBkup.dat*
guest@porteus:/mnt/nvme0n1p7/porteus5.0/changes$ 
but when I later try to mloop the backup:

Code: Select all

mloop $CHANGES/$SAVEDAT > /dev/null 
with $SAVEDAT equal to the Bkup.dat name I get:

Code: Select all

mount: /mnt/loop: wrong fs type, bad option, bad superblock on /dev/loop13, missing codepage or helper program, or other error.
:%)

Added in 4 hours 50 minutes 27 seconds:
Now if I boot with the 50saveBkup.dat file as my changes=EXIT file Porteus boots fine. And if I shutdown Porteus and let it update the 50saveBkup.dat file I can later mloop the file no problem. :) :%) So that part is fine. :good: