10

如何,定时增量同步 aws 实例上文件到 s3

 3 years ago
source link: https://www.v2ex.com/t/796898
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
如何,定时增量同步 aws 实例上文件到 s3

V2EX  ›  Amazon Web Services

如何,定时增量同步 aws 实例上文件到 s3

  git00ll · 1 天前 · 449 次点击
本地文件删除 s3 也删除
本地文件修改 s3 覆盖掉旧的
本地文件新增 s3 新增

每几分钟一次即可

4 条回复    2021-08-20 07:57:25 +08:00

arischow

arischow   1 天前 via iPhone

aws s3 sync 该能满足,但第二条一定得是用新的覆盖旧的

BeautifulSoap

BeautifulSoap   1 天前

sync 就行啊。不过 sync 判断修改是通过文件的修改时间,如果覆盖了旧文件但没动时间,就不会覆盖

msg7086

msg7086   1 天前   ❤️ 1

凡是遇到涉及到网络存储的,我一般会先问 rclone 不行吗。

neteroster

neteroster   22 小时 20 分钟前

rclone sync + crontab

关于   ·   帮助文档   ·   FAQ   ·   API   ·   我们的愿景   ·   广告投放   ·   感谢   ·   实用小工具   ·   896 人在线   最高记录 5497   ·  

创意工作者们的社区

World is powered by solitude

VERSION: 3.9.8.5 · 24ms · UTC 22:18 · PVG 06:18 · LAX 15:18 · JFK 18:18
♥ Do have faith in what you're doing.


Recommend

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK