
#15 How to Backup your Raspberry PI - DRAWS Hat Backups
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
Other Videos By Temporarily Offline
2020-04-22 | #37 How To Build a 20m Dipole - Ham Radio Portable or Bust #1 |
2020-03-28 | Saturday Contest Stream CQ-WPX-SSB |
2020-03-27 | CQ-WW-WPX-SSB Contest |
2020-03-03 | #35 How to Type on your Computer with a Morse Code USB Keyboard Adapter Pt 2 |
2020-02-25 | #34 How to Type on your Computer with a Morse Code USB Keyboard Adapter Pt 1 |
2020-02-18 | #33 How to Build a Low Power Radio - QRPGuys DSB Transceiver Kit #5 |
2020-02-18 | #29 How to Build a Low Power Radio - QRPGuys DSB Transceiver Kit #1 |
2020-02-18 | #30 How to Build a Low Power Radio - QRPGuys DSB Transceiver Kit #2 |
2020-02-18 | #32 How to Build a Low Power Radio - QRPGuys DSB Transceiver Kit #4 |
2020-02-18 | #31 How to Build a Low Power Radio - QRPGuys DSB Transceiver Kit #3 |
2019-06-07 | #15 How to Backup your Raspberry PI - DRAWS Hat Backups |
2019-04-14 | #5 How to make FT8 contacts with your DRAWS GPS & Yaesu FT-891 |
2019-04-08 | #4 DRAWS First Boot, WIFI Config, Remote Control and Short Tour |
2019-04-02 | #3 DRAWS - Digital Amateur Radio Workstation |