Let's say I have snapshot A and B. Then I create a new snapshot AB (merging A and B), and I publish AB.
If I try to drop A or B, aptly will not do that, unless I use -force.
E.g.
aptly -config aptly.conf snapshot merge snapAB snapA snapB
aptly -config aptly.conf snapshot drop snapA
Snapshot `snapA` was used as a source in following snapshots:
* [snapAB]: Merged from sources: 'snapA', 'snapA'
ERROR: won't delete snapshot that was used as source for other snapshots, use -force to override
Is there any drawback in doing that?
Thanks,
Ludo
You will destroy the snapshot snapAB as well.
I think it is good/better practice, if you drop the merged snapshots first and as last the snapshots that are created from a mirror
I see this as usefull to avoid messing up things too much when you make errors in scripts that would automagically create/merge/drop snapshots
Op zondag 10 september 2017 16:49:19 UTC+2 schreef ludovico...@gmail.com:
--
You received this message because you are subscribed to the Google Groups "aptly-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to aptly-discus...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.