Example #1
0
        public BackupSettings() {
            SevenZipExecutablePath = @"7za.exe";
            CompressionLevel = 9;
            EncryptHeaders = false;
            LocalBackupFolder = @"D:\Bak\";

            BackupJobs = new List<BackupJob> {
                                                 new BackupJob {
                                                                   BackupName = "Logs",
                                                                   BackupLocations = new List<string> {@"C:\temp\logs"},
                                                                   MaxFullBackupAgeDays = 20,
                                                                NumberIncremental = 3,
                                                               },
                                                                new BackupJob {
                                                                   BackupName = "VIZ",
                                                                   BackupLocations = new List<string> {@"C:\temp\viz"},
                                                                   MaxFullBackupAgeDays = 20,
                                                                NumberIncremental = 3,
                                                               }
                                             };

            EmailSettings = new EmailSettings {EmailServerAddress = "smtp.gmail.com", EmailPort = 587, EmailTo = "*****@*****.**", EmailUser = "******"};
            FTPSettings = new FTPSettings { FTPServerAddress = "ftp.com", FTPPort = 21, FTPUser = "******", FTPVerifySizes = true};
        }
Example #2
0
        public BackupSettings()
        {
            SevenZipExecutablePath = @"7za.exe";
            CompressionLevel = 9;
            EncryptHeaders = false;
            LocalBackupFolder = @"D:\Bak\";

            BackupJobs = new List<BackupJob> {
                                                 new BackupJob {
                                                                   BackupName = "Logs",
                                                                   BackupLocations = new List<string> {@"C:\temp\logs"},
                                                                   MaxFullBackupAgeDays = 20,
                                                                NumberIncremental = 3,
                                                               },
                                                                new BackupJob {
                                                                   BackupName = "VIZ",
                                                                   BackupLocations = new List<string> {@"C:\temp\viz"},
                                                                   MaxFullBackupAgeDays = 20,
                                                                NumberIncremental = 3,
                                                               }
                                             };

            EmailSettings = new EmailSettings {EmailServerAddress = "smtp.gmail.com", EmailPort = 587, EmailTo = "*****@*****.**", EmailUser = "******"};
            FTPSettings = new FTPSettings { FTPServerAddress = "ftp.com", FTPPort = 21, FTPUser = "******", FTPVerifySizes = true};
        }