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

Automatic Backup schedule #3871

Closed
Lycidias93 opened this issue Oct 27, 2020 · 5 comments · Fixed by #4922
Closed

Automatic Backup schedule #3871

Lycidias93 opened this issue Oct 27, 2020 · 5 comments · Fixed by #4922
Labels
Milestone

Comments

@Lycidias93
Copy link

Creating a feature request

Is your feature request related to a problem? Please describe:

  • ...No

Describe the solution you'd like:

  • ... I would like to have an option in dietpi-backup to automate my backup with time settings. autodelete for max backups would be nice too or uploading to cloud option.

Describe alternatives you've considered:

  • ... cron...

Additional context

  • ...

Vote for this feature on FeatHub: https://feathub.com/MichaIng/DietPi/

@StephanStS
Copy link
Collaborator

@Lycidias93: Could be timeshift meet your functional requirements?
Up to now, you need a manual installation.

See:

@anvarit
Copy link

anvarit commented Sep 16, 2021

Easiest solution would be to add this per default in the cron.daily script with similar options as the line "DietPi-Sync daily".
If you would add a toggle in the GUI to enable daily backup then the daily cron script can then read this out and execute the /boot/dietpi/dietpi-backup 1 script.
While it is currently possible with manual different steps, I could be made easier this way

@MichaIng
Copy link
Owner

While earlier or later we want to merge the two scripts, actually adding this now is simple enough until we find time for the merge. It simply makes sense! I'll add it to next milestone.

@MichaIng MichaIng added this to the v7.7 milestone Sep 16, 2021
@MichaIng MichaIng modified the milestones: v7.7, v7.8 Oct 16, 2021
@MichaIng
Copy link
Owner

MichaIng commented Nov 3, 2021

A PR is up to add this feature: #4922

@MichaIng
Copy link
Owner

MichaIng commented Nov 3, 2021

Another change is that the Rsync logs are now done to the backup location, e.g. /mnt/dietpi-backup/dietpi-backup.log, hence they are persistent even if DietPi-RAMlog is enabled. This also makes sense if multiple backup locations are present to keep them associated, and of course it is required to review them after the backup was done via cron job at night. Until now only a single status/result line was stored at the backup location but not the full transfer log. An option to review the log has been added to the dietpi-backup menu as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

Successfully merging a pull request may close this issue.

5 participants