STEP 1: SSH into Your Server with Port Forwarding
Replace username → your server user (e.g. root)
Replace remote_server → your server IP
STEP 2: Launch Rclone Configuration
STEP 3: Create a New Remote
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 |
STEP 5: Client ID
STEP 6: Client Secret
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 |
STEP 8: Service Account File (optional)
STEP 9: Edit Advanced Config?
STEP 10: Use Auto Config?
You’ll get:
Copy and open the link in your local browser
✅ Login & allow access
🟢 Return to terminal
✅ STEP 11: Confirm & Save 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



