Add site name to beginning of backup filename

This commit is contained in:
riking 2014-03-06 16:34:31 -08:00
parent b3a860027f
commit 01826b9c18
1 changed files with 1 additions and 1 deletions

View File

@ -71,7 +71,7 @@ module Export
@dump_filename = File.join(@tmp_directory, BackupRestore::DUMP_FILE)
@meta_filename = File.join(@tmp_directory, BackupRestore::METADATA_FILE)
@archive_directory = File.join(Rails.root, "public", "backups", @current_db)
@archive_basename = File.join(@archive_directory, @timestamp)
@archive_basename = File.join(@archive_directory, "#{SiteSetting.title.parameterize}-#{@timestamp}")
end
def listen_for_shutdown_signal