Skip to content

Draft: Backup feature

Utkarsh Sharma requested to merge utkarsh007/bustle:backup_feature into main

#18 Hello @SeaDve ,

I've been actively working on implementing the backup functionality as per the approved plan. The plan involved initiating a backup of the recording parallel to the main recording. This backup will mirror the original recording but will be saved at regular intervals(or after every message) utilizing Write-Ahead Logging (WAL) for added reliability. Initially stored as a temporary file, it will be relocated to a permanent location upon successful completion of the recording or in case of unexpected crashes.And for better user experience,a prompt can be shown to users at startup, following a crash or under normal circumstances, offering an option to restore from this backup if available.

However, I encountered some challenges during the implementation process, particularly in ensuring seamless message reception and storage. Despite my best efforts, I faced hurdles in effectively capturing and storing messages in the backup file using the provided code snippet. I tried debugging to address these issues,

I conducted thorough debugging sessions and code reviews to identify potential areas of improvement. I focused on isolating the problem by testing with a single custom message and analyzing the flow of data within the application. While these efforts have provided valuable insights, there are still unresolved issues that require further investigation and troubleshooting.

Moving forward, I am still actively working on resolving the issues related to message reception and storage. I plan to explore alternative approaches and leverage debugging tools to pinpoint and address the root cause of the problem. Also, I remain open to any suggestions or insights from the team that could help expedite the resolution process and ensure the successful implementation of the backup strategy. Additionally, I'll implement the prompt functionality for user experience post-issue resolution.

Merge request reports