abillybob Posted June 3, 2014 Posted June 3, 2014 Good Morning Everyone Is there anything out there that will allow me to backup a weeks worth of data automatically to an SMB share over the network. I have got Windows Server Backup to do this but currently when backing up using this onto an SMB it will only do a days worth and as far as I can see there is no way to do a weeks worth if doing it to an SMB share. Bit of a shame really! Hoping some of you maybe able to shed some light on this! Cheers
Mcshammer_dj Posted June 3, 2014 Posted June 3, 2014 Add a file name change sequence once the backup has run, This allows you to run a number of backups ?: cd ?:\WindowsImageBackup for /f "tokens=1-5 delims=/ " %%d in ("%date%") do rename %computername% %%d-%%e-%%f you can also add a line to remove backups after a specified amount of time ForFiles /P "?:\WindowsImageBackup" /D -10 /C "CMD /C if @ISDIR==TRUE echo RD /Q /S @filE &RD /Q /S @filE"
sted Posted June 3, 2014 Posted June 3, 2014 if its just data not system etc robocopy script to the smb share then rename the folder when done?
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now