- May 17, 2022
-
-
Evangelos Foutras authored
Only doing this on the Hetzner storage box for now; waiting for rsync.net to upgrade to borg 1.2 so we can enable it there too.
-
- Feb 05, 2022
-
-
Evangelos Foutras authored
Using GitLab's official backup tool takes too much time and, more importantly, space; /srv/gitlab is a bit over 430G but backing it up nearly exhausts its 1TB volume. As we're creating btrfs snapshots and backing those up with borg, it seems unnecessary to also create tarballs of the same data. GitLab's documentation mentions snapshots as a viable backup strategy, and to the restored system it should seem like recovering from a power loss. [1] https://docs.gitlab.com/ee/raketasks/backup_restore#alternative-backup-strategies
-
- Nov 06, 2021
-
-
Evangelos Foutras authored
New username; separate and longer account manager + storage passwords. Also, have to use --remote-path=borg1 when interacting with rsync.net.
-
- Jul 09, 2021
-
-
Evangelos Foutras authored
The official backup tool for GitLab takes many hours to run because it puts everything inside tarballs and then gzips each one. It seems safe and much more efficient to skip this step for the offsite backup while reusing the tarballs generated by the first backup to the Storage Box. Should save ~5 hours from the borg-backup-offsite.service execution.
-
- Jun 28, 2021
-
-
Evangelos Foutras authored
The helper scripts that create mysql/postgres database dumps as well as the script running gitlab-backup were executed after the btrfs snapshot was taken. This resulted in stale db and gitlab backups (from last run). Move execution of these helper scripts further up so their outputs get included in the btrfs snapshot. Reported-by:
Kristian Klausen <kristian@klausen.dk>
-
- Mar 07, 2021
-
-
Jelle van der Waa authored
Now that our textcollector depends on the condition of /backup being available, we should be extra careful that we get rid of the directory. If anything in the script fails, a trap now umounts and removes the directory automatically if on btrfs.being available, we should be extra careful that we get rid of the directory. If anything in the script fails, a trap now umounts and removes the directory automatically if on btrfs.
-
- Dec 25, 2020
-
-
The perl script is currently breaking and there's not really an advantage to keeping it around. We've never used it.
-
- Sep 03, 2020
-
-
Jelle van der Waa authored
The backup script fails on our Gitlab machine as it tries to remove a snapshot of the docker submount, which we do not want to backup anyway. btrfs subvolume snapshot -r /var/lib/docker/btrfs /var/lib/docker/btrfs/backup-snapshot ERROR: Not a Btrfs subvolume: Invalid argument
-
- Aug 27, 2020
-
-
- Jul 08, 2020
-
-
Sven-Hendrik Haase authored
-
Sven-Hendrik Haase authored
-
- Jul 07, 2020
-
-
Sven-Hendrik Haase authored
-
- May 24, 2020
-
-
Jelle van der Waa authored
Use Gitlab's official backup tool for dumping the database, git repositories and other data with a wrapper script similiar to the postgres and mysql backup scripts. Signed-off-by:
Jelle van der Waa <jelle@archlinux.org>
-
- Mar 25, 2020
-
-
Jelle van der Waa authored
When nothing is mounted, umount will error out failing the backup, so handle this case.
-
- Mar 11, 2020
-
-
Sven-Hendrik Haase authored
-
- Feb 01, 2020
-
-
Jelle van der Waa authored
-
- Jan 05, 2020
-
-
Sven-Hendrik Haase authored
-
- Jan 04, 2020
-
-
Sven-Hendrik Haase authored
Earlier it would only snapshot the top dir which resulted in some awkward moments when another btrfs drive that was mounted to /home was empty in the backups because snapshots only snapshot the topmost device in the tree.
-
- Jul 13, 2019
-
-
Florian Pritz authored
Signed-off-by:
Florian Pritz <bluewind@xinu.at>
-
- Jun 28, 2018
-
-
Florian Pritz authored
$PATH doesn't include that directory. Signed-off-by:
Florian Pritz <bluewind@xinu.at>
-
- Jun 27, 2018
-
-
Florian Pritz authored
Signed-off-by:
Florian Pritz <bluewind@xinu.at>
-
- Nov 22, 2017
-
-
Bartłomiej Piotrowski authored
Also add mariadb support
-
- Jul 29, 2017
-
-
Florian Pritz authored
Signed-off-by:
Florian Pritz <bluewind@xinu.at>
-
- Jul 11, 2017
-
-
Florian Pritz authored
Signed-off-by:
Florian Pritz <bluewind@xinu.at>
-
- Jul 03, 2017
-
-
Florian Pritz authored
The snapshot is not actually a mountpoint, but rather looks like a directory. Signed-off-by:
Florian Pritz <bluewind@xinu.at>
-
- Jul 01, 2017
-
-
Florian Pritz authored
Signed-off-by:
Florian Pritz <bluewind@xinu.at>
-
Florian Pritz authored
Signed-off-by:
Florian Pritz <bluewind@xinu.at>
-
Florian Pritz authored
Signed-off-by:
Florian Pritz <bluewind@xinu.at>
-
- Feb 07, 2017
-
-
Florian Pritz authored
Signed-off-by:
Florian Pritz <bluewind@xinu.at>
-
- Sep 29, 2016
-
-
Jan Alexander Steffens (heftig) authored
-
- Sep 20, 2016
-
-
Florian Pritz authored
This reverts commit 5ec3d1a8. The server uses forced commands so this doesn't work.
-
- Sep 18, 2016
-
-
Florian Pritz authored
This allows to easily check for backups with no update to the timestamp on the backup host. Signed-off-by:
Florian Pritz <bluewind@xinu.at>
-
Florian Pritz authored
Signed-off-by:
Florian Pritz <bluewind@xinu.at>
-
- Jun 05, 2016
-
-
Sven-Hendrik Haase authored
-
- Jun 01, 2016
-
-
Sven-Hendrik Haase authored
-
- May 29, 2016
-
-
Sven-Hendrik Haase authored
-
- May 22, 2016
-
-
Sven-Hendrik Haase authored
-