Hi All,
I'm using rsync to back up local files to Google Drive. The first backup is successful but the second backup adds duplicate files with each backup. Its just doing a whole full new backup- not incremental. Below is rsync as I'm using it:
rsync -hvaPHL /home/hudson/Desktop /mnt/GDrive/backup/hudson-2 1> /mnt/livelog-hudson.txt 2> /mnt/errors-hudson.txt
Edit: The source computer in question is the second computer that is mounting Google Drive. I'm using rclone to mount GDrive and set it up after the first computer. The rsync command is exactly the same on both computers and the first computer isn't having the above problem. The only difference is that rsync is backing up to different directories:
Computer #1:
rsync -hvaPHL /home/hudson/Desktop /mnt/GDrive/backup/hudson-1 1> /mnt/livelog-hudson.txt 2> /mnt/errors-hudson.txt
Computer #2:
rsync -hvaPHL /home/hudson/Desktop /mnt/GDrive/backup/hudson-2 1> /mnt/livelog-hudson.txt 2> /mnt/errors-hudson.txt
Note the different directories in bold.
Any help much appreciated!
I'm using rsync to back up local files to Google Drive. The first backup is successful but the second backup adds duplicate files with each backup. Its just doing a whole full new backup- not incremental. Below is rsync as I'm using it:
rsync -hvaPHL /home/hudson/Desktop /mnt/GDrive/backup/hudson-2 1> /mnt/livelog-hudson.txt 2> /mnt/errors-hudson.txt
Edit: The source computer in question is the second computer that is mounting Google Drive. I'm using rclone to mount GDrive and set it up after the first computer. The rsync command is exactly the same on both computers and the first computer isn't having the above problem. The only difference is that rsync is backing up to different directories:
Computer #1:
rsync -hvaPHL /home/hudson/Desktop /mnt/GDrive/backup/hudson-1 1> /mnt/livelog-hudson.txt 2> /mnt/errors-hudson.txt
Computer #2:
rsync -hvaPHL /home/hudson/Desktop /mnt/GDrive/backup/hudson-2 1> /mnt/livelog-hudson.txt 2> /mnt/errors-hudson.txt
Note the different directories in bold.
Any help much appreciated!
Last edited: