Linux/Backup: Difference between revisions
< Linux
No edit summary |
No edit summary |
||
Line 18: | Line 18: | ||
<pre> | <pre> | ||
while /bin/true; do sleep 5; kill -USR1 `pidof dd`; done | while /bin/true; do sleep 5; kill -USR1 `pidof dd`; done | ||
oder | |||
watch -n N kill -USR1 `pidof dd` | |||
</pre> | </pre> | ||
</blockquote> | </blockquote> |
Revision as of 15:33, 10 November 2012
DD
- gzip image ohne dd
gzip -c < /dev/hda1 > /tmp/partition_image.gz
- dd
dd if=/dev/random bs=1M count=256 | gzip >./256-MB-random-data.bin
- dd status
while /bin/true; do sleep 5; kill -USR1 `pidof dd`; done oder watch -n N kill -USR1 `pidof dd`
Links
- http://www.merval.org/2012/03/bash-scripts/
- https://help.ubuntu.com/8.04/serverguide/backups-shellscripts-rotation.html
- http://tobias.schroepf.de/doku/doku.php?id=linux:backup
- http://ubuntuforums.org/archive/index.php/t-1675093.html
- http://hardforum.com/archive/index.php/t-1711020.html
- http://forums.veeam.com/viewtopic.php?p=51838