laurent22 / rsync-time-backup

Time Machine style backup with rsync.
3.38k stars 446 forks source link

Not backup /var after remove on command exclude file #210

Open abkrim opened 4 years ago

abkrim commented 4 years ago

Usually I use

/root/rsync-time-backup/rsync_tmbackup.sh -p 24 --strategy "1:1 30:7 90:30" / aesa@remote_server:/srv/storage/backup/aesa/pro/backup/ /exclude.txt

My surprise today was when I wanted to delete a directory from the exclude /var/lib/psa/ and after deleting it, I saw that not only was the /var/lib/psa/ excluded, but the /var is not backed up.

But the but comes when I remove from the command the use of exclude ... and I find that it backs up all the systems except for /var

Any ideas?