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

Backup rules #21

Open
lhns opened this issue Aug 2, 2021 · 3 comments
Open

Backup rules #21

lhns opened this issue Aug 2, 2021 · 3 comments
Labels
enhancement New feature or request

Comments

@lhns
Copy link
Owner

lhns commented Aug 2, 2021

  • only backup with WiFi connection
  • only backup when charging
@lhns lhns added the enhancement New feature or request label Aug 2, 2021
@quantum-byte
Copy link
Contributor

@lhns I dont know when i ll find time to tinker again, but if i do i wanted to have a look at this issue.

I see three ways of implementing those two rules:

  • on a global app setting basis (my favourite - no need in my view to be more granular)
  • repo basis
  • folder basis

Whats your take/preference ?

Also do i understand this Pr#66 correct that currently it already only syncs if wifi is connected ? So this just has to be conditional then ?

@lhns
Copy link
Owner Author

lhns commented May 4, 2022

I think a per-folder setting is certainly a common use case. For example one could make a full backup once per week but backup the photos directory every hour. For the first iteration a global setting would probably suffice. In the future a feature to override this setting on a folder basis would be nice though.
Yes #66 already adds a constraint to the job schedule to only run on metered networks. This has to be modified for a configurable solution.

@SimeonEhrig
Copy link

@lhns Great work. I like the app really well. The already existing functions covers a lot of my needs.

A WiFi only mode would be really helpful for me. I use restic-android also to backup my Signal Chats. When Signal creates a backup, it creates one encrypted file per run. So, incremental backups are not possible. In my case, each backup file has the size of 1,5 GB. So have to care about, that my Smartphone do the backup in morning, before I left my house. Otherwise my mobile volume is gone after the second backup.

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

No branches or pull requests

3 participants