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