Dupful / Duplicity备份失败导致没有此类文件或目录

时间:2015-08-28 11:05:59

标签: svn backup remote-backup duplicity duplicity-backup

我正在使用duply / Duplicity备份我的/ 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 ---

一方面它表示"完成状态OK"另一方面它说"错误2"。这有点令人困惑。

好的,这可能意味着备份成功,但关于"错误2"消息,我最好想要解决它,我收到的"错误0"将来。

有一些cronjobs,运行" svn update"系统每7分钟一次。

有没有人有想法?我期待着你的回答。谢谢!

1 个答案:

答案 0 :(得分:0)

没有理由担心。

输出仅表明无法访问所提到的文件,这对于锁定文件是可能的。

备份完成,否则,这些文件将不会包含在内。考虑为svn锁文件添加一个globbing表达式,例如

- **/.svn/lock 

到你的排除档案。

..埃德/ duply.net