<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Rsync on Laning's Blog</title><link>https://blog.laning.org/tags/rsync/</link><description>Recent content in Rsync on Laning's Blog</description><generator>Hugo</generator><language>zh-CN</language><lastBuildDate>Sat, 29 Mar 2025 17:19:28 +0800</lastBuildDate><atom:link href="https://blog.laning.org/tags/rsync/index.xml" rel="self" type="application/rss+xml"/><item><title>服务备份与同步脚本实现</title><link>https://blog.laning.org/posts/wp-0428/</link><pubDate>Tue, 06 Aug 2024 14:21:25 +0800</pubDate><guid>https://blog.laning.org/posts/wp-0428/</guid><description>&lt;h2 id="脚本地址"&gt;脚本地址&lt;/h2&gt;
&lt;p&gt;&lt;a href="https://raw.githubusercontent.com/laningya/Raspberry-Pi/refs/heads/master/shell/back.sh"&gt;raw.githubusercontent.com/laningya/Raspberry-Pi/refs/heads/master/shell/back.sh&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://raw.githubusercontent.com/laningya/Raspberry-Pi/refs/heads/master/shell/rsync.sh"&gt;raw.githubusercontent.com/laningya/Raspberry-Pi/refs/heads/master/shell/rsync.sh&lt;/a&gt;&lt;/p&gt;
&lt;h2 id="使用说明"&gt;使用说明&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;为防止服务器宕机开发，需要配合crontab等服务实现定时备份&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;针对采用docker-compose部署的服务编写，如为其他方式部署的服务，此脚本并不使用&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;</description></item></channel></rss>