Get the App
SLTechnology News&Howtos  ›  Servers  › 

How does AIX back up an entire folder or a single file

Shulou Source: shulou.com Published: 2022-06-01 14:17:47 11月14日 Update

This article mainly explains "how to back up an entire folder or a single file by AIX". Interested friends may wish to take a look. The method introduced in this paper is simple, fast and practical. Let's let the editor take you to learn how AIX backs up an entire folder or a single file.

Backup device: / dev/rmt0; need to back up all: / home

Backup steps:

1. Remove / home:#umount / home

two。 If the removal fails, it is used by a process.

List the usage processes: # lsof / home

Terminate the related process: # kill-9 PID

3. Check the file system: # fsck / home

4. Backup: backup-f / dev/rmt0-0-u / home

-0: indicates full backup

1-9: indicates a file that has been modified after the n-1st backup

5. Install / home:#mount / home

You need to back up a single file or folder (backup. / prifle;/home/test ends with Ctrl+D):

# backup-f / dev/rmt0-iq

. / prifile

/ home/test

^ D

At this point, I believe you have a deeper understanding of "how AIX backs up an entire folder or a single file". You might as well do it in practice. Here is the website, more related content can enter the relevant channels to inquire, follow us, continue to learn!

Tags: Backup file single folder process content learning practical deeper interest practical easy to operate method more friends steps system website device Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno NVidia Shulou Information macOS Linux Redmi