omniti-labs/omnipitr

omnipitr-backup-master and skip-xlogs

Closed this issue · 3 comments

I get the following messages in my log file. Shouldn't omnipitr-backup-master notice that skip-xlogs is used and not try to upload the xlog tar.gz file?

2013-12-19 01:20:51.691215 +0100 : 5349 : omnipitr-backup-master : ERROR : Cannot
send archive /var/postgresql/hot_backup/myhost-xlog-2013-12-19.tar.gz to
pgsql@myserver.se:/var/tmp/hot_backup/myhost-xlog-2013-12-19.tar.gz: $
VAR1 = {
2013-12-19 01:20:51.691215 +0100 : 5349 : omnipitr-backup-master : ERROR :
   'stderr' => 'Use of uninitialized value in string eq at /var/postgresql/omnipit
r/lib/OmniPITR/Tools/ParallelSystem.pm line 252.
2013-12-19 01:20:51.691215 +0100 : 5349 : omnipitr-backup-master : ERROR : rsync:
link_stat "/var/postgresql/hot_backup/myhost-xlog-2013-12-19.tar.gz" fail
ed: No such file or directory (2)
2013-12-19 01:20:51.691215 +0100 : 5349 : omnipitr-backup-master : ERROR : rsync e
rror: some files/attrs were not transferred (see previous errors) (code 23) at mai
n.c(1165) [sender=3.1.0]

My config for omnipitr-backup-master:

-D /var/postgresql/data
-l /var/postgresql/omnipitr/log/omnipitr-^Y^m^d.log
-x /var/tmp/omnipitr/dstbackup
-dr gzip=pgsql@myserver.se:/var/tmp/hot_backup/
-dl gzip=/var/postgresql/hot_backup/
-t /var/tmp/omnipitr/
--pid-file /var/postgresql/omnipitr/backup-master.pid
--skip-xlogs
-U postgres

On Fri, Dec 20, 2013 at 02:31:27AM -0800, Otto Bretz wrote:

I get the following messages in my log file. Shouldn't
omnipitr-backup-master notice that skip-xlogs is used and not try to
upload the xlog tar.gz file?

Thanks for information. Will look into it, but that's unlikely to happen
before Monday.

In any way - it definitely looks like a bug, sorry about that.

Best regards,

depesz

Bug fixed in b5f551f. New version (1.3.2) released. Thanks.

Thank you. It's working perfectly.