add script to save crypted home partition
Signed-off-by: Nico Schottelius <nico@ikn.schottelius.org>
This commit is contained in:
parent
24e7659488
commit
a278cf609c
|
@ -0,0 +1,13 @@
|
|||
#!/bin/sh -e
|
||||
|
||||
bs=32k
|
||||
nice=20
|
||||
|
||||
base=/auto/iiscratch/nicosc/
|
||||
old=$base/ikn
|
||||
new=$base/ikn2
|
||||
|
||||
date
|
||||
time nice -n $nice dd if=/dev/sda3 of=$new bs=$bs
|
||||
mv $new $old
|
||||
date
|
Loading…
Reference in New Issue