"Failed to create compressed file '#{backup_tarball}' when trying to backup the following paths: '#{app_files_dir}'"
end
end
classRepositoryBackupError<Backup::Error
attr_reader:container,:backup_repos_path
definitialize(container,backup_repos_path)
@container=container
@backup_repos_path=backup_repos_path
end
defmessage
"Failed to create compressed file '#{backup_repos_path}' when trying to backup the following paths: '#{container.disk_path}'"
end
end
classDatabaseBackupError<Backup::Error
attr_reader:config,:db_file_name
definitialize(config,db_file_name)
@config=config
@db_file_name=db_file_name
end
defmessage
"Failed to create compressed file '#{db_file_name}' when trying to backup the main database:\n - host: '#{config[:host]}'\n - port: '#{config[:port]}'\n - database: '#{config[:database]}'"