Discussion:
[Duplicity-talk] Remove the last inc backup
Richard L. Houston
2016-03-10 18:33:34 UTC
Permalink
Hi all,

I made a booboo and my duplicity backup now have 4000 volumes of data that should not be in the backup, i forgot the exclude option for one dir. I was wondering if you can remove the last backup and if so how would I go about doing it? Seems I can remove old backups but not sure how to remove the newest backup. Note this is a inc backup set.

Thanks for any help you can provide me. :)





Disclaimer
Mark Grandi
2016-03-10 18:41:33 UTC
Permalink
You should just be able to delete all of the files associated with that incremental backup, and it will be like it never existed

the files should be like:

duplicity-inc.<DATE_START>.to.<DATE_END>.manifest.gpg
duplicity-new-signatures.<DATE_START>.to.<DATE_END>.sigtar.gz.gpg
the difftar files for all of the volumes for the date range

you just have to find all the files that have the correct start date -> to date, like ".20160301T165929Z.to.20160301T173430Z" and then just delete those. Verify with 'duplicity collection-status' to make sure that it correctly detects that the latest incremental backup was removed. Duplicity will say that it deleted the manifest/sigtar files from your archive_dir cache since they will no longer be present in the backend.

~Mark
Post by Richard L. Houston
Hi all,
I made a booboo and my duplicity backup now have 4000 volumes of data that should not be in the backup, i forgot the exclude option for one dir. I was wondering if you can remove the last backup and if so how would I go about doing it? Seems I can remove old backups but not sure how to remove the newest backup. Note this is a inc backup set.
Thanks for any help you can provide me. :)
some html text
_______________________________________________
Duplicity-talk mailing list
https://lists.nongnu.org/mailman/listinfo/duplicity-talk <https://lists.nongnu.org/mailman/listinfo/duplicity-talk>
Edgar Soldin
2016-03-10 18:56:52 UTC
Permalink
what Mark said plus,

you do not necessarily do need to delete those files initially. if unsure simply move them from the backup target folder to another one. this way you cam move some back if you accidentally move wrong files.
if all is well you can always del this folder later.

also it is advisably to do a verify after you did it just to make sure your latest backup still works.

have fun ..ede/duply.net
Post by Mark Grandi
You should just be able to delete all of the files associated with that incremental backup, and it will be like it never existed
duplicity-inc.<DATE_START>.to.<DATE_END>.manifest.gpg
duplicity-new-signatures.<DATE_START>.to.<DATE_END>.sigtar.gz.gpg
the difftar files for all of the volumes for the date range
you just have to find all the files that have the correct start date -> to date, like ".20160301T165929Z.to.20160301T173430Z" and then just delete those. Verify with 'duplicity collection-status' to make sure that it correctly detects that the latest incremental backup was removed. Duplicity will say that it deleted the manifest/sigtar files from your archive_dir cache since they will no longer be present in the backend.
~Mark
Post by Richard L. Houston
Hi all,
I made a booboo and my duplicity backup now have 4000 volumes of data that should not be in the backup, i forgot the exclude option for one dir. I was wondering if you can remove the last backup and if so how would I go about doing it? Seems I can remove old backups but not sure how to remove the newest backup. Note this is a inc backup set.
Thanks for any help you can provide me. :)
some html text
_______________________________________________
Duplicity-talk mailing list
https://lists.nongnu.org/mailman/listinfo/duplicity-talk <https://lists.nongnu.org/mailman/listinfo/duplicity-talk>
_______________________________________________
Duplicity-talk mailing list
https://lists.nongnu.org/mailman/listinfo/duplicity-talk
Richard L. Houston
2016-03-10 18:55:46 UTC
Permalink
Thanks very much Mark that did the trick.

To all those working on Duplicity... Thanks you very very much!!! This is a wonderful tool that has saved my backside a few time.

Take care everyone!

----- Original Message -----
Post by Mark Grandi
You should just be able to delete all of the files associated with
that incremental backup, and it will be like it never existed
duplicity-inc.<DATE_START>.to.<DATE_END>.manifest.gpg
duplicity-new-signatures.<DATE_START>.to.<DATE_END>.sigtar.gz.gpg
the difftar files for all of the volumes for the date range
you just have to find all the files that have the correct start date
-> to date, like ".20160301T165929Z.to.20160301T173430Z" and then
just delete those. Verify with 'duplicity collection-status' to make
sure that it correctly detects that the latest incremental backup
was removed. Duplicity will say that it deleted the manifest/sigtar
files from your archive_dir cache since they will no longer be
present in the backend.
~Mark
On Mar 10, 2016, at 11:33 AM, Richard L. Houston <
Hi all,
I made a booboo and my duplicity backup now have 4000 volumes of
data
that should not be in the backup, i forgot the exclude option for
one dir. I was wondering if you can remove the last backup and if
so
how would I go about doing it? Seems I can remove old backups but
not sure how to remove the newest backup. Note this is a inc backup
set.
Thanks for any help you can provide me. :)
some html text
_______________________________________________
Duplicity-talk mailing list
https://lists.nongnu.org/mailman/listinfo/duplicity-talk
_______________________________________________
Duplicity-talk mailing list
https://lists.nongnu.org/mailman/listinfo/duplicity-talk
Disclaimer
Loading...