by Bente Olsen.
I have updated an existing (FTP) backup of my moodledata directory using rsync with the options from https://docs.moodle.org/31/en/Tools_for_backing_up_server_files#Rsync_in_linux:
rsync -auvtz --delete -e ssh mysshusername@example.com:/my/server/directory /my/backup/directory/
I noticed the -auvtz option, isn't it redundant to include 't', as I read the man rsync it is a part of the '-a' option?
Anyway, I expected it to perform an incremental backup, but rsync started to delete the existing content of the directory tree and then copied all files once again.
- My question is now how to make an incremental backup? - &
- BTW, do I have to do this as root or is that not necessary?