[Backupgem-users] 'content': Unknown option in :content. Try :is_file, :is_folder :is_contents_of or :is_hg_repository (RuntimeError)

Kris Leech kris.leech at gmail.com
Wed Jan 7 12:15:02 EST 2009


I'm getting an error when trying to use backupgem installed via gem, so I
tried the version on github (I ran setup.rb and used the backup program in
bin)

I'm guessing the github version is more recent than the one gem installs...?

****@desktop:~/downloads/jashmenn-backupgem-a31d45251adcb3133e39cbdfc4855c8edcdb2cd3/bin$
backup /home/****/code/t/lib/developer.rb
/usr/local/lib/site_ruby/1.8/backup/actor.rb:177:in `content': Unknown
option in :content. Try :is_file, :is_folder :is_contents_of or
:is_hg_repository (RuntimeError)
    from /usr/local/lib/site_ruby/1.8/backup/actor.rb:64:in `send'
    from /usr/local/lib/site_ruby/1.8/backup/actor.rb:64:in `send_and_store'
    from /usr/local/lib/site_ruby/1.8/backup/actor.rb:57:in `start_process!'
    from /usr/local/lib/site_ruby/1.8/backup/actor.rb:55:in `each'
    from /usr/local/lib/site_ruby/1.8/backup/actor.rb:55:in `start_process!'
    from /usr/local/lib/site_ruby/1.8/backup/cli.rb:109:in
`execute_recipes!'
    from /usr/local/lib/site_ruby/1.8/backup/cli.rb:72:in `execute!'
    from /usr/local/lib/site_ruby/1.8/backup/cli.rb:11:in `execute!'
    from /usr/bin/backup:12

My backup file is :

set :backup_path, "/var/backups/fake_usb/"
set :tmp_dir,     "/tmp"
action :content, :is_contents_of => "/home/****/html"


It basically based on the simple example and I cannot stop the error.

Many thanks, K.

-- 
------------------------------------------------------------------
Go to this website www.phizzie.com and click on advertising at bottom of
pages!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://rubyforge.org/pipermail/backupgem-users/attachments/20090107/b876f725/attachment-0001.html>


More information about the Backupgem-users mailing list