Skip to content

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.

Copy link
Member

@TejasNair9977 TejasNair9977 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@TejasNair9977 TejasNair9977 merged commit 0c869e7 into development Oct 8, 2023
@TejasNair9977 TejasNair9977 deleted the feat-351-added-database-backup-and-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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants