Comments

  • Newbie doubts.
    Hi, Sergey! Thank you very much for your attention.

    I now realize that I can edit, rename, even delete any or all the backup plans that nothing will happen with my data stored in Glacier.

    The problem is that I still do not know how to delete any file, folder or archive in Glacier.

    I saw a few scripts (I transcribe one below which was taken from aws tutorials) which supposedly let you delete the files, but quite honestly I have no idea how to use them.

    All I want is to be able to DELETE files, folders, archies which have been uploaded to Glacier.

    Would you know how to do that?

    Fastglacier let's me do that, but I would prefer using Cloudberry.

    Thanks again for your attention.


    QUOTE FOR THE SCRIPT

    using System;
    using Amazon.Glacier;
    using Amazon.Glacier.Transfer;
    using Amazon.Runtime;

    namespace glacier.amazon.com.docsamples
    {
    class ArchiveDeleteHighLevel_GettingStarted
    {
    static string vaultName = "examplevault";
    static string archiveId = "*** Provide archive ID ***";

    public static void Main(string[] args)
    {
    try
    {
    var manager = new ArchiveTransferManager(Amazon.RegionEndpoint.USWest2);
    manager.DeleteArchive(vaultName, archiveId);
    }
    catch (AmazonGlacierException e) { Console.WriteLine(e.Message); }
    catch (AmazonServiceException e) { Console.WriteLine(e.Message); }
    catch (Exception e) { Console.WriteLine(e.Message); }
    Console.WriteLine("To continue, press Enter");
    Console.ReadKey();
    }
    }
    }


    UNQUOTE
  • Newbie doubts.
    Thanks, Sergey (I presume you are NOT Sergeyv, am I right?)

    I am kind of stupid and slow, so please bear with me and correct my reasoning, because it most certainly has a flaw in it:

    a) As per Sergeyv, there is "no way" to delete a file (archive) once it is stored in Glacier;

    b) As per Sergey and the AWS documentation "You can delete an Amazon Glacier vault only if there are no archives in the vault..."

    Conclusion:

    Since there is "no way" to delete my files inside the vault and since it is impossible to delete the vault without my first deleting the files inside that vault, I am, therefore, stuck with Amazon and the undeletable files and vaults "per omnia secula seculorum".

    Is this right? Am I missing something?

    I does not seem reasonable that one should not be able to delete files (archives), so that one can finally be able to delete the vault.
  • Newbie doubts.
    Thank you Sergeyv for the help. Much appreciated.

    Can I delete vaults, WITHOUT EMPTYING THEM?

    If this is possible, I could create a NEW vault and upload the new .rar file to that new vault and then delete the OLD VAULT.

    If I am not mistaken, I can create up to 1000 different vaults, so that would not be a limitation..