laurent22 / rsync-time-backup

Time Machine style backup with rsync.
3.36k stars 443 forks source link

No backup marker issue #254

Closed PrzemekSkw closed 1 year ago

PrzemekSkw commented 1 year ago

Hello, I do everything like installation guide and have that error:

dietpi@DietPi:~/rsync-backup/rsync-time-backup$ ./rsync_tmbackup.sh /home /mnt/Toshiba
rsync_tmbackup: Safety check failed - the destination does not appear to be a backup folder or drive (marker file not found).
rsync_tmbackup: If it is indeed a backup folder, you may add the marker file by running the following command:
rsync_tmbackup: 
rsync_tmbackup: mkdir -p -- "/mnt/Toshiba" ; touch "/mnt/Toshiba/backup.marker"
rsync_tmbackup: 
dietpi@DietPi:~/rsync-backup/rsync-time-backup$ 

Regards.

psmanek commented 1 year ago

Do as it is written. "backup.marker" file is missing.

mkdir -p -- "/mnt/Toshiba" ; touch "/mnt/Toshiba/backup.marker"

PrzemekSkw commented 1 year ago

Thanks, that works. It should mentioned be on main site in installation section but I have problem with that folder it make: latest.... I want to make backups from other devices so I need to make clean folders structure like /mnt/Toshiba/Backups/miniPC and /mnt/Toshiba/Backups/raspberry. How to do that with that marker command?

psmanek commented 1 year ago

So this script is not for you. This backup script make TimeMachine like structure.

Like: 2022-11-28-143435 2022-11-28-153435 2022-11-28-163435 latest

"Latest" folder points to latest date, in this example 2022-11-28-163435.

From what you write, you should just use rsync to backup your data.

PrzemekSkw commented 1 year ago

OK, I hope it can backup few devices.

psmanek commented 1 year ago

If you want to backup multiple devices (multiple sources) just use different destination directory of each. For more info what parameters use with rsync go to rsync manual.