l3uddz / cloudplow

Automatic rclone remote uploader, with support for multiple remote/folder pairings. UnionFS Cleaner functionality: Deletion of UnionFS whiteout files and their corresponding files on rclone remotes. Automatic remote syncer: Sync between different remotes via a Scaleway server instance, that is created and destroyed at every sync.
GNU General Public License v3.0
339 stars 48 forks source link

Clean Multiple Remotes #38

Closed sbcrumb closed 5 years ago

sbcrumb commented 5 years ago

Is there anyway to have cloudplow clean multiple remotes? IE fails on remote 1 tries remote 2? Reason is I started my collection encrypted. (Will take me too long to move to unencrypted.) So I started anything new in a unencrypted. But sometimes Radarr/Sonarr downloads an upgrade for something on the old encrypted mount which is really just a read only space. And cloudplow will try to clean it but it can't cause it is on the old encrypted mount not the new non encrypted. Hopefully that made sense.

desimaniac commented 5 years ago

It will clean from whatever remote you have mentioned in the config section.

    "hidden": {
        "/mnt/local/.unionfs-fuse": {
            "hidden_remotes": [
                "google"
            ]
        }

PS. You are on Discord aren't you? Why not ask there? Issues are more for actual issues (eg bugs), not for support.

sbcrumb commented 5 years ago

Yeah I am in discord I asked last week on it, and got no response, my apologies. So if I understand you correctly I can add multiple remotes to that line?

desimaniac commented 5 years ago
    "hidden": {
        "/mnt/local/.unionfs-fuse": {
            "hidden_remotes": [
                "remote1",
                "remote2"
            ]
        }

These remotes are referring to CP config remotes, not rclone remotes. So you need to create another remote under remotes section of the CP config.

sbcrumb commented 5 years ago

I think I got it sorry for opening an issue versus discord. Thanks for the direction.

desimaniac commented 5 years ago

Np. You can also PM me there.