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

Forum Jump:


Users browsing this thread: 1 Guest(s)