obnam config file

This commit is contained in:
Bob Mottram 2016-10-24 11:52:56 +01:00
parent a50c9c6f63
commit 271368aadd
1 changed files with 2 additions and 1 deletions

View File

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