On Wed, 6 Mar 2019 08:52:02 +0100
"R.Wieser" wrote:
>TNP,
>
>> Mmm. I suspect you will be out of luck.
>
>Always a possibility.
>
>> The only way to make sectors that are not in use zero that I can think of,
>> is to do a complete write of a blank piece of something..
>> with zeros and copy only the valid data ontop it.
>
>Alas, I'm looking for a backup method of an in-use card (updated, installed
>programs - the works). Would also be nice if I could backup a
>LibreElec/Kodi configured card with it.
>
>> That means working at the file copy level, not the DD level.
>
>I am not at all sure if I can copy /all/ files (to begin with), and if
>writing them back to a newly created SD card (using noobs) will result in,
>functionally, the same as the origional.
>
>Which is why my thoughts went toward a "raw" copy - either the full SD card,
>or per partition (not sure about which one yet).
>
>And to be honest, I just now realized that clearing out unused sectors on a
>LibreElec/Kodi configured card might be a problem ... (no user accessible
>OS).
>
>Regards,
>Rudy Wieser
For the home partition I've used 'dd if=/dev/zero of=blank'
Then once it reports disc full 'rm blank'
Rinse and repeat for any other partitions.
--
W J G
--- SoupGate-Win32 v1.05
* Origin: Agency HUB, Dunedin - New Zealand | FidoUsenet Gateway (3:770/3)
|