Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

network backup

Status
Not open for further replies.

carb11

Technical User
Apr 3, 2009
79
0
0
US
I have succefully configured a network backup.

Since the network backups don't over right our network guys are going to write a script to delete them.

The questions is under "Connect to the network folder as"
there is a password entered. It's all starred out. What is that that password from? and where can I find it?

Any ideas?
 
It's the password of the account also entered, which should have access to the domain folder.
Better to use a script to delete older backups from that network folder and don't touch the CP configuration.
This vb script below deletes any file older than 30 days from the folder C:\temp. Schedule it via Task scheduler and voila!

/*************/
Dim Fso
Dim Directory
Dim Modified
Dim Files

Set fso = CreateObject("Scripting.FileSystemObject")
Set Directory = Fso.GetFolder("C:\Temp")
Set Files = Directory.Files

For Each Modified in Files
If DateDiff("D", Modified.DateLastModified, Now) > 30 Then Modified.Delete
Next

Set fso = Nothing
Set Directory = Nothing
Set Files = Nothing
/*************/
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top