I am a relative novice at Linux. I have setup my configuration as I want but am concerned that I might make changes that break something.
Is it possible to backup and restore the Linux side ?
thanks .. Mike
I am a relative novice at Linux. I have setup my configuration as I want but am concerned that I might make changes that break something.
Is it possible to backup and restore the Linux side ?
thanks .. Mike
If you wish to backup, the best tool around is rsync. You'll be able to make a copy of every single file stored on the yun. Google for "rsync windows" if you're on windows.
If you only wish to reset the yun in case of mistakes, you have two options.
The main one is to press and hold the WLAN RST button for more than 30 seconds: if its' working, you'll see the wlan led blinking fast
The backup one is to upload YunSerialTerminal example, access the yun via serial monitor and type
reset-to-factory-anyway && reboot
sorry to be thick but dont understand - why do I run rsync windows to backup a linux machine?
I expected to run a linux utility to back up to the SD card
You can do both.
If you wish to backup to the SD, plug in an empty SD, install rsync with
opkg update
opkg install rsync
then backup with
rsync -av --progress / /mnt/sda1/
where /mnt/sda1 is your SD card
Can you also upload the arduino sketch with this?
And doing:
rsync -av --progress /mnt/sda1/ /
Would erase the current files on the yun and copy the ones in the SD card? Or would it keep all files in the yun and replace all with the same name and copy new files from the SD card?