automation-suite
2023.10
false
重要 :
新发布内容的本地化可能需要 1-2 周的时间才能完成。
UiPath logo, featuring letters U and I in white

Linux 版 Automation Suite 安装指南

上次更新日期 2025年11月13日

How to clean up old differential backups on an NFS server

描述

NFS server disk usage can increase unexpectedly when old differential backup directories accumulate over time. This issue occurs when outdated backup data is not removed regularly, resulting in excessive disk space usage and potential storage issues.

解决方案

To address the issue, identify and remove outdated differential backup directories:
  1. Go to the differential backup directory path, as shown in the following example:
    cd NFS_MOUNT/objectstore/backup/s3/diffcd NFS_MOUNT/objectstore/backup/s3/diff
    
  2. List directories older than a specific epoch timestamp:
    epoch=<timestamp-from-last-backup-you-want-to-keep>; for i in $(ls -1); do if [[ $i -lt $epoch ]]; then echo $i; fi; doneepoch=<timestamp-from-last-backup-you-want-to-keep>; for i in $(ls -1); do if [[ $i -lt $epoch ]]; then echo $i; fi; done
    Replace <timestamp-from-last-backup-you-want-to-keep> with the epoch timestamp of the last backup you want to keep.

    This command lists all directories older than that timestamp.

  3. After verifying the output, delete the old directories:
    epoch=<timestamp-from-last-backup-you-want-to-keep>; for i in $(ls -1); do if [[ $i -lt $epoch ]]; then rm -rf $i; fi; doneepoch=<timestamp-from-last-backup-you-want-to-keep>; for i in $(ls -1); do if [[ $i -lt $epoch ]]; then rm -rf $i; fi; done
    
Important: Verify the timestamp before deleting any directories. Deleted directories cannot be recovered.
  • 描述
  • 解决方案

此页面有帮助吗?

获取您需要的帮助
了解 RPA - 自动化课程
UiPath Community 论坛
Uipath Logo
信任与安全
© 2005-2025 UiPath。保留所有权利。