Imagine you copied files to S3 with an S3 client (e.g. AWS Console, CloudBerry Explorer) and now you want to start using CloudBerry Backup for scheduled backup and continue upload instead of copying all files again. By default CloudBerry Backup will not recognize the files and you need to perform the following actions to prevent full upload.
How to adopt S3 files to CloudBerry Backup
1. Choose your S3 account. If you don’t have your S3 account registered yet, you have to register it in CloudBerry Explorer. Check another post for detailed instruction.
2. Create a folder inside your bucket and name it “CBB_[prefix]”. You can specify any prefix you want but it is recommended that you use your computer name because CloudBerry Backup sets computer name as a prefix by default.
For example: if a name of computer is “MAKSIME-PC” a prefix should be “CBB_MAKSIME-PC”.
3. For CloudBerry Backup could properly recognize your files you will have to create a file structure inside of the folder, you’ve created during the previous step. In other words, you have to copy structure of folders as it is on your hard drive.
For example: if your files are kept on your computer in C:/Documents/Logos, you have to create a folder “C:” inside of the folder “CBB_MAKSIME-PC” first. In the folder “C:” create a folder named “Documents” and then create a folder “Logos” within “Documents”. As a result you shall see somthing like this in the address line:
4. Copy all files you want to adopt to CloudBerry Backup to your destination folder. In our example destination folder is “Logos”. The copy process will run in the cloud and will be fast and efficient.
5. Open destination folder and right-click on a file you want to adopt.
6. Click “Set HTTP Headers”.
7. Click on the “Add” button.
8. Add the following HTTP header: “x-amz-meta-cb-modifiedtime”.
9. See the date of file modification for your file in Windows Explorer.
10. Specify a modification date in GMT as shown on a screenshot below.
Note: if your system time is not a GMT you will have to convert your last modification time to GMT manually.
Now your files shall be properly recognized by CloudBerry Backup.
Once your files are adopted to use with CloudBerry Backup, you can upload and restore files with CloudBerry Backup. You will be able to operate with adopted files with CloudBerry Backup only in Simple Mode.
1. Open “File” menu.
2. Click on the “Amazon S3 Account…”.
3. Choose your account from the list and click “Edit”.
4. Click on the “Advanced settings” link.
5. Specify the same “prefix” you set previously. In our example it was “MAKSIME-PC”.
Once you’ve registered your S3 account in CloudBerry Backup, file sync will automatically start. Synchronization may take a few minutes, when it finishes you shall be able to see your files on the Backup Storage tab.
If for some reason sync didn’t occur, you have to start it manually. Go to the “Tools” menu, click on the “Options”. Open the “Repository” tab, click “Synchronize Repository”. In the opened window click “Synchronize now”.
By Default CloudBerry Backup will not recognize the files uploaded to S3 using other means. You need to create a special structure, set special HTTP Header on the files. Then you can start the incremental process to back up only new and changed file.
Note: this post applies to CloudBerry Backup 3.4 and later.
Like our products? Please help us spread the word about them. Learn here how to do it.
Want to get CloudBerry Backup for FREE? Make a blog post about us!