1
Fork 0

started dev on connection to backup database, hit a roadblock on how to do it though!

This commit is contained in:
Jake Howard 2014-07-23 22:16:57 +01:00
parent f1fd4ae0ac
commit 660f7a6e12
1 changed files with 6 additions and 1 deletions

View File

@ -5,6 +5,7 @@ using System.Text;
using System.Threading.Tasks;
using System.IO;
using System.Timers;
using System.Data.SqlClient;
namespace Saviour_Backup_System
{
@ -18,7 +19,11 @@ namespace Saviour_Backup_System
}
private static void driveScanTick(object sender, ElapsedEventArgs e)
{
DriveInfo[] drives = getConnectedDrives();
foreach (DriveInfo drive in drives)
{
//open database, check if record backup record exists. If so, then run backup procedure in seperate thread
}
}
public static DriveInfo[] getConnectedDrives()
{