Page Menu
Home
GRNET
Search
Configure Global Search
Log In
Files
F5402229
filename.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
Wed, Sep 9, 8:51 PM
Size
517 B
Mime Type
text/x-c++
Expires
Fri, Sep 11, 8:51 PM (1 d, 15 h)
Engine
blob
Format
Raw Data
Handle
437832
Attached To
rARCHIVING archiving
filename.rb
View Options
# Bacula Filename
#
# The Filename table contains the name of each file backed up with the path removed.
# If different directories or machines contain the same filename,
# only one copy will be saved in this table.
class
Filename
<
ActiveRecord
::
Base
establish_connection
BACULA_CONF
self
.
table_name
=
"
#{
connection_config
[
:database
]
}
.Filename"
self
.
primary_key
=
:FilenameId
alias_attribute
:filename_id
,
:FilenameId
alias_attribute
:name
,
:Name
has_many
:bacula_files
,
foreign_key
:
:FilenameId
end
Event Timeline
Log In to Comment