ACD BAN/Alternatives discussion (error HTTP code 429)

@David_M: what I did on google compute was the following

I have ordered a VM in my location with 30GB system SSD disc and additional with 8TB hdd with Ubuntu 16.04
If the instance was ready I have formated the 2nd disc, /dev/sdb and mounted into /mnt/disc/xxx which I mount bind to the folder ~/odrive-agent-mount (mkdir first)

The odrive setup is easy, you have to install, authenticate, start and mount
install

od="$HOME/.odrive-agent/bin" && curl -L “http://dl.odrive.com/odrive-py” --create-dirs -o “$od/odrive.py” && curl -L “http://dl.odrive.com/odriveagent-lnx-64” | tar -xvzf- -C “$od/” && curl -L “http://dl.odrive.com/odrivecli-lnx-64” | tar -xvzf- -C “$od/”

run

nohup “$HOME/.odrive-agent/bin/odriveagent” > /dev/null 2>&1 &

sign up for auth
https://www.odrive.com/account/authcodes

auth

python “$HOME/.odrive-agent/bin/odrive.py” authenticate 00000000-0000-0000-0000-000000000000-00000000

mount odrive

python “$HOME/.odrive-agent/bin/odrive.py” mount “$HOME/odrive-agent-mount” /

Now the folder you have created is ready for SYNC

After that you have to use the script from @Philip_Konighofer

for example

nano odrive.sh

copy - paste the RAW part of this link (end of the page)
https://pastebin.com/KDB1XVYR

save it (ctrl + o, ctrl + x), and

chmod +x odrive.sh

after this you have to run it in SCREEN

screen -S job1
./odrive.sh

ctrl a+d

screen -S job2
./odrive.sh

ctrl a+d

screen -S job3
./odrive.sh

ctrl a+d

You can always enter the screen and see the progress

screen -r job1

Leave it again with
ctrl a+d

After all 3 jobs are ready
Just ENTER this is line on every screen again:

find ~/odrive-agent-mount/ -type f -name “*.cloud” -exec python “$HOME/.odrive-agent/bin/odrive.py” sync {} ;

which will do the DOWNLOAD
this will take a while, depinding how many TB you have…
(more details and how you could verify if everything was downloaded can be found here: post 524)

If it done, and you have downloaded all from the AMAZON cloud
You could just run rclone as usually for the copy, I would use first COPY

Something like this:

rclone copy
–transfers 16
–low-level-retries 1
–checkers=32
–exclude *.cloud
–exclude *.cloudf
–retries 10
–contimeout 10m
–size-only
–max-size 50000M
–verbose
–log-file=Log_gdrive_movies.txt
/home/XXX/odrive-agent-mount/acd/Plex/huUHudnndjee766dejNNjeje/ gdrive:Plex/huUHudnndjee766dejNNjeje

where XXX is your username on google compute
and “huUHudnndjee766dejNNjeje” is your Movies or TV-Series folder crypted in the Plex folder (as you created based on enzTV howto document)

This you could run also during the download from ACD as well
It will skip the TEMP files, cloud and cloudf

2 Likes