User Tools

Site Tools


vps:vps4th2nd_08

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision Both sides next revision
vps:vps4th2nd_08 [2019/06/29 22:24]
hoge@hoge [サーバ証明書の更新]
vps:vps4th2nd_08 [2019/06/30 01:04]
hoge@hoge [アップロード]
Line 4: Line 4:
   * jailerにてバックアップスクリプトを作成する。   * jailerにてバックアップスクリプトを作成する。
   * バックアップスクリプトを /​etc/​periodic/​dailyに配置する。   * バックアップスクリプトを /​etc/​periodic/​dailyに配置する。
 +  * /​etc/​periodic.conf にバックアップスクリプトを追記する。<​code>​
 +#!/bin/sh
 +
 +# 900.vpsbkup
 +daily_vpsbkup_enable="​YES"​
 +
 +</​code>​
  
 ==== アップロード ==== ==== アップロード ====
Line 10: Line 17:
   * 初回起動<​code>​   * 初回起動<​code>​
 #cd <Google ドライブと同期したいディレクトリの一つ上>​ #cd <Google ドライブと同期したいディレクトリの一つ上>​
-#grive -a -s <Google ドライブと同期したいディレクトリ>​ | tee <​出力先ファイル>​+#grive -a -s <Google ドライブと同期したいディレクトリ> ​-u | tee <​出力先ファイル>​
 </​code>​ </​code>​
   * 出力先ファイルに記載された URLへアクセスし、認証コードを取得する。   * 出力先ファイルに記載された URLへアクセスし、認証コードを取得する。
vps/vps4th2nd_08.txt · Last modified: 2019/07/13 18:56 by hoge@hoge