Creating bootable Debian backup image
#1
Hi all,

I'd like to periodically create backup images of Debian (stretch-minimal-rockpro64-0.7.9-1067) because I end up breaking my system a lot (I am a brand new to Linux). How would I go about doing this? Could I take an image of my microSD while it's connected to my macbook pro, or do I have to do this from the Debian command line?

-D
#2
(08-31-2018, 03:01 PM)Drago Wrote: Hi all,

I'd like to periodically create backup images of Debian (stretch-minimal-rockpro64-0.7.9-1067) because I end up breaking my system a lot (I am a brand new to Linux). How would I go about doing this? Could I take an image of my microSD while it's connected to my macbook pro, or do I have to do this from the Debian command line?

-D


If you want offline backups you can just use dd to clone the image, if you want backups while it's running you'll need something like rsnapshot which can take incremental backups.
#3
(08-31-2018, 05:37 PM)evilbunny Wrote:
(08-31-2018, 03:01 PM)Drago Wrote: Hi all,

I'd like to periodically create backup images of Debian (stretch-minimal-rockpro64-0.7.9-1067) because I end up breaking my system a lot (I am a brand new to Linux). How would I go about doing this? Could I take an image of my microSD while it's connected to my macbook pro, or do I have to do this from the Debian command line?

-D


If you want offline backups you can just use dd to clone the image, if you want backups while it's running you'll need something like rsnapshot which can take incremental backups.

I'm booting from eMMC, so while using dd backup, do I do just dd if=/dev/mmcblk1 [...] or should I also backup /dev/mmcblk1boot0 and /dev/mmcblk1boot1?
#4
(12-11-2018, 02:14 PM)semeral Wrote:
(08-31-2018, 05:37 PM)evilbunny Wrote:
(08-31-2018, 03:01 PM)Drago Wrote: Hi all,

I'd like to periodically create backup images of Debian (stretch-minimal-rockpro64-0.7.9-1067) because I end up breaking my system a lot (I am a brand new to Linux). How would I go about doing this? Could I take an image of my microSD while it's connected to my macbook pro, or do I have to do this from the Debian command line?

-D


If you want offline backups you can just use dd to clone the image, if you want backups while it's running you'll need something like rsnapshot which can take incremental backups.

I'm booting from eMMC, so while using dd backup, do I do just dd if=/dev/mmcblk1 [...] or should I also backup /dev/mmcblk1boot0 and /dev/mmcblk1boot1?


You only need to dd the device. That will backup everything including the partition table.


Possibly Related Threads…
Thread Author Replies Views Last Post
  Rock64 Debian 11 (Bullseye) install problem jbize 9 1,554 11-27-2022, 11:05 AM
Last Post: ju0n
  PBP Debian 11 GRUB install error zlth 2 127 11-18-2022, 07:42 AM
Last Post: zlth
  Soquartz - what image for Model A baseboard? kbanfield 0 153 10-14-2022, 10:38 AM
Last Post: kbanfield
  Writing an image to on-system emmc fmotta 3 3,474 01-24-2021, 09:36 PM
Last Post: danimations
  PINE64 Installer - Simple Way to Image Your MicroSD pineadmin 101 124,126 01-15-2020, 12:46 PM
Last Post: tophneal
  Rock64 with Debian netinst usb Bloris 6 6,806 12-03-2019, 12:37 PM
Last Post: madalin
Information Creating a NAS server in Pine64 javi_cala 4 6,901 01-21-2019, 02:03 AM
Last Post: bartes
  The Debian Jessie User Accounts? jesse1234 6 5,888 01-20-2019, 06:07 PM
Last Post: zer0sig
  7" Screen - Does it work with Debian abasel 1 3,093 07-26-2017, 05:44 AM
Last Post: pfeerick
  Boots just fine. Can not install new image. willpine 5 5,653 07-25-2017, 06:39 AM
Last Post: willpine

Forum Jump:


Users browsing this thread: 2 Guest(s)