Files
SocialPub/PrivaPub/Infrastructure/Backup/BackupOptions.cs
T

13 lines
477 B
C#
Raw Normal View History

namespace PrivaPub.Infrastructure.Backup
{
public class BackupOptions
{
public string Root { get; set; }//where backups are kept (/var/lib/privapub/backups); <media root>-backups by default
public string NightlyAt { get; set; } = "03:30";//UTC
public int KeepDaily { get; set; } = 7;
public int KeepWeekly { get; set; } = 4;
public int KeepPreDeploy { get; set; } = 3;
public int KeepPreRestore { get; set; } = 3;
public bool Nightly { get; set; } = true;
}
}