What is the problem you are having with rclone?
No problems as such, really just looking for verification that my plan for recovering data is on the right track. With the Google Drive gravy train coming to an end, looking to retrieve all files existing on my encrypted Google Drive that do not exist on my local storage. I'm using Rclone on Windows 2012 Server in this case with actual storage on a mergerfs + SnapRaid volume. Before I go nuking my Google Drive service, would appreciate some eyes on my approach/commands below to ensure they look solid.
Run the command 'rclone version' and share the full output of the command.
C:\Tools\rclone>rclone.exe version
rclone v1.63.0
- os/version: Microsoft Windows Server 2012 R2 Standard (64 bit)
- os/kernel: 6.3.9600.0 (x86_64)
- os/type: windows
- os/arch: amd64
- go/version: go1.20.5
- go/linking: static
- go/tags: cmount
Are you on the latest version of rclone? You can validate by checking the version listed here: Rclone downloads
yes
Which cloud storage system are you using? (eg Google Drive)
Google Drive (encrypted)
The command you were trying to run (eg rclone copy /tmp remote:tmp
)
- Get a list of files that exist on the remote, but not on local.
rclone.exe cryptcheck M:\ GCrypt:/SecBackup --buffer-size 32M --drive-chunk-size 256M --checkers 40 --track-renames --track-renames-strategy modtime --modify-window=1s --tpslimit=20 --exclude-from .\excludes.txt --error=.\log\CheckCyrptError.txt --missing-on-src=.\log\CryptRestore.txt
- Batch file to recover files from remote
FOR %%G IN (.\log\CryptRestore.txt) DO rclone.exe copy GCrypt:/SecBackup/%%G M:\ --buffer-size 32M --drive-chunk-size 256M --transfers 20 --checkers 40 --track-renames --track-renames-strategy modtime --modify-window=1s --tpslimit=20 --exclude-from .\excludes.txt -P --stats-log-level INFO --log-level DEBUG --log-file=.\log\Rclone.txt
- Rerun step 1 which should result in no files being logged to the
.\log\CryptRestore.txt
file.
The rclone config contents with secrets removed.
[GDrive]
type = drive
scope = drive
token = {"access_token":"Bunch-O-AlphaNumeric"}
client_id = Bunch-O-AlphaNumeric.apps.googleusercontent.com
client_secret = Bunch-O-AlphaNumeric
root_folder_id = Bunch-O-AlphaNumeric
[GCrypt]
type = crypt
remote = GDrive:/SecureBackup
filename_encryption = standard
directory_name_encryption = true
password = Bunch-O-AlphaNumeric
show_mapping = true