Difference between revisions of "Eyesis4Pi 393 User Guide - Download"

From ElphelWiki
Jump to: navigation, search
(Created page with "===Internal SSDs=== # int_ssd_download.py will connect to the cameras over ssh a few times ssh-copy-id root@192.168.0.161 ssh-copy-id root@192.168.0.162 ssh-copy-id root@1...")
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
===Internal SSDs===
+
==Scripts==
 +
[https://github.com/Elphel/elphel-tools-x393 elphel-tools-x393]
 +
==Internal SSDs==
 
  # int_ssd_download.py will connect to the cameras over ssh a few times
 
  # int_ssd_download.py will connect to the cameras over ssh a few times
 +
 
  ssh-copy-id root@192.168.0.161
 
  ssh-copy-id root@192.168.0.161
 
  ssh-copy-id root@192.168.0.162
 
  ssh-copy-id root@192.168.0.162
 
  ssh-copy-id root@192.168.0.163
 
  ssh-copy-id root@192.168.0.163
  # skip ''12x''10GB from beginning, download ''3x''10GB
+
  ./int_ssd_download.py -m eyesis4pi /data/footage/test_20170308a/ -s 12 -n 3
+
  # for 161 and 162: skip '''12x'''10GB from beginning, download '''3x'''10GB, change cables
  # change cables if there's only one eSATA port in PC otherwise modify the script.
+
 +
  ./int_ssd_download.py -c root@192.168.0.161 -p /dev/sdb2 /data/footage/test_20170308a/ -s 12 -n 3
 +
./int_ssd_download.py -c root@192.168.0.162 -p /dev/sdb2 /data/footage/test_20170308a/ -s 12 -n 3
 +
 +
  # for 163: since it's roughly 1/6 of 161 (=162) data, skip '''2x'''10GB from beginning, download '''1x'''10GB
 +
 +
./int_ssd_download.py -c root@192.168.0.163 -p /dev/sdb2 /data/footage/test_20170308a/ -s 2 -n 1
 +
 
 +
# Extract images
 +
./extract_images.php path=/data/footage/test_20170308a dest_path=0
 +
 
 +
==External SSDs==
 +
# use dd or ext_ssd_download.py

Revision as of 15:39, 16 March 2017

Scripts

elphel-tools-x393

Internal SSDs

# int_ssd_download.py will connect to the cameras over ssh a few times

ssh-copy-id root@192.168.0.161
ssh-copy-id root@192.168.0.162
ssh-copy-id root@192.168.0.163

# for 161 and 162: skip 12x10GB from beginning, download 3x10GB, change cables

./int_ssd_download.py -c root@192.168.0.161 -p /dev/sdb2 /data/footage/test_20170308a/ -s 12 -n 3
./int_ssd_download.py -c root@192.168.0.162 -p /dev/sdb2 /data/footage/test_20170308a/ -s 12 -n 3

# for 163: since it's roughly 1/6 of 161 (=162) data, skip 2x10GB from beginning, download 1x10GB

./int_ssd_download.py -c root@192.168.0.163 -p /dev/sdb2 /data/footage/test_20170308a/ -s 2 -n 1
# Extract images
./extract_images.php path=/data/footage/test_20170308a dest_path=0

External SSDs

# use dd or ext_ssd_download.py