Page Menu
Home
GRNET
Search
Configure Global Search
Log In
Files
F461549
storage.rb
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Sun, May 18, 1:48 AM
Size
473 B
Mime Type
text/x-ruby
Expires
Tue, May 20, 1:48 AM (1 d, 1 h)
Engine
blob
Format
Raw Data
Handle
220329
Attached To
rARCHIVING archiving
storage.rb
View Options
# Bacula Storage table
#
# The Storage table contains one entry for each Storage used.
class
Storage
<
ActiveRecord
::
Base
establish_connection
BACULA_CONF
self
.
table_name
=
"
#{
connection_config
[
:database
]
}
.Storage"
self
.
primary_key
=
:StorageId
alias_attribute
:storage_id
,
:StorageId
alias_attribute
:name
,
:Name
alias_attribute
:auto_changer
,
:AutoChanger
has_many
:media
,
foreign_key
:
:StorageId
def
self
.
available_options
pluck
(
:Name
)
end
end
Event Timeline
Log In to Comment