# stat data_bak.tar.gzFile: data_bak.tar.gzSize: 306156967300 Blocks: 597962840 IO Block: 4096 regular fileDevice: fd03h/64771d Inode: 553963 Links: 1Access: (0644/-rw-r--r--) Uid: ( 0/ root) Gid: ( 0/ root)Context: unconfined_u:object_r:unlabeled_t:s0Access: 2026-10-16 17:54:52.276527806 0800Modify: 2026-10-17 06:32:36.679787690 0800Change: 2026-10-17 06:32:36.679787690 0800Birth: 2026-10-16 17:54:52.276527806 0800根据你提供的stat数据这个文件的精确压缩时长为12 小时 37 分钟 44 秒。通过分析这三个核心时间戳我们可以清晰地还原当时的压缩过程开始压缩时间Birth/Access2026-10-16 17:54:52文件被创建并开始写入数据结束压缩时间Modify/Change2026-10-17 06:32:36数据全部写入完毕并关闭文件# du -sh *1.9T backups1.7T data286G data_bak.tar.gz1.2M nohup.out12K ssl# stat base.tar.gzFile: base.tar.gzSize: 1583844187071 Blocks: 3093445688 IO Block: 4096 regular fileDevice: fd03h/64771d Inode: 1073742529 Links: 1Access: (0640/-rw-r-----) Uid: ( 26/postgres) Gid: ( 26/postgres)Context: unconfined_u:object_r:unlabeled_t:s0Access: 2026-11-02 15:03:49.212703725 0800Modify: 2026-10-21 03:34:19.152752480 0800Change: 2026-10-21 03:34:19.152752480 0800Birth: 2026-10-20 14:10:29.732683746 0800# du -sh base.tar.gz1.5T base.tar.gz----压缩无用还费时-- 18 hours[ incr1]$ stat base.tar.gzFile: base.tar.gzSize: 1885095022312 Blocks: 3681826224 IO Block: 4096 regular fileDevice: fd0ah/64778d Inode: 1504747154 Links: 1Access: (0600/-rw-------) Uid: ( 26/postgres) Gid: ( 26/postgres)Context: unconfined_u:object_r:unlabeled_t:s0Access: 2026-11-04 13:14:03.568573202 0800Modify: 2026-11-05 06:40:13.238009350 0800Change: 2026-11-05 06:40:13.238009350 0800Birth: 2026-11-04 13:14:03.568573202 0800[ incr1]$ du -sh *4.7M backup_manifest1.8T base.tar.gz23G pg_wal.tar.gz-----3 hours[ incr_20261105]$ stat base.tarFile: base.tarSize: 2081321941504 Blocks: 4065081928 IO Block: 4096 regular fileDevice: fd0ah/64778d Inode: 7517056321 Links: 1Access: (0600/-rw-------) Uid: ( 26/postgres) Gid: ( 26/postgres)Context: unconfined_u:object_r:unlabeled_t:s0Access: 2026-11-05 12:28:19.231349091 0800Modify: 2026-11-05 14:19:39.369583852 0800Change: 2026-11-05 14:19:39.369583852 0800Birth: 2026-11-05 12:28:19.231349091 0800[ incr_20261105]$ du -sh *4.8M backup_manifest1.9T base.tar721M pg_wal.tar[ incr_20261105]$
阅读完成 · 觉得有帮助?