OpenMarine
backing up your TP sd card via sshsf? - Printable Version

+- OpenMarine (https://forum.openmarine.net)
+-- Forum: Pypilot (https://forum.openmarine.net/forumdisplay.php?fid=17)
+--- Forum: General discussion (https://forum.openmarine.net/forumdisplay.php?fid=18)
+--- Thread: backing up your TP sd card via sshsf? (/showthread.php?tid=1984)



backing up your TP sd card via sshsf? - rastam4n - 2019-09-11

Has anyone attempted this?
I should have a copy of my sd card for TP, heck I have several for Op, but with TP in that case its a bit finicky to get the card out... so now that I have ssh access to TP I wonder if I could use sshsf to mount the TP file system and then use Rpi SD card copier to make a copy of it?

I attempted to mount the root fs but i was given a warning and didn't want to risk moving forward without asking at least once! Tongue


RE: backing up your TP sd card via sshsf? - seandepagnier - 2019-09-11

Code:
sudo dd if=/dev/mmcblk0 bs=4M | nc <address> 12345
On the host <address>:
Code:
nc -l 12345 > tinypilot.img

Otherwise you could just scp the pypilot configuration

Code:
scp tc@192.168.14.1:.pypilot/pypilot.conf .