使用 cp -R /opt/seafile /backup/data/seafile-
date +“%Y-%m-%d-%H-%M-%S”`` 备份,然后tar
打包成tar.gz
文件。
登录网页版看到使用空间 48.3 GB,备份出来的却有83G,怎么会差这么多?
用 du
命令看了一下服务器上的使用情况:
root@kxb-XD01:/opt/seafile/seafile-data# du -h --max-depth=1 storage/
1.2G storage/fs
84G storage/blocks
205M storage/commits
86G storage/
为什么会差这么多?