Skip to content

Cloudplow

Synchronize two drives with 2 remotes named respectively google and tata

Cloudplow uploads to the 1st drive and then, within a previously defined time frame, synchronizes the 1st drive with the 2nd drive

the rclone.conf therefore integrates 5 remotes

with the same passwords

The plexdrive remote concerning the 2nd remote to be synchronized is not necessary

Example of config.json for synchronization on a 2nd drive:

```{
“core”: {
“dry_run”: false,
“rclone_binary_path”: “/usr/bin/rclone”,
“rclone_config_path”: “/root/.config/rclone/rclone.conf”
},
“hidden”: {
“/home/yohann/local/.unionfs-fuse”: {
“hidden_remotes”: [
“google”
]
}
},
“notifications”: {},
“nzbget”: {
“enabled”: false,
“url”: “https://user:password@nzbget.domain.com
},
“plex”: {
“enabled”: false,
“max_streams_before_throttle”: 1,
“notifications”: false,
“poll_interval”: 60,
“rclone”: {
“throttle_speeds”: {
“0”: “1000M”,
“1”: “50M”,
“2”: “40M”,
“3”: “30M”,
“4”: “20M”,
“5”: “10M”
},
“url”: “http://localhost:7949
},
“token”: “FXrhQE28zND-YDc”,
“url”: “https://plex.domaine.com”,
“verbose_notifications”: false
},
“remotes”: {
“google”: {
“hidden_remote”: “google:/yohann”,
“rclone_command”: “move”,
“rclone_excludes”: [
partial~”,
_HIDDEN~”,
“.unionfs/”,
“.unionfs-fuse/
”,
“.fuse_hidden”,
“rutorrent/
”,
“sabnzbd/”,
“Unsorted/

],
“rclone_extras”: {
“–checkers”: 16,
“–drive-chunk-size”: “128M”,
“–low-level-retries”: 2,
“–retries”: 1,
“–skip-links”: null,
“–stats”: “60s”,
“–transfers”: 8,
“–verbose”: 1
},
“rclone_sleeps”: {
” 0/s,”: {
“count”: 16,
“sleep”: 25,
“timeout”: 62
},
“Failed to copy: googleapi: Error 403: User rate limit exceeded”: {
“count”: 10,
“sleep”: 25,
“timeout”: 7200
}
},
“remove_empty_dir_depth”: 2,
“sync_remote”: “google:/yohann”,
“upload_folder”: “/home/yohann/local”,
“upload_remote”: “google:/yohann”
},

    "yohann": {
        "hidden_remote": "",
        "rclone_excludes": [],
        "rclone_extras": {},
        "rclone_sleeps": {},
        "remove_empty_dir_depth": 2,
        "sync_remote": "yohann:/yohann",
        "upload_folder": "",
        "upload_remote": ""
    }
},
"syncer": {
    "google2yohann": {
        "rclone_extras": {
            "--bullimit": "70M",
            "--checkers": 16,
            "--drive-chunk-size": "64M",
            "--stats": "60s",
            "--transfers": 8,
            "--verbose": 1
        },
        "service": "local",
        "sync_from": "google",
        "sync_interval": 26,
        "sync_to": "yohann",
        "tool_path": "/usr/bin/rclone",
        "use_copy": true,
        "instance_destroy": false
      }

},
“uploader”: {
“google”: {
“check_interval”: 30,
“exclude_open_files”: false,
“max_size_gb”: 20,
“opened_excludes”: [
“/rutorrent/”
],
“service_account_path”: “”,
“size_excludes”: [
“rutorrent/*”
]
}
}
}
```