backup: Backup s3 keep not working

Hi Guys,

Trying it with 4.2.2 and 4.2.3. keep doesn’t seem to work with S3 (didn’t try it with other adapters).

Anybody else have the same problems?

store_with S3 do |s3|
    s3.keep = 5
    s3.access_key_id = "******"
    s3.secret_access_key = "*****"
    s3.region = "eu-west-1"
    s3.bucket = "****"
    s3.path = "******"
  end

About this issue

  • Original URL
  • State: closed
  • Created 8 years ago
  • Reactions: 2
  • Comments: 35 (10 by maintainers)

Commits related to this issue

Most upvoted comments

Is this still an expected issue with 4.3? It seems quite a fundamental problem. I am still seeing problems with 4.3.

[2016/11/17 13:15:21][info] Storage::Local (daily) Started...
[2016/11/17 13:15:21][info] Storing '
/var/localbackup/max.test/daily/test/2016.11.17.13.15.18/test.tar.gpg'...
[2016/11/17 13:15:21][info] Cycling Started...
[2016/11/17 13:15:21][info] Storage::Local (daily) Finished!
[2016/11/17 13:15:21][info] Cleaning up the package files...
[2016/11/17 13:15:21][warn] Backup for 'The daily backup (test)' Completed Successfully (with Warnings) in 00:00:03
[2016/11/17 13:15:21][info] Sending notification using Notifier::Mail...
[root@ip-10-66-2-145 models]# !ls
ls -la /var/localbackup/max.test/daily/test/ | wc
     25     218    1462
[root@ip-10-66-2-145 models]# grep local.keep test.rb 
    local.keep      = 11

I have 25 backups and I’m expecting only 11. If I use v 4.2.1 as suggested, I get the same problem (Actually 4.2.1 is missing from gem, 4.2.3 is present gem install backup -v '4.2.3', but the banner reports itself as 4.2.1 … )