8

问个小白问题,为什么没有可变间隔的备份方式

 2 years ago
source link: https://www.v2ex.com/t/816361
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

V2EX  ›  DevOps

问个小白问题,为什么没有可变间隔的备份方式

  ptrees · 4 小时 42 分钟前 · 264 次点击

突发奇想,望轻喷.就是现在备份都是定时固定间隔的备份,我自己设想了一种可变间隔的备份,就是时间越远备份间隔越长,比如 10 年前就是一年一个备份,3 年前就是一月一次备份,然后逐渐密集,到今天就是一天存一个备份,这样如果想找一些特别古老的备份也能找到,也能相对节省资源,是不是没有这种需求呢😂

6 条回复    2021-11-18 20:03:30 +08:00

InDom

InDom   4 小时 39 分钟前

目前常见的解决方案是:

每小时 /天 增量备份,删除超过一周的备份
每周全量备份,
每月全量备份,并删除超过一个月的周备份
每年全量备份,并删除超过一年的月备份.

otakustay

otakustay   4 小时 13 分钟前

可不就是 Time Machine 么

• Local snapshots as space permits
• Hourly backups for the past 24 hours
• Daily backups for the past month
• Weekly backups for all previous months
The oldest backups are deleted when your disk becomes full.

wiken

wiken   3 小时 59 分钟前

Time Machine 了解一下

ZDM

ZDM   3 小时 49 分钟前

mac 有 time machine ,其他跨平台有 acronis 的备份软件,默认就是这个规则

ptrees

ptrees   3 小时 21 分钟前

果然是见识少了,那没事了~
不过好像在生产服务器上还没见过这种应用方式

lifanxi

lifanxi   2 小时 56 分钟前 via Android

群晖的智能版本就是这样的逻辑。
当然备份还是按最小粒度备的,只不过保留多版本时,按策略清理不要的版本。

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK