Title: Getting data home
1Getting data home
?
2Getting data home
?
FTP
3Getting data home
?
FTP
tapes
4Getting data home
?
FTP not secure
tapes incompatible
5Getting data home
?
FTP not secure
tapes incompatible
distracting
6Getting data home
?
http//bl831.als.lbl.gov/jamesh/beamline/moving_d
ata.html
7Getting data home
?
http//bl831.als.lbl.gov/jamesh/beamline/moving_d
ata.html http//bcsb-web.als.lbl.gov/beamline/Sec
tor8/DataBackup.htm
8Getting data home
?
http//bl831.als.lbl.gov/jamesh/beamline/moving_d
ata.html http//bcsb-web.als.lbl.gov/beamline/Sec
tor8/DataBackup.htm http//ucxray.berkeley.edu/j
amesh/elves/manual/tricks.html
9Can you login?
10Universal directory-transfer
- tar cf - .
- ssh user_at_home
- cd /dir tar xvf -
11Universal directory-transfer
- tar cf - .
- ssh user_at_home
- cd /dir tar xvf -
12Universal directory-transfer
- tar cf - .
- ssh user_at_home
- cd /dir tar xvf -
- Password
- Ctrl-z
- bg
13Making it faster
- tar cf - .
- compress
- ssh user_at_home
- cd /dir uncompress tar xvf -
14The easy way
- http//bl831.als.lbl.gov/jamesh/elves/scripts/sen
dhome - sendhome . user_at_home/dir
15Real Time
- http//bl831.als.lbl.gov/jamesh/elves/scripts/sen
dhome - sendhome first_001.img user_at_home/dir
16Through a firewall
- tar cf - .
- ssh user_at_firewall
- ssh fileserver
- cd /dir tar xvf -
17The other way
- ssh user_at_home
- cd /dir
- ssh user_at_beamline
- cd /data tar cf - .
- tar xvf
18The other way, faster
- ssh user_at_beamline
- cd /dir tar cf - . compress
- uncompress
- tar xvf
19The easy other way
- ssh user_at_beamline
- download yourname
- tar xvf
20What if it stops?
21What if it stops?
- ssh user_at_beamline
- download yourname frame_046.img
- tar xvf
22What if it stops?
- http//bl831.als.lbl.gov/jamesh/elves/scripts/sen
dhome - sendhome frame_046.img user_at_home/dir
23What if Im confused?
24What if Im confused?
4 steps
251) Generate a filename list
- find . -name .img
- gt! here.log
262) Generate a done list
- ssh user_at_home
- cd /dir find .
- gt! there.log
273) Make the todo list
- diff there.log here.log
- awk /gt/print 2
- gt! 2bsent.log
284) Feed still left list to tar
- cat 2bsent.log
- tar cTf - -
- ssh user_at_home
- cd /dir tar xvf -
29What if I cant login?
- ssh user_at_home
- warning Connecting to home failed Connection
Refused
30SneakerNet
31SneakerNet
32FireWire
33Realtime Firewire
34Realtime Firewire
35Realtime Firewire
- plug in
- share it
- smbclient
36Realtime Firewire
- tar cf - .
- smbclient
- //laptop/share U userpassword" -N -Tx -
37Realtime Firewire
- find .
- tar cTf - -
- smbclient
- //laptop/share U userpassword" -N -Tx -
38The easy way
- http//bl831.als.lbl.gov/jamesh/beamline/backup_f
irewire.com.txt - backup_firewire.com .
39DVD
40DVD
41HOWTO make a DVD
- mkisofs -r -J .
- gt! image.iso
42HOWTO make a DVD
- mkisofs -r -J .
- gt! image.iso
- dvdrecord dev0,0,0
- data image.iso
43The easy way
- http//bl831.als.lbl.gov/jamesh/beamline/backup_l
ocal.com.txt - backup_local.com .
44The easy way
- http//bl831.als.lbl.gov/jamesh/beamline/backup_l
ocal.com.txt - backup_local.com .
- http//bl831.als.lbl.gov/jamesh/beamline/autolabe
l.com.txt - autolabel.com
45(No Transcript)
46DVD data archive
47DVD data archive
48DVD data archive
49DVD data archive
50DVD data archive
51DVD data archive
52DVD data archive
53Acknowledgments
Beamline 8.3.1 staff
- George Meigs
- Jane Tanamachi