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
1 changed files with 13 additions and 0 deletions
13
eth/backup-home-via-dd-to-iiscratch.sh
Executable file
13
eth/backup-home-via-dd-to-iiscratch.sh
Executable file
|
@ -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…
Add table
Reference in a new issue