By specifying a file name and a number of histories, a file is to be saved in a rotating scheme. e.g. max. 5 histories, then the file name sample.dat is to be saved as Sample.dat.1.bak to Sample.dat.5.bak. 1 should always be the newest backup, while in the case 5 should be the oldest.
Support of destination path and a Force parameter. If the destination path does not exist, an exception is thrown, but if Force is set, all required paths are created beforehand.
Think about using also vss support for open files, and a retry option. -usevss, -maxretry
By specifying a file name and a number of histories, a file is to be saved in a rotating scheme. e.g. max. 5 histories, then the file name sample.dat is to be saved as Sample.dat.1.bak to Sample.dat.5.bak. 1 should always be the newest backup, while in the case 5 should be the oldest.
Support of destination path and a Force parameter. If the destination path does not exist, an exception is thrown, but if Force is set, all required paths are created beforehand.
Think about using also vss support for open files, and a retry option. -usevss, -maxretry