Ok. Thanks to your explanation now i understood the use of "--delete-before." As I explained above I want to do a full backup but the nas drive has 160GB free out of 1000GB
and server has 75 Gb out of 500 gb
meaning you want to backup 425GB ?
The nas drive is mount to server when rsync runs.
have you excluded the mount point of your NAS on the SME from your rsync command ? Otherwise rsync will copy NAS data again on the NAS....
meaning if your mount point is /mnt/NAS
you need to add --exclude=/mnt/NAS to rsync.
The problem is when the rsync run in full backup mode, the free space the server has is going to 0GB and stuck everything.
(as told Daniel, there is no mode for rsync, it always intend to do a full backup, this is just its way of doing it that is special)
if by server you mean the SME, then you are not syncing on your NAS but on your SME ,
- either because your NAS is not really mounted and you are backuping on the folder created to mount your NAS,
- either your pointing the wrong path to backup
- either you have mixed destination and source
That's why I asked you to give me a option to delete the dest. Backup before run rsync. You suggest me to run everytime the incrimental mode?
I suggest you paste there the command you try to do to clarify the situation ....