Backing up with Linux

The System Administrator for the XYZ Company needs to back up some of the files on the server. These files are important to the company and losing these files would cause damage to the company. It is the System Administrators job to perform backups as preventative maintenance and to back up important files as required. | Lab Backing up with Linux Estimated Time 20 Minutes Objective To use the Backup utilities provided by the Linux operating system to perform a backup of directories and files on the hard disk. Equipment The following equipment is required for this exercise A computer system running Linux Red Hat Scenario The System Administrator for the XYZ Company needs to back up some of the files on the server. These files are important to the company and losing these files would cause damage to the company. It is the System Administrators job to perform backups as preventative maintenance and to back up important files as required. Procedures Use the Linux commands to perform a Back up procedure on the files that are going to be backed up. First make a directory and create files in that directory. Then back up the files and verify that the action was successful. Step 1 Creating the directories and files 1. At the Login command login with a student account and open a terminal window. 2. At the command prompt type mkdir bkupdir and then press Enter. This will create the directory in which to create the files. Verify with the ls command. Is the dir bkupdir there Y N 3. Next type cd bkupdir and then press Enter. 4. Type touch file_A file_B file_C and then press Enter. The touch command will create three files. Verify with the ls command. Are the three files there Y N 5. Type cd and then press Enter to get back to the home directory. 6. Next type ls - r bkupdir and then press Enter. This will show the directory and the files just created within the directory. 1 - 2 IT Essentials II - Lab Copyright 2002 Cisco Systems Inc. Step 2 Performing the Backup 1. Next backup the bkupdir directory. At the command prompt type tar -cv bkupdir and then press Enter. The symbol is used to send the contents of the bkupdir directory to the backup file. 2. Type ls -l to confirm the backup file was created. Is it there Y N 3. Type rm -fr bkupdir and then press

Bấm vào đây để xem trước nội dung
TỪ KHÓA LIÊN QUAN
TÀI LIỆU MỚI ĐĂNG
5    77    2    02-07-2024
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.