Jump to content

Recommended Posts

Posted

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 :)

Posted

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"

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 account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...