#34420: enable Gitlab backups -------------------------------------------------+------------------------- Reporter: hiro | Owner: hiro Type: task | Status: | assigned Priority: Medium | Milestone: Component: Internal Services/Tor Sysadmin Team | Version: Severity: Normal | Resolution: Keywords: | Actual Points: Parent ID: | Points: Reviewer: | Sponsor: -------------------------------------------------+-------------------------
Comment (by hiro): Replying to [comment:1 anarcat]: > {{{ > + 0 2 * * * tar -czvf config_backup.tar.gz /etc/gitlab/gitlab- secrets.json /etc/gitlab/gitlab.rb ; mv config_backup.tar.gz /srv/backups/config_backup$(date -d "today" +"%Y%m%d%H%M").tar.gz > }}} > > here, i would skip the `mv` and why not backup all of /etc/gitlab? so just do: > > {{{ > tar -czvf /srv/backups/config_backup_$(date -d "today" +"%Y%m%d%H%M").tar.gz /etc/gitlab/ > }}} > > I'm surprised it's not /var/opt/gitlab-rails/etc gitlab too... > > otherwise lgtm, assuming that /srv/backups exists... Yes, that's correct. it should be /var/opt/gitlab/etc/gitlab. -- Ticket URL: <https://trac.torproject.org/projects/tor/ticket/34420#comment:2> Tor Bug Tracker & Wiki <https://trac.torproject.org/> The Tor Project: anonymity online
_______________________________________________ tor-bugs mailing list tor-bugs@lists.torproject.org https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs