(Tips & Tricks) Clone partitions

December 29, 2012

Use tar to copy (clone) complete partitions.

# tar -clf – /boot | tar -xf – -C /clone
# tar -clf – /home | tar -xf – -C /clone
# tar -clf – / | tar -xf – -C /clone

The -l option is to stay in the local filesystem.

 
"What's the difference between roast beef and pea soup? Anyone can roast beef."

Powered by Wordpress. Theme by Shlomi Noach, openark.org
© 1997 - 2020 KwaLinux Trainingen | Algemene voorwaarden | KvK: 10147727 | BTW-id: NL001873211B65 | Disclaimer