rsnapshot and configured it to make backup every hour. But the issue is all backups that are made not working. Let me explain to you, I made 3 backups
- hourly.0 : there are 15 files
- hourly.1 : there are 14 files (I removed one file)
- hourly.2 : there are 15 files (I recreated an other file)
The problem is when I went to backup of
hourly.1 I found the file that I created in
hourly.2, so I tried to remove it again but unfortunately the file that I removed ended up being removed in all my folders (
hourly.3), which means the all of those folders are just a symbolic links not more.
This is my file configuration:
#rsnapshot config_version 1.2 snapshot_root /var/Majjane-Save/ cmd_cp /bin/cp cmd_rm /bin/rm cmd_rsync /usr/bin/rsync cmd_logger /usr/bin/logger cmd_du /usr/bin/du cmd_rsnapshot_diff /usr/bin/rsnapshot-diff retain hourly 24 verbose 2 loglevel 3 logfile /var/log/rsnapshot.log lockfile /var/run/rsnapshot.pid exclude /var/www/clients/ exclude /var/www/apps/ backup /var/www/ localhost/var/Majjane-Save/
Note : i solved the issue , in the fact it was about the symbolic links. i were run the backup just the symbolic links no more. now its work well.