From a2a0a9215b71f188c17b2fa08034092e61642c84 Mon Sep 17 00:00:00 2001 From: Frederic Van Espen Date: Thu, 7 Mar 2019 16:03:06 +0100 Subject: [PATCH] add comment on how to determine if rsyncable option is available --- doc/raketasks/backup_restore.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/doc/raketasks/backup_restore.md b/doc/raketasks/backup_restore.md index e28b4fc683a..dcd5e6e2245 100644 --- a/doc/raketasks/backup_restore.md +++ b/doc/raketasks/backup_restore.md @@ -207,7 +207,9 @@ The resulting file will then be `dump_gitlab_backup.tar`. This is useful for sys ### 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. +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 the `--rsyncable` option in `gzip` is not guaranteed to be available on all distributions. To verify that it is available in your distribution you can run `gzip --help` or consult the man pages. ```sh sudo gitlab-rake gitlab:backup:create BACKUP=dump GZIP_RSYNCABLE=yes