Download presentation
Presentation is loading. Please wait.
Published byFelicity Gilmore Modified over 8 years ago
1
CIS 193A – Lesson7 Restoration
2
CIS 193A – Lesson7 Focus Question Compare the ability of various backup/restore utilities to provide ease of access and secure storage of your system data.
3
CIS 193A – Lesson7 Backup/Restore System Utilities tar – backs up files according to a directory hierarchy cpio – backs up files that match a given set of criteria. dump/restore – performs multi- level backups of file systems.
4
CIS 193A – Lesson7 The TAR Command Best used for directory structures within a file system. Works well with stdin/stdout and various filters. Create an archive: tar cvf archive.tar dir [dir…] ssh user@hostname “tar cf – dir” > archive.tar ssh user@hostname “tar cf – dir” | [gzip|gpg] Extract an archive: tar xvf archive.tar [filename|dirname] ssh user@backuphost “cat archive.tar” | tar xvf -
5
CIS 193A – Lesson7 The CPIO Comamnd Primary advantage is that it is a filter which can receive input from the find command. Create an archive: find … | cpio –vocB –O device|filename find … | cpio –vocB | [gzip|gpg] > backup Extract an archive: cpio –vicdumB –I device|filename zcat archive.cpio.gz | cpio -vicdumB
6
CIS 193A – Lesson7 Dump and Restore Dump allows incremental backups of entire, single file systems Restore offers a browsable index of files in the archive and the ability to extract all or selected files only. Examples: ssh user@hostname “dump –1uf - /dev/…” > archive.dmp restore –if archive.dmp restore –xf archive.dmp
7
CIS 193A – Lesson7 Review
8
CIS 193A – Lesson7 Focus Question Compare the ability of various backup/restore utilities to provide ease of access and secure storage of your system data.
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.