<?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>Crontab on Moxuan's Blog</title><link>https://blog.moxuan.de/tags/crontab/</link><description>Recent content in Crontab on Moxuan's Blog</description><image><title>Moxuan's Blog</title><url>https://i.postimg.cc/7hwBy7VS/calcr.png</url><link>https://i.postimg.cc/7hwBy7VS/calcr.png</link></image><generator>Hugo -- 0.154.3</generator><language>zh-cn</language><copyright>©2023-2026 moxuan</copyright><lastBuildDate>Fri, 02 Aug 2024 23:20:00 +0800</lastBuildDate><atom:link href="https://blog.moxuan.de/tags/crontab/index.xml" rel="self" type="application/rss+xml"/><item><title>数据无价！写个 Shell 脚本把博客定时打包备份</title><link>https://blog.moxuan.de/posts/shell-script-auto-backup/</link><pubDate>Fri, 02 Aug 2024 23:20:00 +0800</pubDate><guid>https://blog.moxuan.de/posts/shell-script-auto-backup/</guid><description>&lt;p&gt;经历了之前几次瞎搞把环境弄崩的惨痛教训后，深刻体会到了“数据备份”的重要性。不能总指望云服务商不跑路，自己手里有备份才踏实。&lt;/p&gt;
&lt;p&gt;用 Shell 简单写了个打包脚本，每天凌晨两点自动把博客目录打包成 &lt;code&gt;tar.gz&lt;/code&gt; 压缩文件。&lt;/p&gt;</description></item></channel></rss>