tsileo / bakthat

Bakthat is a MIT licensed backup framework written in Python, it's both a command line tool and a Python module that helps you manage backups on Amazon S3/Glacier and OpenStack Swift. It automatically compress, encrypt (symmetric encryption) and upload your files.
http://bakthat.readthedocs.org/en/latest/
MIT License
491 stars 67 forks source link

Not possible to specify custom conf file #20

Closed pavel-paulau closed 11 years ago

pavel-paulau commented 11 years ago

According to

https://github.com/tsileo/bakthat/blob/master/bakthat/conf.py#L8

path to conf file is hard coded. Was it design decision?

tsileo commented 11 years ago

Yes the path to the config file is hard coded, because I think dotfiles are good for storing config files, but you're right, sometimes it can be useful to be able to use another config file.

I think I will add a -c/--config option to every commands, or do you have a better suggestions ?

pavel-paulau commented 11 years ago

Sounds good!

stephantual commented 11 years ago

Brilliant, thank you

tsileo commented 11 years ago

The new -c/--config argument is available in bakthat 0.5.1. Let me know if you have any feedback/issues !

pavel-paulau commented 11 years ago

Cool! Many thanks @tsileo !

tsileo commented 11 years ago

There was an issue with bakthat 0.5.2, I just released bakthat 0.5.3, now it should works, keep me updated !

pavel-paulau commented 11 years ago

Just upgraded my code. Everything works as expected. Awesome!

tsileo commented 11 years ago

Thanks! Let me know if you have another idea/suggestion.

Also, I would love to hear your feedback about BakManager (Bakthat and BakManager integration) !