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
  Use SD to install new OS over pinebook debian Rudy558 2 653 06-11-2021, 12:35 AM
Last Post: TfromTexas
  Writing an image to on-system emmc fmotta 3 1,257 01-24-2021, 09:36 PM
Last Post: danimations
  PINE64 Installer - Simple Way to Image Your MicroSD pineadmin 101 82,153 01-15-2020, 12:46 PM
Last Post: tophneal
  Rock64 with Debian netinst usb Bloris 6 3,227 12-03-2019, 12:37 PM
Last Post: madalin
Information Creating a NAS server in Pine64 javi_cala 4 4,435 01-21-2019, 02:03 AM
Last Post: bartes
  The Debian Jessie User Accounts? jesse1234 6 2,939 01-20-2019, 06:07 PM
Last Post: zer0sig
  7" Screen - Does it work with Debian abasel 1 1,690 07-26-2017, 05:44 AM
Last Post: pfeerick
  Boots just fine. Can not install new image. willpine 5 2,953 07-25-2017, 06:39 AM
Last Post: willpine
  unable to write an pine64 image on a 16G micro suresh 2 2,372 01-26-2017, 12:56 PM
Last Post: suresh
  Need support for Database use in debian jessie other than mysql sarav_sara 4 2,449 01-16-2017, 06:23 AM
Last Post: Luke

Forum Jump:


Users browsing this thread: 1 Guest(s)