Overslaan naar inhoud
CTech Digital
  • Startpagina
  • Odoo services
  • AI services
  • Contact
  • 0
  • Nederlands (BE) English (UK) Français
CTech Digital
  • 0
    • Startpagina
    • Odoo services
    • AI services
    • Contact
  • Nederlands (BE) English (UK) Français

VPS rclone instructions

  • Alle blogs
  • Daily blog
  • VPS rclone instructions
  • 23 maart 2026 in
    CTech Metrology, Luc Wens

    VPS rclone — Multi-Instance Commands

    Server: ssh root@85.9.215.202 Dashboard password: migration2026

    1. Start 3 parallel rclone instances

    First stop the single-instance service if it's still running:

    systemctl stop rclone-migration 2>/dev/null
    tmux kill-session -t migration 2>/dev/null
    

    Open firewall ports for all 3 instances:

    ufw allow 5572/tcp && ufw allow 5573/tcp && ufw allow 5574/tcp
    

    Launch the 3 instances (matching the dashboard layout):

    # Instance 1: C-Tech (port 5572)
    rclone move dropbox:C-Tech gdrive:C-Tech --exclude "/GIT/**" \
        --update --use-server-modtime --transfers 32 --checkers 64 \
        --buffer-size 32M --drive-chunk-size 128M \
        --tpslimit 15 --tpslimit-burst 20 \
        --retries 5 --retries-sleep 10s --low-level-retries 10 \
        --ignore-errors \
        --stats 1m --stats-log-level NOTICE --stats-one-line \
        --log-file /root/migration_ctech.log --log-level INFO \
        --rc --rc-addr 0.0.0.0:5572 --rc-user admin --rc-pass migration2026 \
        --rc-enable-metrics --rc-allow-origin '*' &
    
    # Instance 2: Productgroup (port 5573)
    rclone move dropbox:Productgroup gdrive:Productgroup \
        --update --use-server-modtime --transfers 32 --checkers 64 \
        --buffer-size 32M --drive-chunk-size 128M \
        --tpslimit 15 --tpslimit-burst 20 \
        --retries 5 --retries-sleep 10s --low-level-retries 10 \
        --ignore-errors \
        --stats 1m --stats-log-level NOTICE --stats-one-line \
        --log-file /root/migration_productgroup.log --log-level INFO \
        --rc --rc-addr 0.0.0.0:5573 --rc-user admin --rc-pass migration2026 \
        --rc-enable-metrics --rc-allow-origin '*' &
    
    # Instance 3: Other — everything else (port 5574)
    rclone move dropbox: gdrive: --exclude "/GIT/**" \
        --exclude "/C-Tech/**" --exclude "/Productgroup/**" \
        --update --use-server-modtime --transfers 16 --checkers 32 \
        --buffer-size 32M --drive-chunk-size 128M \
        --tpslimit 10 --tpslimit-burst 15 \
        --retries 5 --retries-sleep 10s --low-level-retries 10 \
        --ignore-errors \
        --stats 1m --stats-log-level NOTICE --stats-one-line \
        --log-file /root/migration_rest.log --log-level INFO \
        --rc --rc-addr 0.0.0.0:5574 --rc-user admin --rc-pass migration2026 \
        --rc-enable-metrics --rc-allow-origin '*' &
    

    Note: --tpslimit is split across instances (15+15+10=40 total) to stay within Google's API rate limits. Instance 3 gets fewer transfers/checkers since it handles the smaller remaining folders.

    2. Check if rclone instances are still running

    ps aux | grep rclone | grep -v grep
    

    Or more concise:

    pgrep -a rclone
    

    To check individual log files:

    tail -20 /root/migration_ctech.log
    tail -20 /root/migration_productgroup.log
    tail -20 /root/migration_rest.log
    

    To check via the RC API (from the VPS itself):

    curl -s -u admin:migration2026 http://localhost:5572/core/stats | head -5
    curl -s -u admin:migration2026 http://localhost:5573/core/stats | head -5
    curl -s -u admin:migration2026 http://localhost:5574/core/stats | head -5
    

    3. Kill rclone instances

    Kill all rclone instances at once:

    pkill rclone
    

    Kill a specific instance by port (find PID first, then kill):

    # Find which PID is using a specific port
    ss -tlnp | grep 5572
    # or
    lsof -i :5572
    
    # Then kill by PID
    kill <PID>
    

    Or kill by log file name (since each instance has a unique log path):

    # Kill only the C-Tech instance
    pkill -f migration_ctech
    
    # Kill only the Productgroup instance
    pkill -f migration_productgroup
    
    # Kill only the "rest" instance
    pkill -f migration_rest
    

    Verify migration completeness

    After all instances finish:

    rclone check dropbox: gdrive: --exclude "/GIT/**" --one-way
    

    Check logs for errors:

    grep -i error /root/migration_*.log | tail -30
    
    in Daily blog
    # Claude
    VPS servers comparison
    Copyright © CTech
    Nederlands (BE) | English (UK) | Français
    Aangeboden door Odoo - De #1 Open source e-commerce