Page Menu
Home
GRNET
Search
Configure Global Search
Log In
Files
F461552
bacula_file.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:49 AM
Size
686 B
Mime Type
text/x-c++
Expires
Tue, May 20, 1:49 AM (1 d, 12 h)
Engine
blob
Format
Raw Data
Handle
220283
Attached To
rARCHIVING archiving
bacula_file.rb
View Options
# ActiveRecord class for Bacula's File resource
class
BaculaFile
<
ActiveRecord
::
Base
establish_connection
BACULA_CONF
self
.
table_name
=
"
#{
connection_config
[
:database
]
}
.File"
self
.
primary_key
=
:FileId
alias_attribute
:file_index
,
:FileIndex
alias_attribute
:job_id
,
:JobId
alias_attribute
:path_id
,
:PathId
alias_attribute
:filename_id
,
:FilenameId
alias_attribute
:delta_seq
,
:DeltaSeq
alias_attribute
:mark_id
,
:MarkId
alias_attribute
:l_stat
,
:LStat
alias_attribute
:md5
,
:MD5
belongs_to
:path
,
foreign_key
:
:PathId
belongs_to
:filename
,
foreign_key
:
:FilenameId
belongs_to
:job
,
foreign_key
:
:JobId
has_many
:base_files
,
foreign_key
:
:FileId
end
Event Timeline
Log In to Comment