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: fixes and doc improvements #570

Draft
wants to merge 7 commits into
base: master
Choose a base branch
from

Commits on Jun 24, 2022

  1. backup: only stop the stack for backup

    Using docker-compose down/up will recreate the containers,
    possibly using different images if a manual "docker-compose pull"
    had been executed.
    ukkopahis committed Jun 24, 2022
    Configuration menu
    Copy the full SHA
    198f878 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    de2c030 View commit details
    Browse the repository at this point in the history
  3. backup: fix to chown to correct group

    Previous version only worked for "pi:pi" or similar, where
    user and group names are the same.
    ukkopahis committed Jun 24, 2022
    Configuration menu
    Copy the full SHA
    5badc2f View commit details
    Browse the repository at this point in the history
  4. backup: improve reliability and documentation

    * allow starting backup from any folder
    * automatically run using sudo
      (to never fail due to ./backup owned by root)
    * run post_backup.sh after 'docker-compose start', to minimize downtime
      when e.g. uploading backups to a remote server
    * chown all of ./backup to the appropriate user
    
    Fixes SensorsIot#566
    ukkopahis committed Jun 24, 2022
    Configuration menu
    Copy the full SHA
    7de8016 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    89d7cf0 View commit details
    Browse the repository at this point in the history
  6. restore.sh: ensure run as root

    * allow start from any current folder
    * chmod logfile to allow all to read it
    ukkopahis committed Jun 24, 2022
    Configuration menu
    Copy the full SHA
    eb1dcbe View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    922464c View commit details
    Browse the repository at this point in the history