I've successfully setup my first remote. I've running a new server which doesn't have too much data, so I wish to sync the entire thing to my remote - all files and directors. Would the correct command to copy everything from the root director outwards be:
rclone copy . remotename:backupfolder
I'm not sure if I should be using just . or ./ to capture the entire drive.
Let's say you have folders stored in /home/user/Media and you'd like to backup to your remote. I'd say you'd issue 'rclone copy /home/user/Media remote:/path/to'. But you'd probably like to not have repeats so then after the first time you'd do 'rclone copy --ignore-existing /home/user/Media remote:/path/to'.
You won't get repeats - rclone checks to see if the file is uploaded so you don't need --ignore-existing. If you supply --ignore-existing then rclone won't update a file that already exists on the remote.
This is not quite my experience. If I just issue a rclone copy without ignore, what happens is I get two copies of the same file from the same directory. I've mostly mitigated this with hardlinks but still. It happens.
Another quick one, I've installed on Ubuntu following the documentation. I'm now wanting to set up a crontab to do a daily sync. In my backup.sh file, I need to specify the location that rclone is installed. What is the default path? I'm following this syntax:
No, sorry. It's essentially two different exclusions I'm after. The first being to exclude secrets.yaml (which is in a different directly). That one is working.
The second is to ignore the /Downloads/ folder and everything in it and all subdirectories. These contain a number of large video files I don't desire to backup. So that's where I'm tripping up, as Rclone is till syncing those to my cloud.