Synchronization
This is a very important and common task that people need to do in keeping their data synchronized between devices. There are many ways for this to happen and we hopefully can improve this over time. If you have a suggestion or a way to do synchronization, please list out how so others can benefit. Detailed below are ways people are synchronizing and backing up their Qi Hardware:
Contents |
Memory Card
If you are using a Ben Nanonote, then you can save your files onto a microSD using the microSD slot. Also, the Milkymist One has a microSD slot. This is a simple way to make backups and move data manually between devices. microSD memory cards are cheap, so this is a good simple solution. While you are at it, make a few different backups!
| This section is incomplete. You can help by expanding it Need to have some steps listed for how to do this.. |
Git
Using Git is a way to maintain revision control and backups across systems that support Git. It is a bit more difficult than just drag and dropping of files, and can be configured many different ways which can be confusing.
For large data (ebooks, music, etc), git-annex is a tool for managing large files, but not having to check them out: http://git-annex.branchable.com/
| This section is incomplete. You can help by expanding it Need to have some steps listed for how to do this.. |
Using UDEV
On Linux-based systems, one can make UDEV rules to define a way to sync or backup a device like the Ben Nanonote when its plugged into a UDEV-based system.
| This section is incomplete. You can help by expanding it Need to have some steps listed for how to do this.. |
SCP + UDEV
Some prefer to use a combination of SCP or Rsync and a simple udev rule to backup the home directory or the main folder used on a system like Ben Nanonote to ones main system. Some even use the same folder for this practice, Be careful though!
| This section is incomplete. You can help by expanding it Can we see the directive for this?. |
Unison
One tool called Unison, handles two-way synchronization between folders, even on different computers.
Nanonote Plugged-in Script
Usingubuntu from the Qi mailing list has this setup:
I followed the steps in this guide¹, then added the following lines to the "nanonote-plugged-in" script: ssh root@bennanonote "date -s $(date +%Y%m%d%H%M)" ssh root@bennanonote "/sbin/hwclock -w" scp -r root@bennanonote:/root/ /home/user_name/nn/ scp -r root@bennanonote:/etc/ /home/user_name/nn/ My additions just backup my Nanonote and set the date, but you can do practically anything. Note that this requires passwordless login. A bit tricky to set up, but well worth the effort. ¹http://en.qi-hardware/wiki/Ethernet_Over_USB under the "Making it Persistent" section.