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

Feature: Implement RESTORE command #159

Open
SchoolyB opened this issue Nov 12, 2024 · 0 comments
Open

Feature: Implement RESTORE command #159

SchoolyB opened this issue Nov 12, 2024 · 0 comments
Labels
Command Line Having to do with commands or the command line itself feature Desired feature or current feature enhancment

Comments

@SchoolyB
Copy link
Collaborator

The RESTORE command will go hand-in-hand with the BACKUP command.

Ideally the steps are as follows:

  • User enters command BACKUP COLLECTION foo
  • They are then prompted to enter the name of the new backup file. In this case "test"
  • a test.ost file gets created in bin/backups
  • user enters RESTORE COLLECTION foo

At this point I run into some issues:

  1. How will the program know what collection foo is, if we named the backup something else/
  2. When a backup file is created in this case 'test.ost', should the original name 'foo' be appended to the bottom of the file? This would tell the program that "Hey this backup file is a version of the file 'foo'".
  3. If there have been changes to foo.ost and the user chooses to RECOVER the backup should there be anykind of prompt saying "Hey you are about to lose any changes you've made because the backup you want to recover is an older version of this collection file."?
@SchoolyB SchoolyB added feature Desired feature or current feature enhancment Command Line Having to do with commands or the command line itself labels Nov 12, 2024
@SchoolyB SchoolyB added this to the Pre_Rel_v0.5.0 milestone Nov 12, 2024
@SchoolyB SchoolyB changed the title Feature: Implement RESTORE commnad Feature: Implement RESTORE command Dec 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Command Line Having to do with commands or the command line itself feature Desired feature or current feature enhancment
Projects
None yet
Development

No branches or pull requests

1 participant