<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>备份 &#8211; 悠然居</title>
	<atom:link href="https://wordpress.youran.me/tag/%e5%a4%87%e4%bb%bd/feed/" rel="self" type="application/rss+xml" />
	<link>https://wordpress.youran.me</link>
	<description>极客技术博客</description>
	<lastBuildDate>Sat, 06 Dec 2014 09:29:51 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.4.8</generator>
	<item>
		<title>简单自制备份脚本</title>
		<link>https://wordpress.youran.me/very-simple-backup-script/</link>
					<comments>https://wordpress.youran.me/very-simple-backup-script/#respond</comments>
		
		<dc:creator><![CDATA[youran]]></dc:creator>
		<pubDate>Fri, 18 Jan 2013 09:12:00 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[bash script]]></category>
		<category><![CDATA[备份]]></category>
		<category><![CDATA[脚本]]></category>
		<guid isPermaLink="false">http://wordpress.youran.me/?p=392</guid>

					<description><![CDATA[VPS里的一些数据可能需要定时备份，如网站数据。之前我用过dropbox备份脚本，后来不知怎么回事失效了，而且毕竟dropbox在国内访问不便。比较好的方法是将文件备份到自己的另外一部VPS上。下面是一段菜鸟级别的bash脚本，供大家参考~ #!/bin/bash TIME=`date +%Y%m%d%H%M` FPATH=/root/backup OF=$TIME.tar.bz2 SQL=$TIME-Databases.sql mysqldump -u USER -pPASSWORD --all-databases > $FPATH/$SQL tar cjf $FPATH/$OF --exclude='*.mp4' -C /home ./wwwroot -C $FPATH ./$SQL curl -T $FPATH/$OF -u user:password ftp://12.34.56.78/backup/ rm -f $FPATH/$OF rm -f &#8230;]]></description>
		
					<wfw:commentRss>https://wordpress.youran.me/very-simple-backup-script/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>将VPS数据备份到Dropbox</title>
		<link>https://wordpress.youran.me/%e5%b0%86vps%e6%95%b0%e6%8d%ae%e5%a4%87%e4%bb%bd%e5%88%b0dropbox/</link>
					<comments>https://wordpress.youran.me/%e5%b0%86vps%e6%95%b0%e6%8d%ae%e5%a4%87%e4%bb%bd%e5%88%b0dropbox/#respond</comments>
		
		<dc:creator><![CDATA[youran]]></dc:creator>
		<pubDate>Tue, 27 Sep 2011 14:57:08 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[dropbox]]></category>
		<category><![CDATA[VPS]]></category>
		<category><![CDATA[备份]]></category>
		<guid isPermaLink="false">http://wordpress.youran.me/?p=136</guid>

					<description><![CDATA[对于多数便宜的VPS，有可能会出现数据丢失而又没有备份的情况，所以就需要将重要的数据定期备份到其他地方。网上能提供这种服务的不是很多，除了GoDaddy为每一个注册的域名提供的备份空间，我们还可以利用Dropbox这一免费网络空间进行数据备份。注意，Dropbox在国内无法访问，所以国内VPS是不用想备份到上面了，除非手动设置代理。 具体备份流程也很简单，将下面的代码存为脚本，比如DropboxBackup.sh，然后加上可执行权限。 #!/bin/bash DROPBOX_USER="Your Dropbox username" DROPBOX_PASS="Your Dropbox password" DROPBOX_DIR="Directory in your dropbox account to store the backups, e.g. /backups" BACKUP_SRC="/home /var/www /var/git /etc /root" BACKUP_DST="/tmp" MYSQL_SERVER="127.0.0.1" MYSQL_USER="root" MYSQL_PASS="Your MySQL password" # # Stop editing &#8230;]]></description>
		
					<wfw:commentRss>https://wordpress.youran.me/%e5%b0%86vps%e6%95%b0%e6%8d%ae%e5%a4%87%e4%bb%bd%e5%88%b0dropbox/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>MySQL数据库备份和还原的常用命令</title>
		<link>https://wordpress.youran.me/mysql%e6%95%b0%e6%8d%ae%e5%ba%93%e5%a4%87%e4%bb%bd%e5%92%8c%e8%bf%98%e5%8e%9f%e7%9a%84%e5%b8%b8%e7%94%a8%e5%91%bd%e4%bb%a4/</link>
					<comments>https://wordpress.youran.me/mysql%e6%95%b0%e6%8d%ae%e5%ba%93%e5%a4%87%e4%bb%bd%e5%92%8c%e8%bf%98%e5%8e%9f%e7%9a%84%e5%b8%b8%e7%94%a8%e5%91%bd%e4%bb%a4/#respond</comments>
		
		<dc:creator><![CDATA[youran]]></dc:creator>
		<pubDate>Sun, 25 Sep 2011 08:06:07 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[备份]]></category>
		<category><![CDATA[数据库]]></category>
		<guid isPermaLink="false">http://wordpress.youran.me/?p=59</guid>

					<description><![CDATA[备份MySQL数据库的命令 mysqldump -hhostname -uusername -ppassword databasename &#62; backupfile.sql 备份MySQL数据库为带删除表的格式 备份MySQL数据库为带删除表的格式，能够让该备份覆盖已有数据库而不需要手动删除原有数据库。 mysqldump -–add-drop-table -uusername -ppassword databasename &#62; backupfile.sql 直接将MySQL数据库压缩备份 mysqldump -hhostname -uusername -ppassword databasename &#124; gzip &#62; backupfile.sql.gz &#160; 备份MySQL数据库某个(些)表 mysqldump -hhostname -uusername -ppassword databasename specific_table1 &#8230;]]></description>
		
					<wfw:commentRss>https://wordpress.youran.me/mysql%e6%95%b0%e6%8d%ae%e5%ba%93%e5%a4%87%e4%bb%bd%e5%92%8c%e8%bf%98%e5%8e%9f%e7%9a%84%e5%b8%b8%e7%94%a8%e5%91%bd%e4%bb%a4/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>

<!--
Performance optimized by W3 Total Cache. Learn more: https://www.boldgrid.com/w3-total-cache/

Object Caching 25/82 objects using Disk
Page Caching using Disk: Enhanced 
Database Caching 4/14 queries in 0.003 seconds using Disk

Served from: wordpress.youran.me @ 2026-06-12 07:23:11 by W3 Total Cache
-->