#15 How to Backup your Raspberry PI - DRAWS Hat Backups

#15 How to Backup your Raspberry PI - DRAWS Hat Backups

Subscribers:
42,000
Published on ● Video Link: https://www.youtube.com/watch?v=WxJRPDE7Q4Q



Duration: 15:04
707 views
23


We sure do get a lot of updates. Wouldn't it be nice to have a failsafe/fallback in the event of some update problem? Here I go into 2 ways to backup your DRAWS workstation.

After we're all done, if you ever run into a problem, just put your backup SD card in and reboot!

Commands:

# Check what is mounted and some data about it
df -h

# Check what drives are attached, find the one that is NOT mmcblk
lsblk

# Create your target partitions
parted /dev/{Your device name}
mklabel msdos
mkpart primary fat16 1MiB 64MB
mkpart primary ext4 64MB -1s
print
quit

# Format your new partitions
mkfs.vfat /dev/{Your device name}1
mkfs.ext4 -j /dev/{Your device name}2

# Create mount points and mount
mkdir /tmp/drawsbk
mount /dev/{Your device name}2 /tmp/drawsbk
mkdir /tmp/drawsbk/boot
mount /dev/{Your Device name}1 /tmp/drawsbk/boot

# now let's see it:
df -h

## copy all files to the new SD card
cd /
rsync -av --exclude /tmp --one-file-system / /boot /tmp/drawsbk

# Are we close?
df -h

# Update your boot parameters for a happy boot
ls -al /dev/disk/by-partuuid

# Note which UUIDs belong to which and
{edit} /tmp/drawsbk/etc/fstab
{edit} /tmp/drawsbk/boot/cmdline.txt #be sure to use partition #2 here

****

GUI -} Menu -} Accessories -} SD Card Copier

**********************

Get Yours: http://nwdigitalradio.com/
Draws Wiki: https://nw-digital-radio.groups.io/g/udrc/wiki/home
USB 3.0 SD Card Reader: https://www.amzn.com/B06XTQZS4F

USB Cable https://amzn.to/2Deotfw
GPS Antenna https://amzn.to/2IwRB59
FT-891 https://amzn.to/2DbS1KC

Camera https://amzn.to/2V9Pl7h
Tripod https://amzn.to/2UjrWmS

PayPal Donations: https://paypal.me/temporarilyoffline


Where possible, all links are affiliate links, this youtube thing is an expensive endeavor and every little bit helps.

ย Hardware Donations:

TemporarilyOffline
P.O. Box 101
Luck, WI 54853

HAM Radio Digital Modes FT8 wsjt-x raspberry pi electronics GPS







Tags:
HAM Radio
RADIO
DRAWS
Raspberry Pi
Amateur Radio
linux
backup