Get the App
SLTechnology News&Howtos  ›  Servers  › 

Centos7 in-depth understanding of file system and log information (2) xfs files

Shulou Source: shulou.com Published: 2022-06-03 10:18:22 12月06日 Update

Recovery of XFS files

1. Add a new disk, partition formatted and mounted

two。 Create a file on a new disk

3. Backup file

Xfsdump-f / opt/xfs_dump / dev/sdb1

4. Simulated data loss

5. Restore Fil

Xfsrestore-f / opt/xfs_dump / data/

You can use periodic scheduling tasks to schedule backups in case data is lost and can be recovered later

Tags: Files backups data disks tasks cycles formats information logs systems Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Apple Redmi Docker Linux macOS