kronoskoders

Members
  • Posts

    4
  • Joined

  • Last visited

Everything posted by kronoskoders

  1. Ok ya. I figured out the problem. It looks like you're appending an additional `:` to the end of remote name. This won't work for buckets in backblaze. I altered your start.sh script to this and it started to work: function set_run_sync_flags(){ if [[ "${rclone_remote_name_item}" == *":"* ]]; then rclone_remote_name="${rclone_remote_name_item}${rclone_media_shares_item}" else rclone_remote_name="${rclone_remote_name_item}:${rclone_media_shares_item}" fi if [[ "${RCLONE_DIRECTION}" == 'localtoremote' || "${RCLONE_DIRECTION}" == 'both' ]]; then if [[ "${ENABLE_WEBUI}" == 'yes' ]]; then sync_direction="srcFs=${rclone_media_shares_item} dstFs=${rclone_remote_name}" else sync_direction="${rclone_media_shares_item} ${rclone_remote_name}" fi echo "[info] Running rclone ${RCLONE_OPERATION} for local media share '${rclone_media_shares_item}' to remote '${rclone_remote_name}'..." run_rclone echo "[info] rclone ${RCLONE_OPERATION} finished" fi if [[ "${RCLONE_DIRECTION}" == 'remotetolocal' || "${RCLONE_DIRECTION}" == 'both' ]]; then if [[ "${ENABLE_WEBUI}" == 'yes' ]]; then sync_direction="srcFs=${rclone_remote_name} dstFs=${rclone_media_shares_item}" else sync_direction="${rclone_remote_name} ${rclone_media_shares_item}" fi echo "[info] Running rclone ${RCLONE_OPERATION} from remote '${rclone_remote_name}' to local share '${rclone_media_shares_item}'..." run_rclone echo "[info] rclone ${RCLONE_OPERATION} finished" fi } This seems to be working for my scenario. I'm not sure if this is within the realm of your support but it would be nice to have an option to set the 'bucket' in between the remote_name and the media shares
  2. I'm still working this, but this might be helpful. The command to generally sync with Backblaze looks like this: rclone sync -i /home/local/directory remote:bucket I'm assuming that there's a syntax with the `remote:bucket` that we're running into.
  3. Putting `b2` in there returns this error: 2021/09/27 01:21:07 Failed to create file system for "b2:/media/backup": you must use bucket "kronos-backup" with this application key
  4. I seem to be having an issue with trying to set this up with backblaze. When inspecting the log files I get this: cat local-to-remote-b2:kronos-backup-combined-media-backup.txt 2021/09/27 00:34:59 Failed to create file system for "b2:kronos-backup:/media/backup": you must use bucket "kronos-backup" with this application key I've got my `RCLONE_REMOTE_NAME` set to `b2:kronos-backup` but I'm not sure that's the correct way of doing this. Any thought?