Trying to get started replacing s3cmd with rclone for s3-compatible object storage. I’ve completed “rclone config” for bucket1 and bucket2 but cannot get past the following error to start the sync. ~$rclone sync bucket1-name:2019-11/ bucket2-name:2020/ or ~$rclone sync bucket1-name:2019-11 bucket2-name:2020
Error message - 2020/04/12 12:54:04 ERROR : : error reading source directory: directory not found 2020/04/12 12:54:04 ERROR : S3 bucket 2020: not deleting files as there were IO errors 2020/04/12 12:54:04 ERROR : S3 bucket 2020: not deleting directories as there were IO errors 2020/04/12 12:54:04 ERROR : Attempt 1/3 failed with 1 errors and: directory not found 2020/04/12 12:54:04 ERROR : : error reading source directory: directory not found 2020/04/12 12:54:04 ERROR : S3 bucket 2020: not deleting files as there were IO errors 2020/04/12 12:54:04 ERROR : S3 bucket 2020: not deleting directories as there were IO errors 2020/04/12 12:54:04 ERROR : Attempt 2/3 failed with 1 errors and: directory not found 2020/04/12 12:54:05 ERROR : : error reading source directory: directory not found 2020/04/12 12:54:05 ERROR : S3 bucket 2020: not deleting files as there were IO errors 2020/04/12 12:54:05 ERROR : S3 bucket 2020: not deleting directories as there were IO errors 2020/04/12 12:54:05 ERROR : Attempt 3/3 failed with 1 errors and: directory not found 2020/04/12 12:54:05 Failed to sync: directory not found
Bucket2 definitely has a folder in it named “2020”. I am able to upload files to this folder. Appreciate any guidance or follow up suggestions. Thanks.
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Hello, @mflug
The issue is most probably with the path used in the rclone command. If the folder is present on the space than it’s most likely the path.
You can try with:
rclone sync bucket1-name:/2019-11 FullPathToFolder
I’m using Linux and the following command is working fine for me:
rclone sync space:/Books /home/sammy/books
Additionally you can add -vvv for more verbose output. This can help us with the troubleshoot process.
Hope that this helps! Regards, Alex
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.