Duply / Duplicity 备份失败,因为没有这样的文件或目录
Duply / Duplicity backup fails cause of no such file or directory
我正在使用 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 ---
一方面说 "Finished state OK",另一方面说 "Errors 2"。有点乱。
好的,这可能表示备份成功,但是关于 "Errors 2" 消息,我最好想修复它,我以后会收到 "Errors 0"。
有一些 cronjobs,在系统上每 7 分钟运行 "svn update"。
有人有想法吗?我期待着您的回答。谢谢!
没有理由担心。
输出仅说明无法访问提到的文件,这对于锁定文件是可能的。
备份完成 OK 否则,这些文件将不会被包含。考虑为 svn 锁定文件添加一个 globbing 表达式,例如
- **/.svn/lock
到您的排除文件。
..ede/duply.net
我正在使用 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 ---
一方面说 "Finished state OK",另一方面说 "Errors 2"。有点乱。
好的,这可能表示备份成功,但是关于 "Errors 2" 消息,我最好想修复它,我以后会收到 "Errors 0"。
有一些 cronjobs,在系统上每 7 分钟运行 "svn update"。
有人有想法吗?我期待着您的回答。谢谢!
没有理由担心。
输出仅说明无法访问提到的文件,这对于锁定文件是可能的。
备份完成 OK 否则,这些文件将不会被包含。考虑为 svn 锁定文件添加一个 globbing 表达式,例如
- **/.svn/lock
到您的排除文件。
..ede/duply.net