Greyhole frozen_directory issue. [SOLVED]

sandstroem
Posts: 29
Joined: Sat Dec 11, 2010 7:04 am
Location: Sweden

Greyhole frozen_directory issue. [SOLVED]

Postby sandstroem » Sun Aug 14, 2011 5:15 am

Hi,

I wish to set the 'frozen_directory = Share/Folder' setting on some folders that resides within the Greyhole storage.

Now, when I add the above setting to greyhole.yml below the line 'Other:', it will end up in errors.

Code: Select all

[root@hda config]# echo 'require "yaml"; YAML::load(File.open("greyhole.yml"))' | irb require "yaml"; YAML::load(File.open("greyhole.yml")) ArgumentError: syntax error on line 82, col -1: `' from /usr/lib/ruby/1.8/yaml.rb:133:in `load' from /usr/lib/ruby/1.8/yaml.rb:133:in `load' from (irb):1 from /usr/lib/ruby/1.8/date.rb:247
What is the correct syntax to add this in greyhole.yml? Looking in the file it states to use the greyhole.conf values and not the greyhole.yml types.

From greyhole.yml:

Code: Select all

# special note about this field: # # * the format of this section is passed *raw* # to he greyhole.conf file. i.e. use setting = value in greyhole # style, not setting: value # * do not use tabs in new lines below, use spaces. otherwise the # yaml parser gets confused. (fwiw: vim does that automatically) #
Help please :-)
Last edited by sandstroem on Mon Aug 15, 2011 10:29 am, edited 1 time in total.

sandstroem
Posts: 29
Joined: Sat Dec 11, 2010 7:04 am
Location: Sweden

Re: Greyhole frozen_directory issue.

Postby sandstroem » Mon Aug 15, 2011 10:29 am

Whoa! Not everyone at the same time, and stop spamming the thread! ;)

:lol:

Figured out the correct syntax for this:

Code: Select all

other: | frozen_directory = Backups/CrashPlan frozen_directory = Temp/Downloads new line here if you need more than two and more than tree etc.
If anyone wonders, here's the answer!

Seeyah!

Who is online

Users browsing this forum: No registered users and 5 guests