I have hyperbackup running from source NAS to destination NAS with the below settings
rsync -avh --delete /path/to/source user@wan_ip:/path/to/destination
I want to modify the cron job so that it deletes files from destination which are not present on source and 1 week old.
something like:
rsync -avh --delete(1 week old) /path/to/source user@wan_ip:/path/to/destination
Is there a way to do this?
THe source and destination NAS both have multiple folders on which this Job has to run.
- Backup type - Rsync
- Options - reserve backup file at destination
- With this i have a backup method that results in a file/fodler structure in the 2nd NAS, withut the hyperbackup proprietary format or tools
rsync -avh --delete /path/to/source user@wan_ip:/path/to/destination
I want to modify the cron job so that it deletes files from destination which are not present on source and 1 week old.
something like:
rsync -avh --delete(1 week old) /path/to/source user@wan_ip:/path/to/destination
Is there a way to do this?
THe source and destination NAS both have multiple folders on which this Job has to run.