Bug #2939

Backup-data: duplicity signature files deletion

Added by Nicola Rauso almost 5 years ago. Updated almost 5 years ago.

Status:CLOSEDStart date:
Priority:NormalDue date:
Assignee:-% Done:

100%

Category:<multiple packages>
Target version:v6.5
Security class: Resolution:
Affected version:v6.5-final NEEDINFO:No

Description

Duplicity clean up operation based on "retention policy" db value does not affect duplicity signature files: those files remain into backup destination path even if the related backup files were removed.

History

#1 Updated by Filippo Carletti almost 5 years ago

It seems has been fixed on duplicity 0.6.20 and 0.6.21. We could upgrade from epel.
Regression testing needed.

#2 Updated by Filippo Carletti almost 5 years ago

I've updated duplicity on a production server. After update, backups were done as usual and signatures have been deleted according to retention policy.
duplicty has two new dependencies:
python-paramiko
python-crypto

(both available from base)

#3 Updated by Giacomo Sanchietti almost 5 years ago

  • Category set to <multiple packages>
  • Status changed from NEW to TRIAGED
  • Target version set to v6.5
  • % Done changed from 0 to 20

#4 Updated by Giacomo Sanchietti almost 5 years ago

  • Status changed from TRIAGED to ON_DEV
  • Assignee set to Giacomo Sanchietti
  • % Done changed from 20 to 30
Required packages:
  • duplicity-0.6.22-3.el6.x86_64.rpm

#5 Updated by Giacomo Sanchietti almost 5 years ago

  • Status changed from ON_DEV to MODIFIED
  • % Done changed from 30 to 60
Package downloaded from epel:
  • duplicity-0.6.22-3.el6.x86_64.rpm

All other packages are already inside centos-base repository.

#6 Updated by Giacomo Sanchietti almost 5 years ago

  • Status changed from MODIFIED to ON_QA
  • Assignee deleted (Giacomo Sanchietti)
  • % Done changed from 60 to 70
Package in nethserver-testing:
  • duplicity-0.6.22-3.el6.x86_64.rpm
Test case 1
  • On a clean install check the backup-data with retention-policy correctly works
Test case 2
  • Install the package on machine with old signature files
  • Check the old signatures are removed after the first backup-data

#7 Updated by Filippo Carletti almost 5 years ago

  • Status changed from ON_QA to VERIFIED
  • % Done changed from 70 to 90

Three updated server had sigs correctly removed.
On a new install, I moved forward date and retention policy has been respected.

#8 Updated by Giacomo Sanchietti almost 5 years ago

  • Status changed from VERIFIED to CLOSED
  • % Done changed from 90 to 100
Released in nethserver-updates:
  • duplicity-0.6.22-3.el6.x86_64.rpm

All dependencies are already in centos-base repository.

Also available in: Atom PDF