From the course: LPIC-1 Exam 101 (Version 5.0) Cert Prep
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
Back up and restore an EXT filesystem - Linux Tutorial
From the course: LPIC-1 Exam 101 (Version 5.0) Cert Prep
Back up and restore an EXT filesystem
When creating a backup image of a file system, we'll first want to run a file system check on it. Let's do this for slash, dev, slash, vgdata, slash, lvdata. Make sure it's not mounted, first. Type in sudo, space, umount, space, slash, dev, slash, vgdata, slash, lvdata, and hit enter. Then run the file system check using e2fsck, type in sudo, space, e2fsck, space, slash, dev, slash, vgdata, slash, lvdata, and hit enter. Once the file system check is clean, we can create a backup. We'll create the backup using the dump command. First, let's install it. Type in clear, then type in sudo, space, yum, space, install, space, dash, y, space, dump, and hit enter. Once it's installed, we can create a backup. Type in clear, and type in sudo, space, dump, space, dash, 0uf, space, slash, home, slash, lvdata.dump. That would be our backup file. Space, slash, dev, slash, vgdata, slash, lvdata. That's the file system…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
-
-
-
-
-
-
-
-
-
-
(Locked)
Hard drive partitioning strategies5m 43s
-
(Locked)
List, create, delete partitions on MBR and GPT disks5m 55s
-
(Locked)
Create parititons using parted3m 20s
-
(Locked)
Resize partitions without losing data4m 44s
-
(Locked)
Basic features of logical volume management (LVM)2m 10s
-
(Locked)
Manage LVM volumes and volume groups6m 5s
-
(Locked)
Extend existing logical volumes2m 48s
-
(Locked)
Reduce existing logical volumes3m 44s
-
(Locked)
Replace a physical volume3m 58s
-
(Locked)
Create EXT filesystems3m 25s
-
(Locked)
Repair EXT filesystems4m 55s
-
(Locked)
Mount filesystems automatically4m 13s
-
(Locked)
Back up and restore an EXT filesystem2m 57s
-
(Locked)
Basic features of Btrfs3m 25s
-
(Locked)
Archiving files with tar4m 41s
-
(Locked)
-