Skip to content

Cloudplow

kesurof edited this page Jan 21, 2021 · 11 revisions

Synchroniser deux drives avec 2 remotes nommés respectivement google et tata

Cloudplow upload vers le 1er drive et ensuite, dans un delais préalablement defini, synchonise le 1er drive avec le 2ème drive

le rclone.conf intègre donc 5 remotes

avec les mêmes mots de passe

Le remote plexdrive concernant le 2ème remote à synchroniser n'est pas nécessaire

Exemple de config.json pour la synchro sur un 2eme 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": {
                "--bwlimit": "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/*"
            ]
        }
    }
}

Pré requis

Installation

Les Applications

Les Outils

Sécurisation

[Watch the video

5f07eb30-07e6-4b91-af7b-b889cf04fc57.mp4
root@DESKTOP-L7NFADO_.2024-03-10.18-00-46.mp4
ubuntu@instance-20240303-1219_._seedbox-compose.2024-03-10.17-05-25.mp4
backup.oracle.WinSCP.2024-03-10.17-24-34.mp4
Clone this wiki locally