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 - Add pause feature #1

Open
egallyamov opened this issue Jun 17, 2021 · 2 comments
Open

feat - Add pause feature #1

egallyamov opened this issue Jun 17, 2021 · 2 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@egallyamov
Copy link

First of all, that's really helpful to have such an automated backup tool.
Installation is straightforward for someone who knows how to use linux.

Now some points of possible improvements:

  1. Include the exclude_files list or document it if it is already included
  2. Add some more functionality to the button:
    • Frequency of backups
    • Pause restic (pause backups when not on EPFL network)
@sbancal
Copy link
Contributor

sbancal commented Aug 19, 2021

Thanks for your feedback egallyamov,

  1. As discussed in your pull request, the exclude_files feature has been integrated into latest release so this is now complete.

  2. Regarding the frequency of backups, it can be adjusted by the end user by editing the ~/.enacrestic/state.json file and change the backup_every_n_minutes value. This has to be done while ENACrestic isn't running. Then run it again and the new setting will be taken into account.

  3. Pause ENACrestic is an important and really useful feature request ... that will need some more time to be implemented. I'll have to check what will be the behavior if the user requests a pause while a backup or a forget is being running so that it won't break / corrupt the repo. By the way, if you're outside EPFL, without VPN, backup attempts will just finish into a Network Timeout.

I'll keep this issue open to let you know when something has moved on point 3.

@sbancal sbancal added the good first issue Good for newcomers label Aug 19, 2021
@sbancal sbancal added the enhancement New feature or request label Aug 27, 2021
@sbancal sbancal changed the title Request of extended functionality Add pause feature Sep 1, 2021
@sbancal sbancal changed the title Add pause feature feat - Add pause feature Aug 8, 2022
@sbancal
Copy link
Contributor

sbancal commented Oct 10, 2022

Pause backup would technically mean to kill restic process. Un-pause means launch it again.

Kill restic process might be usefull when stopping ENACrestic app.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants