TIP: Click on subject to list as thread! ANSI
echo: rberrypi
to: HENRI DERKSEN
from: DRUCK
date: 2019-01-10 20:42:00
subject: Re: [Deutsch] Wie 16GB SD

On 08/01/2019 17:08, Henri Derksen wrote:

[Copying an active drive using dd]

> When doing this, you never get an exact copy, because of open files
> at a running system in the mmcblk0 SDcard slot.

You will can all sorts of weird problems from block copying an active
drive, so its definitely not recommended, as you say.

> For a very first backup, this is almost the only way, as you need
> a second card to boot from, to backup another properly.

What I do is set up the Raspberry Pi, then take out the card and use
another machine to copy the card using dd to an image file on a NAS disc.

Then I keep that image up to date by setting up a daily cron job to
mount the image file on the Pi, and use rsync to copy on to it just the
files which have changed, which is quick.

Regularly I make a compressed copy of the image file, just in case an
upgrade breaks it, or the card starts failing an corrupting it.

When the card reaches end of life, I have an up to date image file ready
to copy on to a new SD card.

---druck

--- SoupGate-Win32 v1.05
* Origin: Agency HUB, Dunedin - New Zealand | FidoUsenet Gateway (3:770/3)

SOURCE: echomail via QWK@docsplace.org

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.