From 935b69838488f13586541114e0293e5ef6d79f43 Mon Sep 17 00:00:00 2001 From: Frederic Van Espen Date: Thu, 7 Mar 2019 09:38:14 +0100 Subject: introduce optional rsyncable flag --- doc/raketasks/backup_restore.md | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'doc/raketasks') diff --git a/doc/raketasks/backup_restore.md b/doc/raketasks/backup_restore.md index 4238685b54f..22a67e3ed01 100644 --- a/doc/raketasks/backup_restore.md +++ b/doc/raketasks/backup_restore.md @@ -205,6 +205,13 @@ sudo gitlab-rake gitlab:backup:create BACKUP=dump The resulting file will then be `dump_gitlab_backup.tar`. This is useful for systems that make use of rsync and incremental backups, and will result in considerably faster transfer speeds. +### Rsyncable + +To make sure the generated archive is intelligently transferable by rsync, the `GZIP_RSYNCABLE=yes` option can be set. This will set the `--rsyncable` option to `gzip`. This is only useful in combination with setting [the Backup filename option](#backup-filename). Note that this option in `gzip` is not guaranteed to be available on all distributions. + +```sh +sudo gitlab-rake gitlab:backup:create BACKUP=dump GZIP_RSYNCABLE=yes +``` ### Excluding specific directories from the backup -- cgit v1.2.1