Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement automatic db backup and restore #26

Open
DrasticCoder opened this issue Oct 23, 2023 · 2 comments
Open

Implement automatic db backup and restore #26

DrasticCoder opened this issue Oct 23, 2023 · 2 comments

Comments

@DrasticCoder
Copy link
Contributor

Description:

I intend to introduce an automatic midnight backup feature to enhance data security while acknowledging the potential drawback of data redundancy. This feature will utilize a cron job to execute the backup and restore processes, ensuring that our server's database is backed up every night and the backup is subsequently restored to a remote database.


Details:
The task involves the following key aspects:

Scheduled Backup: Implement a cron job that runs every midnight to perform a database backup of the server's data. This scheduled task will provide a regular and consistent backup process.

Data Redundancy: Recognize the potential drawback of data redundancy, which is inherent in this process. Redundancy can be managed and documented as part of the project.

Remote Database Restore: After the backup process is completed, restore the backup data to a remote database. This ensures that data security is maintained on both the server and the remote database.

Error Handling and Logging: Implement error handling and logging mechanisms to report and document any issues that may occur during the backup and restore operations.

Configuration Options: Provide options for configuring the backup and restore directories, as well as scheduling the cron job.

Screenshots:

Screenshot from 2023-10-23 20-26-04

@DrasticCoder
Copy link
Contributor Author

Maintainers, kindly assign this issue to me, @DrasticCoder

Deep Bansode, SY comp C

@AaryaZ
Copy link
Collaborator

AaryaZ commented Oct 24, 2023

@DrasticCoder Happy to see your enthusiasm and eagerness to contribute in this repo. However we are allowing only 1 PR per student for a particular repository. We encourage you to explore other repos and start contributing in them.
Happy Hacktoberfest!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants