How Do I Backup My Remote Secret So I can Move RClone To A New Box

Wanting To Backup/Transfer Remotes To A New Box? Also, wanting to know what mount commands work best for upload and DL/streaming speed?

1.53.3

Windows 10 x64

Google Drive

Paste command here
```rclone mount --cache-dir=M:\rclonecache --vfs-cache-mode=full -v --dir-cache-time 1000h --poll-interval 0s --allow-other --vfs-cache-max-size 500G --vfs-cache-max-age 1h secret: k:

The rclone config contents with secrets removed.

Client ID


Client Secret


rclone mount --cache-dir=M:\rclonecache --vfs-cache-mode=full -v --dir-cache-time 1000h --poll-interval 15s --vfs-cache-max-size 500G --vfs-cache-max-age 1h secret: k:



[Unit]
Description=RClone Service
Wants=network-online.target
After=network-online.target

[Service]
Type=notify
Environment=RCLONE_CONFIG=/opt/rclone/rclone.conf
KillMode=none
RestartSec=5
ExecStart=/usr/bin/rclone mount gcrypt: /GD \
# This is for allowing users other than the user running rclone access to the mount
--allow-other \
# Google Drive is a polling remote so this value can be set very high and any changes are detected via polling.
--dir-cache-time 1000h \
# The log level output 
--log-level INFO \
# Location of the log file
--log-file /opt/rclone/logs/rclone.log \
# I reduce the poll interval down to 15 seconds as this makes changes appear fast the API quotas per day are huge
--poll-interval 15s \
# This is setting the file permission on the mount to user and group have the same access and other can read
--umask 002 \
# Please set this to your own value below
--user-agent randomappname101 \
# This sets up the remote control daemon so you can issue rc commands locally
--rc \
# This is the default port it runs on
--rc-addr :5572 \
# no-auth is used as no one else uses my server and it is not a shared seedbox
--rc-no-auth \
# The local disk used for caching
--cache-dir=/cache \
# This is used for caching files to local disk for streaming
--vfs-cache-mode full \
# This limits the cache size to the value below
--vfs-cache-max-size 500G \
# This limits the age in the cache if the size is reached and it removes the oldest files first
--vfs-cache-max-age 336h \
# This sets a per file bandwidth control and I limit this to a little bigger than my largest bitrate I'd want to play
--bwlimit-file 16M
ExecStop=/bin/fusermount -uz /GD
ExecStartPost=/usr/bin/rclone rc vfs/refresh recursive=true --rc-addr 127.0.0.1:5572 _async=true
Restart=on-failure
User=felix
Group=felix

[Install]

N/A

hello,

if you want to copy/move a crypt remote to a new location, that is documented at
https://rclone.org/crypt/#backing-up-a-crypted-remote

remove -allow-other as it does nothing on windows.

update rclone to latest stable v1.51.1

and this is for linux, not windows

So remove the stuff that you put in that box? Also, how do I update without breaking my remotes?

Sorry posted the wrong config. This is my ACTUAL config.

type = drive
client_id = 
client_secret = 
scope = drive
token = {"access_token":"


[secret]
type = crypt
remote = GMedia:crypt
filename_encryption = standard
directory_name_encryption = true

create a new remote, let's call it box:
and run a command such as
rclone sync GMedia:crypt box:crypt

then you need to create another remote, using the same settings as [secret]
for example,

[secret2]
type = crypt
remote = box:crypt
filename_encryption = standard
directory_name_encryption = true

You lost me, is there a video? I'm not very good at translating what I read, especially when it comes to code/config stuff in to real world actions. It's a short coming on my part. For example, my current remote is on a Windows machine and I want to move it to a Linux machine. Can you label what commands would go to the Linux machine and what commands would go to the Windows machine?

i do not know of any videos.

based on your config file, you have a remote named secret and that is stored at gdrive correct?
if correct, then windows/linux has nothing to do with this.

the command i shared will run the same on windows or linux.

Do I run this command on the new Linux box or on the Windows box? Am I backing up locally or creating a new remote on the new box with same secret?

you did not answer my last question.

if the files are in gdrive and you want to copy it to Box, then it does not matter where you run the command.

Yes I have a remote named secret stored at gdrive

then it does not matter where you run the command,
on windows, on linux, on android or on a virtual machine in the clould.

and after the sync is done, you can access the new remote on the windows computer and on the linux computer.

Also still wanting to know what mount commands work best for upload and DL/streaming speed

as for the mount, need to know more about your use-case.

uploading encrypted to google and then serving those files to users on a streaming platform

first, update rclone to latest.

your settings from the first post looks ok but you can just copy the settings from
https://github.com/animosity22/homescripts/blob/master/systemd/rclone.service

when i use a mount to stream, tho i do not use gdrive, i use
'--read-only --no-checksum --dir-cache-time=10000h --buffer-size=200M' --rc

How do I update rclone?

the same you installed it. download the .zip file, unzip it to get the rclone.exe
https://rclone.org/downloads/

This won't overwrite my remotes will it?

correct, this will not overwrite your remotes.

Okay I have updated my remote.