|
Bucket Commander
is a
command line tool for Amazon S3
, it runs as per configuration set in configuration file and can also be
scheduled for automation
of task.
Scheduling
: The Task Scheduler enables you to automatically perform routine tasks on a chosen schedule. The Task Scheduler does this by monitoring whatever criteria you choose to initiate the tasks (daily, weekly etc and time also) and then execute the task when the criteria is met. With Scheduled Tasks, you can schedule any script, program, or document to run at a time that you specify when create the task.
Why need Scheduling of Bucket Commander
:- Scheduling feature provides facility to take automatic backup of bulk process. For example if you wants to upload your IIS logs to Amazon S3, daily on a particular time then you can schedule this task through Bucket Commander. You can also use Bucket Commander to take backups of one bucket's files into another bucket on schedule.
Bucket Commander needs a configuration file, which can be created using Bucket Explorer's UI. It provides you a facility to save the configuration at any other desired location also.
Follow the steps to create a Bucket Commander configuration file:
-
Start Bucket Explorer
-
Open "Tools" menu.
-
Select "Commander" option.
-
Click on "Edit Commander Configuration File" option.
-
On top left of Edit commander configuration window, there is a File menu.
-
On top left of Edit commander Configuration window, there are three tabs.
File Menu:-
Click on ‘File’ menu at menu bar, this will List menu items as –
-
New -
By clicking this option, all three tables (Upload, Download and copy) will get clear, as well as ‘Commander Config File Path’ text box. So you can create new commander configuration file.
-
Open
- By clicking this menu, we can open already saved Commander Configuration at our local system.
- This will open “Open File Chooser Dialog box”.
- You can select file and this Configuration file content will be displayed in ‘Edit Commander config’ window.
- Selected file path will be displayed at “Commander Config File Path” text box at the bottom of the window.
- Same path will be saved at BucketExplorer.xml with “Commander_Config_File_Path” tag.
Note:
If you try to open some invalid commander configuration XML such as ‘’Bucketexplorer.xml, File having extension other then XML, etc then Bucket Explorer will show you proper message.
-
Save:
This will work similarly with save option given at ‘Save’ button followed by “Commander Config File Path” text box.
- By default this will save the configuration to BucketCommander.xml.
- If you have selected file from local system, then it will save the configuration to that file.
-
Save As:
This will work similarly with save as option given at ‘Save As’ button followed by “Commander Config File Path” text box.
- If you have selected any file either BucketCommander.xml or any other configuration file from local system, by clicking this option, User can save it with different name.
-
Last Edited Configuration File:
This will show the last edited Configuration File.
- The path of last edited file would be displayed in “Commander Config File Path” text box.
-
Use Default:
This will take the Bucket Explorer home path for commander config file where the commander config file is saved by default.
- This will show all the configuration information for upload, download, copy bucket which are saved in default commander config file in the “Edit commander config” window.
- The default path is shown is the "Commander Config File Path” text box at the bottom of window by clicking on this option.
-
“Commander Config File Path” Text Box:
This will show the path of current opened commander configuration.
|
How to add file(s) and folder(s) for Uploading?
-
Click on Add button, it opens a new box of Upload operation.
-
In Upload box, you have to give bucket name, and virtual folder.
-
Set overwrites checked or unchecked as per your requirement.
-
Select comparison type
"Compare Name and Size"
[1]
or
"Compare Name and Hash"
[2]
-
Click on "Add Files" to add file that is to be uploaded in upload operation.
-
Clicking on "Add files" takes you to a drive box, select file from the drive box and click "Open".
-
Click on "Remove File" to remove selected file from list.
Note
: You can remove file only when there is at least one file exists in that list.
-
Click on "OK".
-
You will be taken to the previous window again and you can see your files in rows.
How to add file(s) and folder(s) for Downloading?
-
Click on Add button. It opens a new box of Download.
-
In Download operation box, give bucket name and destination path.
-
Set overwrites checked or unchecked as per your requirement.
-
Select comparison type
"Compare Name and Size"
[1]
or
"Compare Name and Hash"
[2]
-
Click on "Add Object" to add object that is to be downloaded in Download operation.
-
Click on "Add object". You will be asked to Enter File path and type, give it and click "Ok".
-
Click on "Remove Object" button to remove any selected Object from list.
Note
: You can remove Object only when it exists in list.
-
Click on "OK".
-
You will be taken to the previous window again and you can see your object in row.
How to add bucket for Copying?
-
Click on Add button, It opens a new box of "Copy Bucket".
-
In Copy Bucket box select Source Bucket (From where you want to copy files) and Destination Bucket (Where you want to copy files) from Drop down list.
-
Set overwrites checked or unchecked as per your requirement.
-
Select comparison type
"Compare Name and Size"
[1]
or
"Compare Name and Hash"
[2]
-
Click "Ok".
-
You will be taken to the previous window again and you can see your files in rows.
Clicking on "Save" button saves all the commands and command file will execute all the operation in background, you can see the commands by running Bucket Commander.
Same as Add new operation you can Edit also.
NOTE
: When perform copy/ upload operation, make sure that the destination Bucket must not be
system Bucket
, because these operations can not be performed on system Bucket.
|
-
ˆ
Compare Name and Size:
If this option is selected, Bucket Explorer compares the name and size of the file with the name and size of Object.
-
ˆ
Compare Name and Hash:
If this option is selected, Bucket Explorer calculates the hash and matches it with the ETAG of Object.
Related Topics
:
|
|
|