Existing backup rsync move to rclone

What is the problem you are having with rclone?

I currently have about 25TB of data synced from my primary server to my secondary back up server using RSYNC - i like how rclone keeps things in sync and dumps stuff that is deleted into the --backup-dir so i can go through and review and nuke as needed

i want to migrate to using rclone from rsync -avPr - if i point rclone at the existing backup and run it - will it delete the existing files and rewrite them? or will it recognize that they are already there and not overwrite them?

What is your rclone version (output from rclone version)

rclone v1.56.2
- os/version: slackware 14.2+ (64 bit)
- os/kernel: 5.10.28-Unraid (x86_64)
- os/type: linux
- os/arch: amd64
- go/version: go1.16.8
- go/linking: static
- go/tags: none

Which cloud storage system are you using? (eg Google Drive)

SFTP/SSH

The command you were trying to run (eg rclone copy /tmp remote:tmp)

rclone sync -v \
--backup-dir=nh-backup:/mnt/user/store/OLD/media-$CURRENT_DATE \
--fast-list \
--log-file=$LOG_FILE \
/mnt/user/media/ nh-backup:/mnt/user/store/media

hello and welcome to the forum,

by default, rclone uses modtime and file size to compare files.
if those are the same, then rclone will not overwrite.
tho rclone behavior can be tweaked.

in your case, the log file will answer your question.

for testing:

  • use --dry-run
  • remove -v and add --log-level=DEBUG

thanks for the response - i'll kick off a dry run this afternoon and change the log level

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.