简体   繁体   English

是否在读取文件或启动 duply 命令时重复备份文件的 state?

[英]Does duply back up the state of a file when it is read or when duply command is started?

I want to back up 100 TBs of data.我想备份 100 TB 的数据。 The backup task should take 30 days given my computation power and bandwidth.考虑到我的计算能力和带宽,备份任务应该需要 30 天。 But the data are not stagnant.但数据并没有停滞不前。 During the progress of back up, data will be modified/created/deleted within the source directory.在备份过程中,数据将在源目录中被修改/创建/删除。

Question is will duply/duplicity back up the state of files when a file is read or when backup is initiated?问题是在读取文件或启动备份时是否会重复/口是心非地备份 state 个文件?

duplicity will use the file state at the point in time when the file is processed during the backup . duplicity 将在备份期间处理文件的时间点使用文件 state。

Note: as a user application duplicity is not capable to enforce file system consistency, meaning if the file is readable, but currently open in another application and written only partially, this inconsistent state will be backed up.注意:作为用户应用程序,口是心非无法强制执行文件系统一致性,这意味着如果文件可读,但当前在另一个应用程序中打开并且仅部分写入,则此不一致的 state 将被备份。

Suggestions建议

  1. use a files system that is snapshot capable and backup those使用支持快照的文件系统并备份它们
  2. stop services/software that might write data to be backed up, to retrieve a consistent state beforehand停止可能写入要备份的数据的服务/软件,以预先检索一致的 state
  3. duplicity was never developed for data sets this huge.从来没有为如此庞大的数据集开发口是心非。 you may run into trouble.你可能会遇到麻烦。
  4. for big data sets a strategy to backup to a local file system and mirror that to a cloud location later might improve performance a lot.对于大数据集,备份到本地文件系统并稍后将其镜像到云位置的策略可能会大大提高性能。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM