Use backup to save the all of the server’s backends.
The --compress option can reduce the amount of space that the backup consumes, but can also significantly increase the time required to perform the backup.
To back up all backends and compress the backups, run the following.
$ bin/backup --backUpAll --compress --backupDirectory </path/to/backup>