summaryrefslogtreecommitdiff
path: root/doc/raketasks
diff options
context:
space:
mode:
authorFrederic Van Espen <fes@escaux.com>2019-03-07 09:38:14 +0100
committerFrederic Van Espen <fes@escaux.com>2019-03-07 09:38:14 +0100
commit935b69838488f13586541114e0293e5ef6d79f43 (patch)
treec0416a746cd9cf32a95aea4d1d64b9c77a463c06 /doc/raketasks
parent3bb3f7ddd073e67fafbc210d0e18c76a87b96dcb (diff)
downloadgitlab-ce-935b69838488f13586541114e0293e5ef6d79f43.tar.gz
introduce optional rsyncable flag
Diffstat (limited to 'doc/raketasks')
-rw-r--r--doc/raketasks/backup_restore.md7
1 files changed, 7 insertions, 0 deletions
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