소스 검색

obnam config file

Bob Mottram 9 년 전
부모
커밋
271368aadd
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2
    1
      src/freedombone-utils-backup

+ 2
- 1
src/freedombone-utils-backup 파일 보기

222
     # obnam can backup multiple machines with different domain names to
222
     # obnam can backup multiple machines with different domain names to
223
     # a repository. To be able to restore directories from different
223
     # a repository. To be able to restore directories from different
224
     # machines we need to enforce a single client name for all backups
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
 function backup_directory_to_usb {
229
 function backup_directory_to_usb {