DEV Community

Tech Community for Software AG Tech Community

Posted on • Originally published at tech.forums.softwareag.com on

Raspberry Pi: Backup & Fast Deployment

Introduction

In this topic, I will be speaking about taking an image as a backup from an already deployed (Agent/Edge/etc…), then either restore to the same Raspberry Pi or to another one, to make the deployment of multiple OS + Agent/Edge as a piece of cake.

Pre-requisite

Steps to follow

  • Download & install the needed software in Pre-requisite section.

Back Up Steps

  • Turn off the Raspberry Pi that you want to backup its image
  • Remove its SD card and plug it in the Computer:

rpiCard

  • In any folder, create a text file, name it by the day date and save it as “.img” extension:

1

2

  • Run “win32DiskImager” as an administrator, then select the image file you created:

3

  • Select the SD drive to read the image from, then click “Read”:

4

  • Wait till the process completes:

5

6

  • Now the image is copied and you can check the file properties to see its size changed to be same as the SD card size:

imageSize

  • Remove the SD card from the Computer

Restore Steps

  • Plug in the new SD Card to the computer

  • Run “Raspberry Pi Imager” as an administrator, then Click on “CHOOSE OS”:

8

  • Select “Use Custom” from the drop down list:

9

  • Select the image you have created:

10

  • Click on “CHOOSE STORAGE” and select the SD card:

11

  • Now Click on "Write" and a message will show up, click yes:

12

  • Wait till the process completes:

13

14

  • Click CONTINUE and remove the SD and plug it either in new Raspberry Pi or the one that you want to restore the backup to.

    Useful links | Relevant resources

  • Check this tutorial

Read full topic

AWS Security LIVE!

Join us for AWS Security LIVE!

Discover the future of cloud security. Tune in live for trends, tips, and solutions from AWS and AWS Partners.

Learn More

Top comments (0)

The Most Contextual AI Development Assistant

Pieces.app image

Our centralized storage agent works on-device, unifying various developer tools to proactively capture and enrich useful materials, streamline collaboration, and solve complex problems through a contextual understanding of your unique workflow.

👥 Ideal for solo developers, teams, and cross-company projects

Learn more