DDBR method to backup and restore

General discussion relating to the O2 Joggler, from the default O2 setup, to alternative operating systems and applications.
Post Reply
cszhy
Posts: 129
Joined: Sun Apr 24, 2011 5:25 am

DDBR method to backup and restore

Post by cszhy »

Hi all:

I know people use ddbr method to backup and restore their linux device.
they make a bootable USB from Armbian image . then Use the command "ddbr"  to make a backup file of the internal EMMC. 
The backup file will be in /ddbr of the USB device
when need to Restore that image file you just run the command "ddbr" then choose "r"
I think maybe it can also use on joggler to make share much easier

通过我的 PCCM00 上的 Tapatalk发言

User avatar
pete
Posts: 2938
Joined: Mon Aug 01, 2011 6:33 am
Location: Time Traveler

Re: DDBR method to backup and restore

Post by pete »

Great Idea.

I currently utilize Armbian on the Pine64 computer to run Home Assistant.

Code: Select all

|  _ \(_)_ __   ___ / /_ | || |  
| |_) | | '_ \ / _ \ '_ \| || |_ 
|  __/| | | | |  __/ (_) |__   _|
|_|   |_|_| |_|\___|\___/   |_|  
                                 
Welcome to Armbian 22.05.3 Focal with Linux 5.15.48-sunxi64

System load:   40%           	Up time:       9 days 6:10	
Memory usage:  43% of 1.94G  	Zram usage:    16% of 0.97G  	IP:	       172.17.0.1 192.168.245.140 172.30.32.1
CPU temp:      34°C           	Usage of /:    34% of 29G    	

Last login: Thu Aug 25 20:16:47 2022 from 192.168.242.130
and for a while was making little TV boxes Armbian servers and they ran KODI for a bit.
- Pete
O2 Jogglers running EFI Ubuntu / Squeezeplayer
OpenPeak Voip Telephony / Zigbee tabletops hardware modded with Seabios / RTC / Ethernet ROM edits / SSD drives running XPe for automation screens

Auto mater
cszhy
Posts: 129
Joined: Sun Apr 24, 2011 5:25 am

Re: DDBR method to backup and restore

Post by cszhy »

pete wrote:Great Idea.

I currently utilize Armbian on the Pine64 computer to run Home Assistant.

Code: Select all

|  _ \(_)_ __   ___ / /_ | || |  
| |_) | | '_ \ / _ \ '_ \| || |_ 
|  __/| | | | |  __/ (_) |__   _|
|_|   |_|_| |_|\___|\___/   |_|  
                                 
Welcome to Armbian 22.05.3 Focal with Linux 5.15.48-sunxi64

System load:   40%           	Up time:       9 days 6:10	
Memory usage:  43% of 1.94G  	Zram usage:    16% of 0.97G  	IP:	       172.17.0.1 192.168.245.140 172.30.32.1
CPU temp:      34°C           	Usage of /:    34% of 29G    	

Last login: Thu Aug 25 20:16:47 2022 from 192.168.242.130
and for a while was making little TV boxes Armbian servers and they ran KODI for a bit.
maybe you can have a try.
the only problem is the default backup folder is in the emmc. I think that space of joggler might not big enough.

通过我的 PCCM00 上的 Tapatalk发言

User avatar
pete
Posts: 2938
Joined: Mon Aug 01, 2011 6:33 am
Location: Time Traveler

Re: DDBR method to backup and restore

Post by pete »

Thinking about this and years ago before writing to my test Openpeak devices I would just boot up with a Ubuntu USB stick and do a DD of the emmc to the USB stick or something similiar.

I did most of this with Verizon (openpeak) telco Openpeak devices. Not sure if these images are posted here. Its been so long ago.

That said the base EFI bios (1 Mb) boot files are posted here. That is where I am using the Avaya boot bios EFI stuff.

That and most of my old Jogglers, Openpeak devices have eMMCs that are starting to fail so I do not utilize them anymore much. Rather use the small 16Gb SSD drives which are ZIF connected.

Here also using first generation Intel based micro with a 64Gb eMMC. It came with Windows 8-10 and I wiped that out and installed Linux on it years ago. Think that it is a BeeLink Intel Micro PC. Personally like using Intel CPUs over Arm based CPUs but that is me.

Beelink specs are:

CPU

Code: Select all

Model:               76
Model name:          Intel(R) Atom(TM) x5-Z8350  CPU @ 1.44GHz
Stepping:            4
CPU MHz:             1908.598
CPU max MHz:         1920.0000
RAM:

Code: Select all

free -h
              total        used        free      shared  buff/cache   available
Mem:           3.7G        660M        281M         23M        2.8G        2.8G
Swap:          1.6G         19M        1.6G
Emmc:

Code: Select all

df -h
Filesystem      Size  Used Avail Use% Mounted on
udev            1.9G     0  1.9G   0% /dev
tmpfs           384M  1.6M  382M   1% /run
/dev/mmcblk0p5   57G   34G   21G  62% /
tmpfs           1.9G  8.0K  1.9G   1% /dev/shm
tmpfs           5.0M  4.0K  5.0M   1% /run/lock
tmpfs           1.9G     0  1.9G   0% /sys/fs/cgroup
/dev/loop0      114M  114M     0 100% /snap/core/13308
/dev/loop2       56M   56M     0 100% /snap/core18/2409
/dev/loop5      1.2M  1.2M     0 100% /snap/mosquitto/704
/dev/loop6      114M  114M     0 100% /snap/core/13425
/dev/loop4       56M   56M     0 100% /snap/core18/2538
/dev/loop3      130M  130M     0 100% /snap/nutty/10
/dev/mmcblk0p1   96M   71M   26M  74% /boot/efi
tmpfs           384M   12K  384M   1% /run/user/1000
/dev/loop7      1.2M  1.2M     0 100% /snap/mosquitto/776
tmpfs           384M     0  384M   0% /run/user/0
- Pete
O2 Jogglers running EFI Ubuntu / Squeezeplayer
OpenPeak Voip Telephony / Zigbee tabletops hardware modded with Seabios / RTC / Ethernet ROM edits / SSD drives running XPe for automation screens

Auto mater
Post Reply