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

Add backup subcommands #48

Closed
16 of 17 tasks
Tracked by #44
oubiwann opened this issue Jan 13, 2023 · 0 comments
Closed
16 of 17 tasks
Tracked by #44

Add backup subcommands #48

oubiwann opened this issue Jan 13, 2023 · 0 comments
Labels
Milestone

Comments

@oubiwann
Copy link
Contributor

oubiwann commented Jan 13, 2023

Tasks:

  • Add a new backup command to the CLI
    • with no additional subcommands, perform a backup
      • for a non-daemonised instance, this is just a file copy
      • for a daemonized instance, this is a request issued to the server -- this depends upon Local Syncing #41
      • update Local Syncing #41 with this enhancement task
  • add a new backup list command so show all (including timestamp)
  • add backup list --latest to show the most recent backup only
  • add a new backup restore command (by index or filename)
  • add alias list backups to backup list
  • add show backup-dir subcommand
  • add a new backup delete command
  • refactor file utils into their own module
  • Add example docstrings for all:
    • backup list
    • list backups
    • backup list --latest
    • backup restore
    • show backup-dir
    • backup delete
@oubiwann oubiwann mentioned this issue Jan 13, 2023
13 tasks
@oubiwann oubiwann added this to the 0.7.0 milestone Jan 13, 2023
@oubiwann oubiwann modified the milestones: 0.7.0, 0.8.0 Feb 3, 2023
oubiwann added a commit that referenced this issue Feb 5, 2023
Also, moved backup code into own module in preparation for #44 and #48.
@oubiwann oubiwann modified the milestones: 0.8.0, 0.9.0 Feb 7, 2023
oubiwann added a commit that referenced this issue Mar 2, 2023
oubiwann added a commit that referenced this issue Mar 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant