<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>EdgeOS on SkywireX LAB</title>
    <link>https://lab.skywirex.com/tags/edgeos/</link>
    <description>Recent content in EdgeOS on SkywireX LAB</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>vi-vn</language>
    <lastBuildDate>Mon, 08 Jul 2019 00:00:00 +0000</lastBuildDate>
    
	<atom:link href="https://lab.skywirex.com/tags/edgeos/index.xml" rel="self" type="application/rss+xml" />
    
    
    <item>
      <title>Tự động backup (sao lưu) định kì trên Edgerouter</title>
      <link>https://lab.skywirex.com/tu-dong-backup-sao-luu-dinh-ki-tren-edgerouter/</link>
      <pubDate>Mon, 08 Jul 2019 00:00:00 +0000</pubDate>
      
      <guid>https://lab.skywirex.com/tu-dong-backup-sao-luu-dinh-ki-tren-edgerouter/</guid>
      <description>Cấp quyền đăng nhập tự động cho Edgerouter thông qua SSH keys Trên Edgerouter sudo bash mkdir /config/ssh-keys cd /config/ssh-keys ssh-keygen -f backup -C &amp;quot;SSH key for backup&amp;quot; -N &amp;quot;&amp;quot; cat backup.pub  Trên server lưu file backup adduser backupuser su backupuser mkdir /home/backupuser/.ssh mkdir /home/backupuser/edge-backups vi /home/backupuser/.ssh/authorized_keys  Backup script #!/bin/bash sftp_host=192.168.X.X sftp_user=backupuser sftp_folder=/home/backupuser/edge-backups sftp_key=/config/ssh-keys/backup now=$(date +%d%m%y-%H%M) tar -cf - /config | gzip | \ curl -k --key $sftp_key --pubkey $sftp_key.</description>
    </item>
    
  </channel>
</rss>