add backup restore postgresql using zfs snapshot
This commit is contained in:
@@ -96,6 +96,126 @@
|
||||
|
||||
|
||||
|
||||
<div class="article-wrapper u-cf">
|
||||
|
||||
<a class="bubble" href="/post/ansible-selectattr/">
|
||||
<i class="fa fa-fw fa-pencil"></i>
|
||||
</a>
|
||||
|
||||
<article class="default article">
|
||||
|
||||
<div class="featured-image">
|
||||
<a href="/post/ansible-selectattr/">
|
||||
<img src="/images/post-default-1.jpg" alt="">
|
||||
</a>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="content">
|
||||
<h3><a href="/post/ansible-selectattr/">[筆記] Ansible how to use 'list' in yaml file </a></h3>
|
||||
<div class="meta">
|
||||
|
||||
|
||||
<span class="date moment">2018-11-27</span>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<span class="categories">
|
||||
|
||||
<a href="/categories/%E7%AD%86%E8%A8%98">筆記</a>
|
||||
|
||||
</span>
|
||||
|
||||
|
||||
|
||||
<span class="author"><a href="/author/eric-chang">Eric Chang</a></span>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<p>這幾天在玩ansible 時,碰到一個問題</p>
|
||||
|
||||
<p>假如我有個yaml檔作為資料來源,檔名是 abc.yml</p>
|
||||
|
||||
<p>大概長這樣</p>
|
||||
|
||||
<pre><code> "teams": [
|
||||
{
|
||||
"chinese_name": "TEAM1",
|
||||
"description": "TEAM1",
|
||||
"gid": 10125,
|
||||
"location": [
|
||||
"hq"
|
||||
],
|
||||
"name": "aa",
|
||||
"users": [
|
||||
"chen",
|
||||
"chou",
|
||||
"huani",
|
||||
"yey",
|
||||
"wa"
|
||||
]
|
||||
},
|
||||
{
|
||||
"chinese_name": "TEAM2",
|
||||
"description": "TEAM2",
|
||||
"gid": 10126,
|
||||
"location": [
|
||||
"hq"
|
||||
],
|
||||
"name": "bb",
|
||||
"users": [
|
||||
"chhiao",
|
||||
"chgc",
|
||||
"chy",
|
||||
"hsi",
|
||||
"li",
|
||||
"li",
|
||||
"chgchi"
|
||||
]
|
||||
}
|
||||
]
|
||||
|
||||
</code></pre>
|
||||
|
||||
<p></p>
|
||||
|
||||
|
||||
<a href="/post/ansible-selectattr/" class="more"></a>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<div class="footer">
|
||||
|
||||
|
||||
|
||||
<div class="tags">
|
||||
<i class="fa fa-tags"></i>
|
||||
<div class="links">
|
||||
|
||||
<a href="/tags/ansible">ansible</a>
|
||||
|
||||
<a href="/tags/linux">linux</a>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
</article>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<div class="article-wrapper u-cf">
|
||||
|
||||
<a class="bubble" href="/post/change-preferred-language-in-firefox/">
|
||||
@@ -712,6 +832,10 @@
|
||||
<strong></strong>
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/post/postgresql-backup-restore-using-zfs-snapshot/">[筆記] 用zfs的snapshot 快照功能來做 postgresql 的備份還原 / Postgresql Backup Restore Using Zfs Snapshot</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/post/backup-restore-postgresql-with-pgbackrest/">[筆記] 用pbackrest 備份還原 postgresql / Backup Restore Postgresql With Pgbackrest</a>
|
||||
</li>
|
||||
@@ -736,10 +860,6 @@
|
||||
<a href="/post/multiple-site-to-site-vpn-using-wireguard/">[筆記] 透過 wireguard 建立多點 site to site VPN / Multiple Site to Site VPN Using Wireguard</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/post/site-to-site-vpn-using-wireguard-in-two-edgerouters/">[筆記] 在edgerouter上用wireguard 建立site to site VPN / Site to Site Vpn Using Wireguard in Two Edgerouters</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
@@ -750,7 +870,7 @@
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/categories/%E7%AD%86%E8%A8%98">筆記 (28)</a>
|
||||
<a href="/categories/%E7%AD%86%E8%A8%98">筆記 (29)</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
|
||||
Reference in New Issue
Block a user