Page Menu
Home
GRNET
Search
Configure Global Search
Log In
Files
F461237
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
Sat, May 17, 11:55 PM
Size
517 B
Mime Type
text/x-c++
Expires
Mon, May 19, 11:55 PM (21 h, 20 m)
Engine
blob
Format
Raw Data
Handle
220197
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