| d5 | d6 | d7 | d8 | |
| avalon007 | ✔ | |||
|---|---|---|---|---|
| baixue | ✔ | |||
| fanyx | ✔ | |||
| hg | ✔ | |||
| jingyi | ✔ | |||
| liun | ✔ | |||
| lixinming | ✔ | |||
| panying | ✔ | |||
| sunjh | ✔ | |||
| yxue | ✔ | |||
| zhangyj | ✔ | |||
| zhouqiao | ✔ |
$cat panying.backup
red:/home/panying/work/csp red:/mnt/d2/panying/others/lx md
0,buy a disk
1,format and partition your mobile drive
--> install the a tool for formating ext4:[[http://www.diskgenius.cn/|diskgenius]]
-install
-format this into ext4
* sudo mkfs.ext4 /dev/sdc3
2,after insert your disk into rainbow,you need to mount your disk
dmesg|tail #check if disk can be detected
#generally speaking, sda/sdb would be "home" and "d2" respectively
sudo cfdisk /dev/sdc
#to check which one is ext4 format
pmount /dev/sdc2 py
cd /media/py
sudo chown panying:xue /media/py
# in case any permission denied would occur
#can skip if the owner is yourself
sh download.sh &
$cat download.sh
#!/bin/bash
rsync -avz /home/panying /media/py/rainbow --exclude-from=/home/panying/cmd/exclude.me
$cat exclude.me
.AppleDouble
2rr
2ri
2ir
2ii
1r
1i
nc
dcd
#Exclude *.dcd和*.nc。
#making increment backup
pumount py #unmout
3,install a tool for reading your data in windows/macs
windows: linuxreader mac: paragon
4,backup your data on your own
pmount /dev/sdd3 py
rsync ****
pumount /media/py
try mount another partition *eg: /dev/sdd3 is currently mounted as py *punmout /media/py *pmount /dev/sdd2 py
# umount /media/disk/
umount: /media/disk: device is busy
umount: /media/disk: device is busy
# fuser -m /dev/sdc1
/dev/sdc1: 538
# ps auxw|grep 538
donncha 538 0.4 2.7 219212 56792 ? SLl Feb11 11:25 rhythmbox
during data backup, fail to read /media/py anymore
mount failed due to disconnect accidentally.
*see if /media/py is still mounted: df -h
*if it is,force to unmout:sudo umount /media/py
*remove: rmdir /media/py
*rmdir only remove empty directory!