duplicity-talk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Duplicity-talk] --remove-older-than problem


From: Peter Spikings
Subject: [Duplicity-talk] --remove-older-than problem
Date: Thu, 27 Jan 2005 12:32:56 +0000
User-agent: Mozilla Thunderbird 1.0 (Windows/20041206)

Hi,

Sorry if this has been asked before (seems to be a different problem
than the one mentioned previously) but I'm having a problem with the
above option. Basically it only deletes the signature files on the
remote server that are too old, leaving the manifests and the large full
backups.

Some output to illustrate...

First I do a full backup (of a test directory):

address@hidden pjs # duplicity -v9 -f --remove-older-than now --encrypt-key
A7C00F42 /home/pjs/a scp://address@hidden//usr/home/myuser/etc
Main action: full
Reading results of 'ssh address@hidden ls /usr/home/myuser/etc'
Collection Status
-----------------
Backend: <duplicity.backends.scpBackend instance at 0x47b94c8c>
Archive dir: None
Matched pair: None
All backup chains: []
Other backup chains: []
Other sig chains: []
Orphaned sig names: []
Orphaned backup sets: []
Incomplete backup sets: []
----------------Backup Chains----------------------

PASSPHRASE variable not set, asking user.
GnuPG passphrase:
Selecting /home/pjs/a
Comparing () and None
Getting delta of (() /home/pjs/a dir) and None
Generating delta - new file: .
Selecting /home/pjs/a/c
Comparing ('c',) and None
Getting delta of (('c',) /home/pjs/a/c reg) and None
Generating delta - new file: c
Running 'scp /tmp/tmpfhYfIf
address@hidden:/usr/home/myuser/etc/duplicity-full.2005-01-27T12:09:31+01:00.vol1.difftar.gpg'
tmpfhYfIf
100%  741     0.7KB/s   00:00
Deleting /tmp/tmpfhYfIf
Running 'scp /tmp/tmpEhOZX6
address@hidden:/usr/home/myuser/etc/duplicity-full.2005-01-27T12:09:31+01:00.manifest.gpg'
tmpEhOZX6
100%  735     0.7KB/s   00:00
Deleting /tmp/tmpEhOZX6
Running 'scp /tmp/tmpQm_uc4
address@hidden:/usr/home/myuser/etc/duplicity-full-signatures.2005-01-27T12:09:31+01:00.sigtar.gpg'
tmpQm_uc4
100%  766     0.8KB/s   00:00
Deleting /tmp/tmpQm_uc4
Reading results of 'ssh address@hidden ls /usr/home/myuser/etc'
Ignoring file
'duplicity-full-signatures.2005-01-27T12:09:31+01:00.sigtar.gpg'
--------------[ Backup Statistics ]--------------
-------------------------------------------------

Then I repeat hoping that it will delete the previous backup:

address@hidden pjs # duplicity -v9 -f --remove-older-than now --encrypt-key
A7C00F42 /home/pjs/a scp://address@hidden//usr/home/myuser/etc
Main action: full
Reading results of 'ssh address@hidden ls /usr/home/myuser/etc'
Ignoring file
'duplicity-full-signatures.2005-01-27T12:09:31+01:00.sigtar.gpg'
Collection Status
-----------------
Backend: <duplicity.backends.scpBackend instance at 0x4f3e3c8c>
Archive dir: None
Matched pair: (<duplicity.collections.SignatureChain instance at
0x4f3e816c>, <duplicity.collections.BackupChain instance at 0x4f3e802c>)
All backup chains: [<duplicity.collections.BackupChain instance at
0x4f3e802c>]
Other backup chains: [<duplicity.collections.BackupChain instance at
0x4f3e802c>]
Other sig chains: []
Orphaned sig names: []
Orphaned backup sets: []
Incomplete backup sets: []
----------------Backup Chains----------------------
BackupChain: Fullset:
[duplicity-full.2005-01-27T12:09:31+01:00.manifest.gpg,
duplicity-full.2005-01-27T12:09:31+01:00.vol1.difftar.gpg]
            Incsetlist: {}
            Start Time: 1106827771
            End Time: 1106827771
PASSPHRASE variable not set, asking user.
GnuPG passphrase:
Running 'scp
address@hidden:/usr/home/myuser/etc/duplicity-full.2005-01-27T12:09:31+01:00.manifest.gpg
/tmp/tmpNajxHm'
duplicity-full.2005-01-27T12:09:31+01:00.manifest.gpg
100%  735     0.7KB/s   00:00
gpg: encrypted with 2048-bit ELG-E key, ID 8B6B3F38, created 2005-01-26
     "backup"
Deleting /tmp/tmpNajxHm
Selecting /home/pjs/a
Comparing () and None
Getting delta of (() /home/pjs/a dir) and None
Generating delta - new file: .
Selecting /home/pjs/a/c
Comparing ('c',) and None
Getting delta of (('c',) /home/pjs/a/c reg) and None
Generating delta - new file: c
Running 'scp /tmp/tmpTot6PH
address@hidden:/usr/home/myuser/etc/duplicity-full.2005-01-27T12:09:53+01:00.vol1.difftar.gpg'
tmpTot6PH
100%  742     0.7KB/s   00:00
Deleting /tmp/tmpTot6PH
Running 'scp /tmp/tmp9WtN3Q
address@hidden:/usr/home/myuser/etc/duplicity-full.2005-01-27T12:09:53+01:00.manifest.gpg'
tmp9WtN3Q
100%  735     0.7KB/s   00:00
Deleting /tmp/tmp9WtN3Q
Running 'scp /tmp/tmpv5zijV
address@hidden:/usr/home/myuser/etc/duplicity-full-signatures.2005-01-27T12:09:53+01:00.sigtar.gpg'
tmpv5zijV
100%  766     0.8KB/s   00:00
Deleting /tmp/tmpv5zijV
Reading results of 'ssh address@hidden ls /usr/home/myuser/etc'
Ignoring file
'duplicity-full-signatures.2005-01-27T12:09:31+01:00.sigtar.gpg'
Ignoring file
'duplicity-full-signatures.2005-01-27T12:09:53+01:00.sigtar.gpg'
Running 'ssh address@hidden rm
/usr/home/myuser/etc/duplicity-full-signatures.2005-01-27T12:09:31+01:00.sigtar.gpg'
--------------[ Backup Statistics ]--------------
-------------------------------------------------

After this we are left with this on the remote server:

-rw-------  1 myuser  users  766 Jan 27 12:10
duplicity-full-signatures.2005-01-27T12:09:53+01:00.sigtar.gpg
-rw-------  1 myuser  users  735 Jan 27 12:09
duplicity-full.2005-01-27T12:09:31+01:00.manifest.gpg
-rw-------  1 myuser  users  741 Jan 27 12:09
duplicity-full.2005-01-27T12:09:31+01:00.vol1.difftar.gpg
-rw-------  1 myuser  users  735 Jan 27 12:10
duplicity-full.2005-01-27T12:09:53+01:00.manifest.gpg
-rw-------  1 myuser  users  742 Jan 27 12:09
duplicity-full.2005-01-27T12:09:53+01:00.vol1.difftar.gpg

Has anyone else found this?

Thanks,

Peter Spikings.

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]