File to volume mapping?

26 views
Skip to first unread message

Tashrif

unread,
Dec 21, 2022, 12:42:05 PM12/21/22
to Alt-F
Duplicity backs up my files as duplicity-full.TIMESTAMP.vol*.difftar.gz chunks where * is 1,2,3, ... . On the other hand, ~/.cache/duplicity/profile/duplicity-full.TIMESTAMP.manifest contains volumes and file list:

Hostname striker
Localdir /data/pnlpipe3/ukftractography
Volume 1:
    StartingPath   .  
    EndingPath     .git/objects/pack 3188
    Hash SHA1 d77131425a74f6f10eb5bc89ee4277805fb35e68
Volume 2:
    StartingPath   .git/objects/pack
    EndingPath     build/ITK/.git/objects/pack 743
    Hash SHA1 a983bb4e0379d6304da7aec9739a609b0704d270
...
...
Filelist 129500
    new      .git/FETCH_HEAD
    new      .git/HEAD
    new      .git/ORIG_HEAD


But given a file, is there a command in duplicity to find out which volume contains that file? It is important for retrieving from glacier deep archive. According to your man page, the user must manually migrate the storage type from glacier to standard before being able to retrieve a file. If I do not know which of my volumes contains my file, I won't know which volume to migrate. Migration has to be done by hand clicking through the web interface. So migrating all volumes is not an option either.

-Tashrif
Reply all
Reply to author
Forward
0 new messages