What i'm trying to achieve: I was going to replicate from this forum: but on a larger scale to keep things organized.
I'm trying to backup with copy for the first time of specific folders then move to sync for changes on c drive, d: drive, e:drive and x:drive to a gdrive mount. :media for testing.
I'm going to be using 4 different scripts shown here: . just need help with the first to apply to the rest. I was unable to use '- *' as it would just make nothing transfer. But as of now all it does is ignore all exclude rules and include rules as well as deny access to certain files as shown in the log file.
What is your rclone version (output from rclone version)
rclone v1.52.2-207-g1fdcc195-vfs-beta
os/arch: windows/amd64
go version: go1.14.4
Which OS you are using and how many bits (eg Windows 7, 64 bit)
Windows 10 64bit
Which cloud storage system are you using? (eg Google Drive)
Google Drive
The command you were trying to run (eg rclone copy /tmp remote:tmp)
as rclone is not a backup program using VSS, rclone cannot access certain files on your system.
you might have better luck using my wiki https://github.com/rclone/rclone/wiki/How-to-enable-VSS-for-rclone
really, nothing you can do about that other than using a real backup program.
looks like the filters might be working 2020/09/17 16:49:53 DEBUG : Users/xxxxx/.VirtualBox VMs/Android 10/Logs/VBox.log: Excluded
ive been using robocopy to copy files from c drive to a large poll on my 4tb hard drive.(e) for the longest time but that was all locally done and did not involve cloud storage. now as for x: for videos/tv etc. would rclone be enough to move those to the cloud as id just be playing them from the cloud anyways?
the filters work for excluding .log's but it doesn't exclude anything past that like windows/recycle bin/desktop etc.
reason im using rclone is to 1, be an alternative of manually dragging files everynight thru filezilla and accidently forgetting things. but also to use the sync command on rclone, and 2. to encrypt and mount the share's so i can stream the videos from the drive without keeping them locally as a sort of "local plex" but threw mkvplayer instead of plex.
i grabbed the same directories from my robocopy job as a replacement as it didn't have a great excluding feature to ignore the .log files and desktop.ini's
I tried using robocopy to copy everything to google drive but it "crashed and burned" by filling up my drives due to it caching from writing to the mounted drive instead of doing it threw rclone with the copy/sync command.
I think its working? but i'm not sure id have to wait to see if anything did not get copied over that it wasn't supposed to. but if it does would I have to exclude every root folder for everything else since the -* doesn't register/excludes all files.
edit: never mind it still ignores the filters. and copies files that aren't in the include syntax
I guess i'm doing it backwards and still going threw filter because of what was said in the other thread. I guess i should just be using the include from file. instead of filtering it all? then adding a sepereate exclude from to exclude .log files and desktop.ini's?
only issue i think now is grabbing folders with spaces in them as it doesn't seem to pick up the "folder" and excluding the .log and desktop.ini's as it skipped program files all together and went to /Games .
as for the --dump filters was for testing to see what it was doing. for the cache-temp-wait-time, i kept it there for testing just incase it tries to cache something when i was using sync instead of copy but it seems not needed anymore.
2020/09/17 18:21:14 INFO :
Transferred: 0 / 0 Bytes, -, 0 Bytes/s, ETA -
Transferred: 8743 / 8743, 100%
Elapsed time: 0.0s
2020/09/17 18:21:14 DEBUG : 6 go routines active
just ran the dry run of it, it grabs the right files and it auto excludes everything else not in that file. but it doesn't seem to pick up the "folders with spaces in them" But for the majority at least its working properly now.