smckelvey
14 years agoLevel 5
bpduplicate -hoursago , Does it pertain when backups began or finished
Does anyone know whether the bupduplicate -hoursago command refers to when backups began or finished, or both?
For example:
- Backup A started 9:30AM, ended 10:30AM
- Backup B started 10:30AM, ended 11:30AM
- At 11:00AM i run "bpduplicate -hoursago 11:00AM
Which of the above backups, if any will be captured?
Everything looks at start time only - even the commands that let you specify start and endtime with -s/-d and -e are only looking at backups that _started_ between the two times. They don't really care when the backups finished.
BUT, you can't use -hoursago with a time - so your command example should have given you and error. In addition, I think there are other required fields - -dstunit jumps to mind.
Bill