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

Feat 351 added database backup restore #379

Closed

Conversation

Vikrantsingh22
Copy link
Member

Pull Request for Issue #351: Database Backup and Restore Features

Changes Made

In this pull request, I have addressed issue #351 by implementing two new features: database backup and restore.

Files Added

erpbackup.js and erprestore.js inside the folder backup

Features Implemented

  1. Backup Feature: I've added a backup feature that allows scheduled database backups to occur every 24 hours using node-cron. This feature is designed to ensure data security and reliability.

  2. Restore Feature: Additionally, I've implemented the restore feature, which enables the restoration of data from previous backups. This is a crucial aspect of data management and recovery.

Usage

  • To initiate a database backup, you can now use the command npm run backup.

  • To restore data from a backup, you can use the command npm run restore.

@TejasNair9977
Copy link
Member

you branched from main, please make another PR from development with your changes.

@TejasNair9977 TejasNair9977 deleted the feat-351-added-database-backup-restore branch October 15, 2023 16:58
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

Successfully merging this pull request may close these issues.

2 participants