From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Wed, 30 May 2018 22:08:05 +0300 From: Konstantin Osipov Subject: Re: [PATCH 2/2] box: allow to specify the checkpoint to backup Message-ID: <20180530190805.GG18850@atlas> References: <09748147b73af6d2d828874f5178444a08dcfb94.1527669266.git.vdavydov.dev@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <09748147b73af6d2d828874f5178444a08dcfb94.1527669266.git.vdavydov.dev@gmail.com> To: Vladimir Davydov Cc: tarantool-patches@freelists.org List-ID: * Vladimir Davydov [18/05/30 11:45]: > Even though we store last box.cfg.checkpoint_count checkpoints, we can > only restore to the last one, because the backup API only allows to > backup the last checkpoint. This patch adds an optional argument to > box.backup.start() which specifies the index of the checkpoint to > backup. If it is omitted or is 0, box.backup.start() will return files > corresponding to the last checkpoint. If it is 1, it will back the > previous checkpoint, and so on. > > Closes #3410 Please open a documentation request. The test case fails on my system, most likely once again because I use symlinks. -- Konstantin Osipov, Moscow, Russia, +7 903 626 22 32 http://tarantool.io - www.twitter.com/kostja_osipov