重复/重复备份失败,原因是没有这样的文件或目录



我正在使用重复/重复备份我的/var/www目录,但任务不工作。它总是失败,并显示以下错误信息:

    Copying duplicity-new-signatures.20150827T090338Z.to.20150828T000005Z.sigtar.gz to local cache.
    [...]
    Copying duplicity-new-signatures.20150828T000005Z.to.20150828T044355Z.sigtar.gz to local cache.
    Copying duplicity-new-signatures.20150828T044355Z.to.20150828T062114Z.sigtar.gz to local cache.
    Warning, found incomplete backup sets, probably left from aborted session
    Last full backup date: Sat May 16 02:00:35 2015
    Error [Errno 2] No such file or directory: '/var/www/example.de/sites/all/libraries/tinymce/jscripts/tiny_mce/themes/advanced/skins/default/img/.svn/lock' getting delta for example.de/sites/all/libraries/tinymce/jscripts/tiny_mce/themes/advanced/skins/default/img/.svn/lock
    Error [Errno 2] No such file or directory: '/var/www/example.com/sites/all/themes/default/radar/js/model/.svn/lock' getting delta for example.com/sites/all/themes/default/radar/js/model/.svn/lock
    --------------[ Backup Statistics ]--------------
    StartTime 1440753923.05 (Fri Aug 28 11:25:23 2015)
    EndTime 1440758448.61 (Fri Aug 28 12:40:48 2015)
    ElapsedTime 4525.56 (1 hour 15 minutes 25.56 seconds)
    SourceFiles 3470665
    SourceFileSize 35369709861 (32.9 GB)
    NewFiles 112298
    NewFileSize 9001483 (8.58 MB)
    DeletedFiles 2553
    ChangedFiles 36251
    ChangedFileSize 107956213 (103 MB)
    ChangedDeltaSize 0 (0 bytes)
    DeltaEntries 151102
    RawDeltaSize 76391479 (72.9 MB)
    TotalDestinationSizeChange 17917453 (17.1 MB)
    Errors 2
    -------------------------------------------------
    --- Finished state OK at 12:41:10.546 - Runtime 01:25:34.364 ---
    --- Start running command POST at 12:41:10.622 ---
    Skipping n/a script '/root/.duply/www-backup/post'.
    --- Finished state OK at 12:41:10.691 - Runtime 00:00:00.069 ---

一方面显示"Finished state OK",另一方面显示"Errors 2"。这有点令人困惑。

好的,这可能表示备份成功,但是关于"Errors 2"消息,我最好想要修复它,我将来会收到"Errors 0"。

有一些cronjob,每7分钟运行一次"svn update"。

有人有主意吗?我期待着你的回答。谢谢!

不用担心。

输出仅仅说明上述文件不能被访问,这对于锁文件是可能的。

备份完成OK,否则这些文件将不包含。考虑为SVN锁文件添加一个全局表达式,例如

- **/.svn/lock 

到你的排除文件

…爱德/duply.net

相关内容

  • 没有找到相关文章