# Create backup SD card for Raspberry PI used only for dedicated Nodered application

**URL:** https://discourse.nodered.org/t/create-backup-sd-card-for-raspberry-pi-used-only-for-dedicated-nodered-application/99135
**Category:** Hardware
**Tags:** raspberry-pi5
**Created:** [22 September 2025 22:02 UTC](https://discourse.nodered.org/t/create-backup-sd-card-for-raspberry-pi-used-only-for-dedicated-nodered-application/99135 "2025-09-22T22:02:42Z")
**Posts on this page:** 13
**Page:** 1

<div class="post-metadata">

### Author: ![invictagunner](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/invictagunner/32/98006_2.png) [@invictagunner](https://discourse.nodered.org/u/invictagunner)
#### Post date: [22 September 2025 22:02 UTC](https://discourse.nodered.org/t/create-backup-sd-card-for-raspberry-pi-used-only-for-dedicated-nodered-application/99135/1 "2025-09-22T22:02:43Z")

</div>

I only use my Raspberry PI5 to run a Nodered home automation system.  
Now that the system is very stable I would like to create a backup sd card,.in case the sd card fails or becomes corrupted. I would prefer to create the clone on my Windows 10 laptop which is used for development. Having read several articles and looked at several youtubes I am none the wiser as to which tools/procedure to use. Win32 disk imager and Etcher are often mentioned but with variable feedback on the results. Any advice gratefully received.

---

<div class="post-metadata">

### Author: ![edje11](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/edje11/32/572_2.png) [@edje11](https://discourse.nodered.org/u/edje11)
#### Post date: [24 September 2025 09:02 UTC](https://discourse.nodered.org/t/create-backup-sd-card-for-raspberry-pi-used-only-for-dedicated-nodered-application/99135/2 "2025-09-24T09:02:54Z")

</div>

I'm using Win32 disk imager to make a copy of the sd card, works great.  
However it's important that you always test restoring a backup.  
I had ones that a 16GB card from manufacturer A was a couple of bytes smaller then a 16GB from manufacturer B with the result that Win32 diskimager came with the "not enough space" error.

---

<div class="post-metadata">

### Author: ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)
#### Post date: [24 September 2025 10:32 UTC](https://discourse.nodered.org/t/create-backup-sd-card-for-raspberry-pi-used-only-for-dedicated-nodered-application/99135/3 "2025-09-24T10:32:06Z")

</div>

That is a common problem. I always shrink the last partition a few MB on SD cards so that the image will fit on a slightly smaller card. That implies that the imager understands partions and does not try to restore the empty space at the end. I use CloneZilla which does do that. In addition it only saves used space on the SD card, and it compresses it, so the image (on a hard drive) is smaller than the card itself.

---

<div class="post-metadata">

### Author: ![jbudd](https://avatars.discourse-cdn.com/v4/letter/j/5f8ce5/32.png) [@jbudd](https://discourse.nodered.org/u/jbudd)
#### Post date: [24 September 2025 11:15 UTC](https://discourse.nodered.org/t/create-backup-sd-card-for-raspberry-pi-used-only-for-dedicated-nodered-application/99135/4 "2025-09-24T11:15:09Z")

</div>

If you get fed up of waiting for all the gigabytes of empty disk space to backup, you might like to look at this [linux command line tool](https://github.com/billw2/rpi-clone) using rsync.

I don't currently backup my SD cards so I am not sure how you restore from the backup, but it has the advantages of being able to backup a running system (to a network storage directory?) and, so they say, restorable to a smaller SD card than the original.

---

<div class="post-metadata">

### Author: ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)
#### Post date: [24 September 2025 12:22 UTC](https://discourse.nodered.org/t/create-backup-sd-card-for-raspberry-pi-used-only-for-dedicated-nodered-application/99135/5 "2025-09-24T12:22:04Z")

</div>

> [@jbudd](#):
>
> I don't currently backup my SD cards so I am not sure how you restore from the backup

It seems that utility writes directly to another card, which is mounted in a usb SD card reader.

I notice that the one you linked to has not been updated in 5 years, so whether it still works I don't know. I think there are other forks of it, so maybe there is one that is maintained.

---

<div class="post-metadata">

### Author: ![ghayne](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/ghayne/32/39_2.png) [@ghayne](https://discourse.nodered.org/u/ghayne)
#### Post date: [24 September 2025 12:46 UTC](https://discourse.nodered.org/t/create-backup-sd-card-for-raspberry-pi-used-only-for-dedicated-nodered-application/99135/6 "2025-09-24T12:46:16Z")

</div>

Rpi-clone is a command line tool that runs on the Pi.

I recently used it to clone my sd card to an ssd.  
Worked flawlessly.

> **[rpi-clone](https://rpi-clone.jeffgeerling.com/)**
>
> A shell script to clone a booted disk on a Raspberry Pi.

---

<div class="post-metadata">

### Author: ![jbudd](https://avatars.discourse-cdn.com/v4/letter/j/5f8ce5/32.png) [@jbudd](https://discourse.nodered.org/u/jbudd)
#### Post date: [24 September 2025 12:54 UTC](https://discourse.nodered.org/t/create-backup-sd-card-for-raspberry-pi-used-only-for-dedicated-nodered-application/99135/7 "2025-09-24T12:54:29Z")

</div>

> [@Colin](#):
>
> I think there are other forks of it, so maybe there is one that is maintained.

You are right, The original is now abandoned. Instead refer to Jeff Geerling at [https://github.com/geerlingguy/rpi-clone](https://github.com/geerlingguy/rpi-clone)

---

<div class="post-metadata">

### Author: ![ghayne](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/ghayne/32/39_2.png) [@ghayne](https://discourse.nodered.org/u/ghayne)
#### Post date: [24 September 2025 12:59 UTC](https://discourse.nodered.org/t/create-backup-sd-card-for-raspberry-pi-used-only-for-dedicated-nodered-application/99135/8 "2025-09-24T12:59:06Z")

</div>

I've updated my post with the correct URL.

---

<div class="post-metadata">

### Author: ![invictagunner](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/invictagunner/32/98006_2.png) [@invictagunner](https://discourse.nodered.org/u/invictagunner)
#### Post date: [24 September 2025 21:29 UTC](https://discourse.nodered.org/t/create-backup-sd-card-for-raspberry-pi-used-only-for-dedicated-nodered-application/99135/9 "2025-09-24T21:29:59Z")

</div>

Thanks everyone for your help. I have now successfully created a clone of my 32gb official PI SD card using win32 disk imager. To avoid the potential problems with slightly different cards I used an official original card for the copy. It worked perfectly first time, first creating the .img file on windows 10 pro and then writing the image to a new identical card. For info, Cool Components are currently selling the official cards at a much reduced price. They delivered in 24 hours using 1st class post. Website is [Cool Components - Raspberry Pi A2-Class SD Cards (32GB & 64GB)](https://coolcomponents.co.uk/products/raspberry-pi-a2-class-sd-cards-32gb-64gb?srsltid=AfmBOoro4mtpvcCmElFuzuMAf6IYAC9jxbCi48bDhaa4eDsZwnceVZOy)

---

<div class="post-metadata">

### Author: ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)
#### Post date: [25 September 2025 08:32 UTC](https://discourse.nodered.org/t/create-backup-sd-card-for-raspberry-pi-used-only-for-dedicated-nodered-application/99135/10 "2025-09-25T08:32:54Z")

</div>

I don't know that you can assume that all official cards will always be identical. I imagine that they may not always use the same supplier.

Being paranoid I don't use the pre-programmed cards, or if I do then I re-burn them. I am not sure how one can be confident that the card has not been tampered with.

---

<div class="post-metadata">

### Author: ![invictagunner](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/invictagunner/32/98006_2.png) [@invictagunner](https://discourse.nodered.org/u/invictagunner)
#### Post date: [25 September 2025 09:14 UTC](https://discourse.nodered.org/t/create-backup-sd-card-for-raspberry-pi-used-only-for-dedicated-nodered-application/99135/11 "2025-09-25T09:14:19Z")

</div>

These cards are blank, there is nothing pre loaded. They appear identical to the one supplied with my PI 5 at the end of last year. They worked perfectly for me and are very well priced. Take your point though that PI may change the sourcing of the cards and get back into the very small size difference that causes issues with Win32 Disk Imager.

---

<div class="post-metadata">

### Author: ![Bra1nK](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/bra1nk/32/11837_2.png) [@Bra1nK](https://discourse.nodered.org/u/Bra1nK)
#### Post date: [29 September 2025 15:04 UTC](https://discourse.nodered.org/t/create-backup-sd-card-for-raspberry-pi-used-only-for-dedicated-nodered-application/99135/12 "2025-09-29T15:04:39Z")

</div>

I use RaspiBackup for my collection of Pis, it's saved me numerous times and is well maintained with regular updates [RaspiBackup](https://raspibackup.linux-tips-and-tricks.de/en/home/)

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)
#### Post date: [28 December 2025 15:04 UTC](https://discourse.nodered.org/t/create-backup-sd-card-for-raspberry-pi-used-only-for-dedicated-nodered-application/99135/13 "2025-12-28T15:04:55Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
