chenhui7373
V2EX  ›  问与答

怎么备份 hexo 博客?

  •  
  •   chenhui7373 · Aug 20, 2015 · 2427 views
    This topic created in 4108 days ago, the information mentioned may be changed or developed.
    6 replies  •  2015-08-21 00:25:00 +08:00
    my101du
    my101du
    Aug 20, 2015
    1
    ```bash
    cd Your-Hexo-Blog
    tar czvf Your-Back-Folder/hexo_posts.tar.gz source
    cp _config.yml Your-Back-Folder/
    cp package.json Your-Back-Folder/
    cp -r themes/Your-Theme-Folder Your-Back-Folder/
    ```
    zakokun
    zakokun
    Aug 20, 2015
    2
    我是把整个文件夹复制到我的 dropbox,设置不同步 public 文件夹.然后 Mac 软连接过去
    rayzworld
    rayzworld
    Aug 20, 2015
    3
    Google+stackoverflow 能解决 99%
    dudor
    dudor
    Aug 20, 2015
    4
    git push
    ferock
    ferock
    Aug 20, 2015
    5
    - -, dropbox 就完了啊
    kisnows
    kisnows
    Aug 21, 2015 via iPhone
    6
    直接推倒 github 上
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   4424 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 45ms · UTC 08:54 · PVG 16:54 · LAX 00:54 · JFK 03:54
    ♥ Do have faith in what you're doing.