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
  PBP Debian 11 GRUB install error zlth 2 2,511 11-18-2022, 07:42 AM
Last Post: zlth
  Soquartz - what image for Model A baseboard? kbanfield 0 1,755 10-14-2022, 10:38 AM
Last Post: kbanfield
  PINE64 Installer - Simple Way to Image Your MicroSD pineadmin 101 164,158 01-15-2020, 12:46 PM
Last Post: tophneal
  Rock64 with Debian netinst usb Bloris 6 10,165 12-03-2019, 12:37 PM
Last Post: madalin
Information Creating a NAS server in Pine64 javi_cala 4 8,988 01-21-2019, 02:03 AM
Last Post: bartes
  The Debian Jessie User Accounts? jesse1234 6 8,630 01-20-2019, 06:07 PM
Last Post: zer0sig
  7" Screen - Does it work with Debian abasel 1 4,286 07-26-2017, 05:44 AM
Last Post: pfeerick
  Boots just fine. Can not install new image. willpine 5 8,427 07-25-2017, 06:39 AM
Last Post: willpine
  unable to write an pine64 image on a 16G micro suresh 2 5,947 01-26-2017, 12:56 PM
Last Post: suresh
  Need support for Database use in debian jessie other than mysql sarav_sara 4 6,859 01-16-2017, 06:23 AM
Last Post: Luke

Forum Jump:


Users browsing this thread: 2 Guest(s)