Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revision Both sides next revision | ||
searchwing-image-download-station [2020/02/29 11:45] beckmanf [setup Laptop] |
searchwing-image-download-station [2020/02/29 20:24] j0ge4622 |
||
---|---|---|---|
Line 94: | Line 94: | ||
sudo systemctl start rsync | sudo systemctl start rsync | ||
+ | | ||
+ | | ||
+ | |||
+ | ==== transfer images ==== | ||
+ | |||
+ | run datatransfer task on each pi ( later triggered via script @ groundcontrol pc): e.g. | ||
+ | |||
+ | rsync -auv --progress /data/bilder/ rsync://GROUNDSTATIONIP/ringo-05032020_0915h-cam-r | ||
+ | |||
+ | | ||
+ | Don't use the -z option which compresses the data. The images are already compressed and the CPU load will result in 1 MB/s transfer rate compared to 3-4 MB/s without the -z option. (Beck, 23.2.20) | ||
+ | If you like to transfer and delete the images from the pi, use the --remove-source-files option. | ||
+ | |||
+ | ==== troubleshooting ==== | ||
+ | |||
+ | rsync error: error starting client-server protocol (code 5) at main.c(1675) [sender=3.1.3] | ||
+ | |||
+ | Check if folder on receiverside exists. | ||
+ | |||
+ | To get an idea whats the cause of the error - checkout rsync service status on receiverside (laptop): | ||
+ | |||
+ | sudo systemctl status rsync | ||
Line 124: | Line 146: | ||
* Username: YOURUSERNAME@hs-augsburg.de | * Username: YOURUSERNAME@hs-augsburg.de | ||
* Password: YOURPASSWORD | * Password: YOURPASSWORD | ||
- | |||
- | |||
- | |||
- | ==== transfer images ==== | ||
- | |||
- | run datatransfer task on each pi ( later triggered via script @ groundcontrol pc): e.g. | ||
- | |||
- | rsync -avv -u --progress -h /data/bilder/ rsync://GROUNDSTATIONIP/ringo-05032020_0915h-cam-r | ||
- | | ||
- | Don't use the -z option which compresses the data. The images are already compressed and the CPU load will result in 1 MB/s transfer rate compared to 3-4 MB/s without the -z option. (Beck, 23.2.20) | ||
- | |||
- | ==== troubleshooting ==== | ||
- | |||
- | rsync error: error starting client-server protocol (code 5) at main.c(1675) [sender=3.1.3] | ||
- | |||
- | Check if folder on receiverside exists. | ||
- | |||
- | To get an idea whats the cause of the error - checkout rsync service status on receiverside (laptop): | ||
- | |||
- | sudo systemctl status rsync | ||