time type errors with "brackup-target amazon list_backups"

Ross Patterson me at rpatterson.net
Fri Apr 3 16:17:45 UTC 2009


Firstly, thanks for a great tool!  At long last I'll finally have a
proper backup practice.

After successfully running brackup for my sources to the amazon target,
I get some error messages and invalid time stamps when I list the
backups:

$ brackup-target amazon list_backups
Backup File                      Backup Date                      Size (B)
-----------                      -----------                      --------
Argument "\x{32}\x{30}..." isn't numeric in numeric comparison (<=>) at /usr/local/bin/brackup-target line 122.
Argument "\x{32}\x{30}..." isn't numeric in numeric comparison (<=>) at /usr/local/bin/brackup-target line 122.
Argument "\x{32}\x{30}..." isn't numeric in numeric comparison (<=>) at /usr/local/bin/brackup-target line 122.
Argument "\x{32}\x{30}..." isn't numeric in numeric comparison (<=>) at /usr/local/bin/brackup-target line 122.
Argument "\x{32}\x{30}..." isn't numeric in numeric comparison (<=>) at /usr/local/bin/brackup-target line 122.
Argument "\x{32}\x{30}..." isn't numeric in numeric comparison (<=>) at /usr/local/bin/brackup-target line 122.
Argument "\x{32}\x{30}..." isn't numeric in numeric comparison (<=>) at /usr/local/bin/brackup-target line 122.
Argument "\x{32}\x{30}..." isn't numeric in numeric comparison (<=>) at /usr/local/bin/brackup-target line 122.
Argument "\x{32}\x{30}..." isn't numeric in localtime at /usr/local/share/perl/5.10.0/Brackup/TargetBackupStatInfo.pm line 34.
etc-1238764547                   Wed 31 Dec 1969 16:33:29           140700
Argument "\x{32}\x{30}..." isn't numeric in localtime at /usr/local/share/perl/5.10.0/Brackup/TargetBackupStatInfo.pm line 34.
home-1238770474                  Wed 31 Dec 1969 16:33:29           563500
Argument "\x{32}\x{30}..." isn't numeric in localtime at /usr/local/share/perl/5.10.0/Brackup/TargetBackupStatInfo.pm line 34.
home-1238773261                  Wed 31 Dec 1969 16:33:29           563573
Argument "\x{32}\x{30}..." isn't numeric in localtime at /usr/local/share/perl/5.10.0/Brackup/TargetBackupStatInfo.pm line 34.
var-1238746487                   Wed 31 Dec 1969 16:33:29           654782

I'm running brackup installed using the Makefile.PL generated makefile
from SVN trunk on Ubuntu Intrepid.  I'm running trunk because there's a
gc test failure on 1.06.  Here's my ~/.brackup.conf:

[SOURCE:home]
path = /home/xen/
gpg_recipient = ...
noatime = 1
merge_files_under = 1kB
ignore = ...

[SOURCE:etc]
path = /etc/
gpg_recipient = ...
noatime = 1
merge_files_under = 1kB
ignore = ...

[SOURCE:var]
path = /var/
gpg_recipient = ...
noatime = 1
merge_files_under = 1kB
ignore = ...

[TARGET:amazon]
type = Amazon
aws_access_key_id  = ...
aws_secret_access_key = ...

[TARGET:testing]
type = Filesystem
path = /tmp/brackup/

Any suggestions?

Ross


More information about the brackup mailing list