Can't Connect to Oracle Cloud


#1

Hi guys!

I am trying to use Duplicati to connect to Oracle Cloud Infrastruture using S3 Compatible but despite the connection being successful, the back-up isn’t successful. I’ve tried similar configuration on other tools like CloudBerry Explorer and it worked fine. Did anyone managed to use OCI before and with any success?

Thanks for the help!

Below is the Log data from Duplicati

DeletedFiles: 0 
DeletedFolders: 0 
ModifiedFiles: 0 
ExaminedFiles: 1 
OpenedFiles: 1 
AddedFiles: 1 
SizeOfModifiedFiles: 0 
SizeOfAddedFiles: 672140 
SizeOfExaminedFiles: 672140
SizeOfOpenedFiles: 672140
NotProcessedFiles: 0
AddedFolders: 0
TooLargeFiles: 0
FilesWithError: 0
ModifiedFolders: 0
ModifiedSymlinks: 0
AddedSymlinks: 0
DeletedSymlinks: 0
PartialBackup: False
Dryrun: False
MainOperation: Backup
CompactResults: null
DeleteResults: null
RepairResults: null
TestResults: null
ParsedResult: Success 
Version: 2.0.4.5 (2.0.4.5_beta_2018-11-28)
EndTime: 10/01/2019 17:08:53 (1547147333)
BeginTime: 10/01/2019 17:05:07 (1547147107)
Duration: 00:03:45.7194331
Messages: [
2019-01-10 17:05:07 -02 - [Information-Duplicati.Library.Main.Controller-StartingOperation]: The operation Backup has started,
2019-01-10 17:05:08 -02 - [Information-Duplicati.Library.Main.BasicResults-BackendEvent]: Backend event: List - Started: (),
2019-01-10 17:05:08 -02 - [Information-Duplicati.Library.Main.BasicResults-BackendEvent]: Backend event: List - Completed: (),
2019-01-10 17:05:09 -02 - [Information-Duplicati.Library.Main.BasicResults-BackendEvent]: Backend event: Put - Started: duplicati-ba00c73535db9439eaa90526b3fd9d6b2.dblock.zip (446.15 KB),
2019-01-10 17:05:45 -02 - [Information-Duplicati.Library.Main.BasicResults-BackendEvent]: Backend event: Put - Retrying: duplicati-ba00c73535db9439eaa90526b3fd9d6b2.dblock.zip (446.15 KB),
... ]
Warnings: []
Errors: []
BackendStatistics:
RemoteCalls: 8
BytesUploaded: 0
BytesDownloaded: 0
FilesUploaded: 0
FilesDownloaded: 0
FilesDeleted: 0
FoldersCreated: 0
RetryAttempts: 6
UnknownFileSize: 0
UnknownFileCount: 0
KnownFileCount: 0
KnownFileSize: 0
LastBackupDate: 01/01/0001 00:00:00 (-62135589600)
BackupListCount: 0
TotalQuotaSpace: 0
FreeQuotaSpace: 0
AssignedQuotaSpace: -1
ReportedQuotaError: False
ReportedQuotaWarning: False
ParsedResult: Success
Version: 2.0.4.5 (2.0.4.5_beta_2018-11-28)
Messages: [
2019-01-10 17:05:07 -02 - [Information-Duplicati.Library.Main.Controller-StartingOperation]: The operation Backup has started,
2019-01-10 17:05:08 -02 - [Information-Duplicati.Library.Main.BasicResults-BackendEvent]: Backend event: List - Started: (),
2019-01-10 17:05:08 -02 - [Information-Duplicati.Library.Main.BasicResults-BackendEvent]: Backend event: List - Completed: (),
2019-01-10 17:05:09 -02 - [Information-Duplicati.Library.Main.BasicResults-BackendEvent]: Backend event: Put - Started: duplicati-ba00c73535db9439eaa90526b3fd9d6b2.dblock.zip (446.15 KB),
2019-01-10 17:05:45 -02 - [Information-Duplicati.Library.Main.BasicResults-BackendEvent]: Backend event: Put - Retrying: duplicati-ba00c73535db9439eaa90526b3fd9d6b2.dblock.zip (446.15 KB),
...
]
Warnings: []
Errors: []

#2

Hi @Caio_Gomes, welcome to the forum!

I may be missing something in reading your log (which I edited to make them easier to read, BTW) but I don’t see anything about the backup job failing.

How are you determining it isn’t successful?


#3

Hi @JonMikelV

Thanks for the welcoming! I determined that it’s not successful from a few factors.

First: It takes a long time (15+ minutes) with the message “Waiting for upload to finish”, even if I put only a small file to test it.

Second: After getting the finished back-up and the successful log, there is not a single file uploaded to the plataform:

Third: If I try to restore the “successful” back-up, it’s empty without any of the files:

I’m not sure what’s the problem, since I can connect and I can see the files I uploaded from other software inside the container from duplicati if I go into the list file from the remote log data

If you want to try to replicate it, I can create you a credential to an empty bucket. I think I tried pretty much every configuration I could think of.


#4

Usually if there is a destination connectivity problem the backup wouldn’t be marked as “successful” so I’m not yet sure what you’ve got going on.

It almost feels like there’s a filter excluding everything… are you able to post your backup job with Export -> As command-line? (Be sure to remove private stuff like email addresses, passwords, auth-keys, etc.)


#5

Duplicati.CommandLine.BackendTool.exe could be used to get more precise control over operations tested. What I think it will need is the URL form of the backend, maybe best taken from Export --> As Command-line.

Duplicati.CommandLine.BackendTester.exe will run tests for you, but I think it requires an empty destination, which (unfortunately, but maybe luckily if you want to give this test a whirl) you seem to have at the moment.


#6

Yes, I agree that if this was a destination connectivity problem, I most likely won’t be able to list the content that was uploaded manually nor should be receiving a “connection successful” message when configuring the back-up.

There is no filter and no exclusion to by back-up routine

Using the BackendTool.exe, as suggested by @ts678 I managed to LIST and GET a file successfully, but I cannot PUT a file to the server. When I try to execute that, I get an error.

I will attach here the “BackendTool LIST”, “BackendTool PUT” and the “BackendTester” files that I outputted from PowerShell to .txt files

Log Files.zip (5.1 KB)

From the logs, it appears that there is some incompatibility with the S3 compatible mode provided by Oracle Cloud, which is weird since I tried other S3 compatible software before without any problems.

Thanks for all the help!