STEP 1: SSH into Your Server with Port Forwarding
ssh -L localhost:53682:localhost:53682 username@remote_server
Replace username → your server user (e.g. root)
Replace remote_server → your server IP
STEP 2: Launch Rclone Configuration
rclone config
STEP 3: Create a New Remote
- here you can see many others opton like Delete backup, rename backup, exiting backup etc new need to enter n for create new backup
> n # Create a new remote
name> remote # Enter remote name (you will use this in CloudPanel) use name remote for 0 issue
STEP 4: Choose Storage Type
Supported storages (commonly used with CloudPanel):
Storage | Number | Type |
|---|---|---|
Google Drive | 18 | drive |
OneDrive | 30 | onedrive |
Terabox (via WebDAV or other wrappers) | use 42 or webdav if supported |
Storage> 18 # Google Drive selected here
STEP 5: Client ID
client_id> # Press Enter (or paste your custom Google API ID)
please if you dont know no need to enter google client id just press enter
STEP 6: Client Secret
client_secret> # Press Enter (or paste your secret)
same here no need to enter client secret just press enter
STEP 7: Select Access Scope
Google Drive Scopes (Important):
Scope Number | Access Level | Value |
|---|---|---|
1 | Full access (recommended) | drive |
2 | Read-only (no write/delete) | drive.readonly |
3 | Access to rclone-created files only | drive.file |
4 | Access to AppData folder only | drive.appfolder |
5 | Read-only metadata only | drive.metadata.readonly |
scope> 1 # Full access selected here
dont select others option just enter 1 give full acces
STEP 8: Service Account File (optional)
service_account_file> # Leave blank unless using service account
STEP 9: Edit Advanced Config?
y/n> n # No
STEP 10: Use Auto Config?
y/n> y # Yes (will launch browser-based auth)
You’ll get:
NOTICE: If your browser doesn't open automatically go to: <http://127.0.0.1:53682/auth?state=>...
Copy and open the link in your local browser
✅ Login & allow access
🟢 Return to terminal
✅ STEP 11: Confirm & Save Config
> y # Confirm remote
> q # Quit config
STEP 12: Setup Backup in CloudPanel
Login to CloudPanel
Navigate to: Admin > Backups
Click on Custom Rclone Config
Choose:
Remote: remote:/your-backup-folder
Frequency: Daily / Weekly
Time: When backup runs (e.g., 03:00)
Retention Period: e.g., 7 days
Storage Directory: Folder you created in your drive
Click Create Backup
Blog
Other blogs
Check out some of my other blog



