meskyanichi/backup — Issue #197: Problem archiving directory.
Author: sreid99
Created: 2011-10-10 16:33:29+00:00
State: open

I can't get the archive directory method to work

If I use
``` archive :logs do |archive|
archive.add "#{APP_CONFIG['app_root']}/log/"
end
```
all I get is a file called log containing the text "/home/.../log"

If I use
``` archive :logs do |archive|
archive.add "#{APP_CONFIG['app_root']}/log/newrelic_agent.log"
archive.add "#{APP_CONFIG['app_root']}/log/"
end
```
I also get the correct newrelic_agent.log file, as expected.

How do I make it archive an entire directory ?