Add new attachment

Only authorized users are allowed to upload new attachments.

List of attachments

Kind Attachment Name Size Version Date Modified Author Change note
jar
aws-java-sdk.jar 101,552.5 kB 1 03-Dec-2018 11:09 krivacsz
png
glacier_task.png 88.7 kB 1 03-Jan-2019 08:47 krivacsz
png
glacier_vfs.png 110.7 kB 4 08-Jan-2019 18:01 krivacsz

This page (revision-67) was last changed on 08-Jan-2019 18:06 by krivacsz

This page was created on 29-Nov-2018 17:33 by krivacsz

Only authorized users are allowed to rename pages.

Only authorized users are allowed to delete pages.

Difference between version and

At line 9 removed 4 lines
The default region is :
{{{
us-east-1
}}}
At line 16 changed one line
It will list all the vaults. Upload is only allowed under a vault folder. After each successful upload crush will add a tag to the vault (storing basic informations about the archive) like : \\
Select the proper region form the Server combobox. The default region is : [us-east-1]\\
Give the Vault name at Vault Name field or you can leave it empty and it will list all the Vaults you have on the given region. Upload is only allowed under a Vault folder. We hold a special "glacier" folder on the CrushFTP server which has the folder structure simulated, and "file" items which are XML pointers to the real glacier archive data. Each archive will have the following archive description:\\
At line 18 changed 2 lines
Tag key : {file name}_Time:{Time in milliseconds}
Tag value: {archive id}_Size:{file size in bytes}
<m><v>4</v><p>[Base64 encoded path]</p><lm>[the current date]</lm></m>
At line 17 added one line
You can turn off the xml reference store by checking the "Delete local representation after upload" flag. It will delete the xml pointer one second after the upload.\\
At line 22 changed one line
!!! Glacier task
\\
If you already have archives on glacier not managed by CrusFTP, you can create CrushFTP simulated folder and file(XML pointers to your archive data) structure by this task.\\
It requires two step as it first creates an Amazon job, and it will download the glacier inventory result, once the Amazon job is finished (usually it requires 3-5 hour to be finished), then based on the downloaded inventory will create the CrushFTP's simulated structures.(for more info : [https://docs.aws.amazon.com/amazonglacier/latest/dev/vault-inventory.html])\\
\\
[attachments|glacier_task.png]\\
\\
The Crush job needs to be run at least twice:\\
\\
1. It creates the Amazon job. The Amazon job id will be stored in [glacier_info.XML] file located at Cache folder (By default it points to the CrushFTP job folder see at task settings)\\
{{{
<?xml version="1.0" encoding="UTF-8"?>
<GlacierTask type="properties">
<job_id>Amazon job id</job_id>
</GlacierTask>
}}}
2. It checks the Amazon job status, and download the inventory when the Amazon job is finished.\\
If the [glacier_info.XML] exist, based on the Amazon job's id checks the result of the job, you can notify the job result using an email task after the glacier task with Amazon job status variable(values : In progress, Failed, Succeeded):
{{{
{glacier_job_satus}
}}}
Once the Amazon job status is Succeeded, it downloads the Glacier Vault Inventory and creates the CrushFTP's glacier folder and file(XML pointers to your archive data) structures based on glacier inventory.
The archive description should have the following format:
{{{
<m><v>...</v><p>[Base64 encoded path]</p> ....</m>
}}}
If your glacier archive descriptions does not have the format like above, it will creates just the XML pointers with archive description as file name.
Version Date Modified Size Author Changes ... Change note
67 08-Jan-2019 18:06 3.129 kB krivacsz to previous
66 08-Jan-2019 18:05 3.129 kB krivacsz to previous | to last
65 03-Jan-2019 10:03 3.03 kB krivacsz to previous | to last
64 03-Jan-2019 09:55 3.031 kB krivacsz to previous | to last
63 03-Jan-2019 09:49 3.023 kB krivacsz to previous | to last
62 03-Jan-2019 09:47 3.015 kB krivacsz to previous | to last
61 03-Jan-2019 09:45 3.017 kB krivacsz to previous | to last
« This page (revision-67) was last changed on 08-Jan-2019 18:06 by krivacsz
G’day (anonymous guest)
CrushFTP9 | What's New

Referenced by
LeftMenu

JSPWiki