备份失败,出现“无剩余空间”错误

备份失败,出现“无剩余空间”错误

因此,我在 100GB 硬盘上留出了一个备份分区(老的我有一个大约 30 GB 的计算机。我有一些文件希望 Windows 和 Ubuntu 都能访问(NTFS 分区),以及 Ubuntu 的备份目录。

但是,当它自动备份时,它说没有剩余空间。我的备份设置如下:

备份截图1 备份截图2

并且它表示将保留旧备份,直到备份位置空间不足为止。如果空间不足,为什么不删除旧备份?是备份目录中的空间太低(再次删除旧备份)还是我的或有/tmp问题~/.cache

我看了这个问题:为什么 Déjà Dup 说没有剩余空间?,但这没有任何帮助。据我所知,我的 tmp 文件夹和 .cache 文件夹不是太大:

tmp 文件夹规格 .cache 文件夹规格

编辑:(2013年11月18日)

通过命令添加的结果(duplicity remove-all-but-n-full 1 file:///media/nate/Backup/Backup --force):

Synchronizing remote metadata to local cache...
Copying duplicity-full-signatures.20130901T193629Z.sigtar.gz to local cache.
Copying duplicity-full.20130901T193629Z.manifest to local cache.
Copying duplicity-inc.20130901T193629Z.to.20130905T184555Z.manifest to local cache.
Copying duplicity-inc.20130905T184555Z.to.20130912T120237Z.manifest to local cache.
Copying duplicity-inc.20130912T120237Z.to.20130919T173913Z.manifest to local cache.
Copying duplicity-inc.20130919T173913Z.to.20130926T110023Z.manifest to local cache.
Copying duplicity-inc.20130926T110023Z.to.20131003T111040Z.manifest to local cache.
Copying duplicity-inc.20131003T111040Z.to.20131010T112231Z.manifest to local cache.
Copying duplicity-inc.20131010T112231Z.to.20131019T172556Z.manifest to local cache.
Copying duplicity-inc.20131019T172556Z.to.20131024T120102Z.manifest to local cache.
Copying duplicity-new-signatures.20130901T193629Z.to.20130905T184555Z.sigtar.gz to local cache.
Copying duplicity-new-signatures.20130905T184555Z.to.20130912T120237Z.sigtar.gz to local cache.
Copying duplicity-new-signatures.20130912T120237Z.to.20130919T173913Z.sigtar.gz to local cache.
Copying duplicity-new-signatures.20130919T173913Z.to.20130926T110023Z.sigtar.gz to local cache.
Copying duplicity-new-signatures.20130926T110023Z.to.20131003T111040Z.sigtar.gz to local cache.
Copying duplicity-new-signatures.20131003T111040Z.to.20131010T112231Z.sigtar.gz to local cache.
Copying duplicity-new-signatures.20131010T112231Z.to.20131019T172556Z.sigtar.gz to local cache.
Copying duplicity-new-signatures.20131019T172556Z.to.20131024T120102Z.sigtar.gz to local cache.
Last full backup date: Sun Sep  1 15:36:29 2013
No old backup sets found, nothing deleted.

编辑:(2013年11月19日)

duplicity cleanup file:///media/nate/Backup/Backup --force

Local and Remote metadata are synchronized, no sync needed.
Last full backup date: Sun Sep  1 15:36:29 2013
GnuPG passphrase: 
No extraneous files found, nothing deleted in cleanup.

答案1

按照以下步骤释放尽可能多的空间,同时保留最新备份


通过 duplicity 删除旧备份

您可以尝试删除旧的备份文件手动

要删除除上次完整备份之外的所有内容,请打开终端并运行以下命令:

duplicity remove-all-but-n-full 1 file:///media/nate/Backup/ --force

删除失败的备份会话中的文件

如果仍然没有备份空间,这可能会有所帮助(它会从失败的备份会话中删除文件):

duplicity cleanup file:///media/nate/Backup/ --force

仍然没有空间

但对于你的情况,我认为备份分区是刚刚满

  • 完整备份(自 2013-09-01 起),以及
  • 多次递增(至 2013-10-19)。

这意味着 Duplicity/Ubuntu Backup 不会删除任何文件,因为这会破坏最新的备份。

因此,目前,您需要在其他地方找到备份空间并运行新备份。或者,您可以手动删除当前备份,然后立即运行新备份。但请记住,在新备份成功完成之前,您不会有任何备份。

相关内容