To
analyze or repair a system failure, you might need to boot into the system.
But, what if the boot loader is corrupt or what if the filesystem can’t be
mounted anymore? Red Hat Enterprise Linux includes alternative boot methods for
system repair: rescue mode, single user mode, and emergency mode.
Search Engine
Loading
The rsync Utility
The rsync Utility
When
developing backup scripts, consider using the rsync utility. The rsync utility
allows you to copy from the local system to a remote system or copy between two
local directories. If the files exist in the destination directory, rsync only
transfers the differences in the files, which is ideal for backups. The rsync
RPM package is required and should already be installed on your system.
After
the rsync command-line arguments are listed, the first directory listed is the
source, and the second directory listed is the destination. If either directory
is preceded by a hostname and a colon (:), the directory is a remote directory.
For example, to transfer all home directories to the backup/ directory on the
remote server backup.example.com:
The tar Utility and compression
The tar Utility
When
backing up data that is no longer being used or data that is not frequently changed,
consider creating a compressed archive file using the tar archive utility in combination
with one of the compression tools such as gzip or bzip2. Creating a compressed
archive file results in one file that must be decompressed and unarchived before
files can be restored from it. The compression of the files saves room on the backup
media. To use tar, the tar RPM package must be installed. It should be
installed on your system unless you chose to only install a specific set of
packages. The tar utility does not preserve access control lists.
Subscribe to:
Posts (RSS)
Powered by Blogger.