Skip to content
View in the app

A better way to browse. Learn more.

Armbian Community Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Backup

Featured Replies

What is the recommended way to back up a user's *.img? I ask b/c I crashed the OS (Debian 11 Xfce) after a number of hours by upgrading via Synaptic -- don't know which of the upgrade group did the damage. It was a major pain to go back through everything I had done.

 

I tried the very nice script "image-backup" from the image-utils developed by user RonR on the RPi Forum, but it complains about the wrong Partition config. Is there a method that is known to work?

 

TIA

Solved by CryBaby

  • Solution

Take the SD card out and put it into another machine. Copy the whole card as an image. To restore you just copy it back. On Linux I would use dd for this:

sudo dd if=/dev/mmcblk0 of=backup.img bs=1M status=progress

making sure you have the right dev. It should not be mounted while you do this.

On Windows... Balena Etcher?

  • Author

Thanks for answering this, much appreciated!

 

I'm on MX Linux (Debian 11 base) and knew about dd. The nice part about the RPi software I mentioned is that a backup or copy can be made directly from the running system, saving a lot of futzing around. If I can't work that out, I will first try rsync/grsync for an incremental backup--but not sure the copy would be functional.

This thread sounds oddly familiar (but I'm not going to bother searching).

 

Anyway, I encourage you to consider configuration management as a separate concept to 'imaging the entire OS as a backup' as there are a couple problems with the latter approach:

  • It wastes a lot of space.
  • Upgrading in-place between major OS versions is not (and has never been) supported in Armbian, so sooner or later you will probably have to re-install everything anyway.

In the configuration management space there are things like Ansible (and many, many others) in fact just searching up that term should give you plenty of ideas.

  • Author

Um, OK. I have no interest in upgrading in-place and can easily avoid "wasting space," just want to protect development stages.

 

But for people who do, your advice sounds like it would be useful.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.