ソースを参照

obnam config file

Bob Mottram 9 年 前
コミット
271368aadd
共有1 個のファイルを変更した2 個の追加1 個の削除を含む
  1. 2
    1
      src/freedombone-utils-backup

+ 2
- 1
src/freedombone-utils-backup ファイルの表示

@@ -222,7 +222,8 @@ function set_obnam_client_name {
222 222
     # obnam can backup multiple machines with different domain names to
223 223
     # a repository. To be able to restore directories from different
224 224
     # machines we need to enforce a single client name for all backups
225
-    echo "client-name = ${PROJECT_NAME}" > /etc/obnam.conf
225
+    echo '[config]' > /etc/obnam.conf
226
+    echo "client-name = ${PROJECT_NAME}" >> /etc/obnam.conf
226 227
 }
227 228
 
228 229
 function backup_directory_to_usb {