{
  "format": "dataset-manifest/1",
  "slug": "easeus-todo-backup",
  "version": 1,
  "seed": "easeus-todo-backup:1",
  "spec": {
    "format": "dataset/1",
    "slug": "easeus-todo-backup",
    "name": "Government Backup Management",
    "tagline": "Backup types and schedules for data integrity in government operations, including file and SQL server backups.",
    "description": "In government operations, data integrity and availability are paramount. This synthetic dataset models various backup strategies employed in the public sector, including file backups, SQL server backups, and cloud connections. It reflects how critical information is stored and recovered, showcasing the diverse landscape of backup solutions across different departments. Each row represents a backup task, detailing its type, schedule, last run time, and status. The relationships between these tasks illustrate the complexity of maintaining robust backup systems in government operations. Users can practice SQL queries on this data, explore the intricacies of backup management, and teach concepts related to data recovery strategies. The dataset is synthetic, crafted to provide a realistic scenario without compromising any actual data.",
    "domain": "government",
    "shape": "graph-edges",
    "useCases": [
      "sql-practice",
      "teaching"
    ],
    "keywords": [
      "backup management",
      "government data",
      "data integrity",
      "backup strategies",
      "SQL server",
      "cloud backup",
      "file backup"
    ],
    "locale": "en",
    "license": "CC0-1.0",
    "version": 1,
    "tables": {
      "backups": {
        "description": "This table represents various backup tasks within government operations, detailing their types, schedules, last run times, and statuses.",
        "rows": 250,
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each backup task."
          },
          "backup_type": {
            "kind": "enum",
            "values": [
              "file",
              "SQL server",
              "cloud"
            ],
            "description": "The type of backup being performed."
          },
          "schedule": {
            "kind": "date",
            "from": "2023-01-01",
            "to": "2024-12-31",
            "description": "The scheduled date for the backup task.",
            "nullable": true,
            "when": {
              "column": "backup_type",
              "in": [
                "file",
                "SQL server",
                "cloud"
              ]
            },
            "trend": "seasonal"
          },
          "last_run": {
            "kind": "date",
            "from": "2023-01-01",
            "to": "2024-12-31",
            "description": "The last date when the backup was successfully executed.",
            "nullable": true,
            "when": {
              "column": "status",
              "in": [
                "failed"
              ]
            },
            "trend": "growing"
          },
          "status": {
            "kind": "enum",
            "values": [
              "pending",
              "completed",
              "failed"
            ],
            "description": "The current status of the backup task."
          }
        }
      }
    },
    "structure": "single-table",
    "traits": [
      "categorical",
      "timestamped"
    ],
    "analysisQuestions": [
      "What types of backups are most frequently scheduled?",
      "How often do backup tasks fail, and what might be causing this?",
      "Which backup type has the longest average last run time?",
      "Are there any patterns in backup schedules across departments?",
      "What is the distribution of backup statuses over time?"
    ],
    "suggestedQueries": [
      {
        "title": "List all backup tasks",
        "sql": "SELECT * FROM backups;",
        "dialect": "postgres"
      },
      {
        "title": "Count of backups by type",
        "sql": "SELECT backup_type, COUNT(*) FROM backups GROUP BY backup_type;",
        "dialect": "postgres"
      },
      {
        "title": "Find failed backups",
        "sql": "SELECT * FROM backups WHERE status = 'failed';",
        "dialect": "postgres"
      },
      {
        "title": "Average last run date by backup type",
        "sql": "SELECT backup_type, AVG(last_run) FROM backups GROUP BY backup_type;",
        "dialect": "postgres"
      },
      {
        "title": "Backup tasks scheduled for the next month",
        "sql": "SELECT * FROM backups WHERE schedule BETWEEN CURRENT_DATE AND CURRENT_DATE + INTERVAL '30 days';",
        "dialect": "postgres"
      }
    ],
    "usageScenarios": [
      {
        "title": "Government IT Training",
        "body": "In a training session for government IT staff, this dataset can be used to teach the importance of data backups and the various strategies available. Trainees can practice writing SQL queries to analyze backup schedules, understand different backup types, and troubleshoot issues like failed backups."
      },
      {
        "title": "Backup Management Software Development",
        "body": "Developers creating backup management software for government agencies can use this dataset to simulate different backup scenarios. By analyzing the data, they can test their algorithms for scheduling backups, managing failures, and optimizing backup types for different departments."
      },
      {
        "title": "Performance Analysis for Data Recovery",
        "body": "Data analysts in government agencies can leverage this dataset to evaluate the performance of backup systems. By querying the dataset, they can identify trends in backup success rates, understand the impact of backup types on recovery times, and provide insights for improving data integrity."
      }
    ]
  },
  "counts": {
    "backups": 250
  },
  "stats": {
    "backups": {
      "rows": 250,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 250,
          "min": 1,
          "max": 250
        },
        "backup_type": {
          "nulls": 0,
          "distinct": 3,
          "min": "SQL server",
          "max": "file"
        },
        "schedule": {
          "nulls": 0,
          "distinct": 210,
          "min": "2023-01-07",
          "max": "2024-12-30"
        },
        "last_run": {
          "nulls": 164,
          "distinct": 80,
          "min": "2023-02-07",
          "max": "2024-12-25"
        },
        "status": {
          "nulls": 0,
          "distinct": 3,
          "min": "completed",
          "max": "pending"
        }
      }
    }
  },
  "artifacts": [
    {
      "file": "csv/backups.csv",
      "format": "csv",
      "table": "backups",
      "key": "datasets/easeus-todo-backup/v1/csv/backups.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/easeus-todo-backup/v1/csv/backups.csv",
      "bytes": 9012,
      "sha256": "3279901ba0865d50ac58f4e877014e6ce341831ed4cfd10dda6dc140179e4d9d",
      "rows": 250,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "easeus-todo-backup.json",
      "format": "json",
      "table": null,
      "key": "datasets/easeus-todo-backup/v1/easeus-todo-backup.json",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/easeus-todo-backup/v1/easeus-todo-backup.json",
      "bytes": 36571,
      "sha256": "802170feba13d949e5558a66f2ecfe79129aa6efee6e96f816f85c8cc1f905e8",
      "rows": null,
      "contentType": "application/json; charset=utf-8"
    },
    {
      "file": "sql/postgres.sql",
      "format": "sql-postgres",
      "table": null,
      "key": "datasets/easeus-todo-backup/v1/sql/postgres.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/easeus-todo-backup/v1/sql/postgres.sql",
      "bytes": 14557,
      "sha256": "79f91e24725c6a53f11e2f421ea4ebf18ed0b9d1052e653deb6b83509878d563",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "sql/mysql.sql",
      "format": "sql-mysql",
      "table": null,
      "key": "datasets/easeus-todo-backup/v1/sql/mysql.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/easeus-todo-backup/v1/sql/mysql.sql",
      "bytes": 14460,
      "sha256": "61e5ac84a67ba3e0d5e94815504adf329211b1d71c8a153da995b3fef6d8b6bf",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "sql/mssql.sql",
      "format": "sql-mssql",
      "table": null,
      "key": "datasets/easeus-todo-backup/v1/sql/mssql.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/easeus-todo-backup/v1/sql/mssql.sql",
      "bytes": 15357,
      "sha256": "5f5b6291aed688b0f673f048a25c75d7dc3f2aa02089bd886f1866cd5fd38c1e",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "sql/sqlite.sql",
      "format": "sql-sqlite",
      "table": null,
      "key": "datasets/easeus-todo-backup/v1/sql/sqlite.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/easeus-todo-backup/v1/sql/sqlite.sql",
      "bytes": 14430,
      "sha256": "13ba31c3d7b9da99738141b634b0d0f1a3a99cd5464a1f682214b16c0aea9a8c",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "prisma/seed.ts",
      "format": "prisma-seed",
      "table": null,
      "key": "datasets/easeus-todo-backup/v1/prisma/seed.ts",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/easeus-todo-backup/v1/prisma/seed.ts",
      "bytes": 28285,
      "sha256": "c3309fa10a69be72f54e1d9f21fb5d012a432c7f4b4769d8dfe80aff0e28edfd",
      "rows": null,
      "contentType": "application/typescript; charset=utf-8"
    },
    {
      "file": "django/fixtures.json",
      "format": "django-fixture",
      "table": null,
      "key": "datasets/easeus-todo-backup/v1/django/fixtures.json",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/easeus-todo-backup/v1/django/fixtures.json",
      "bytes": 47302,
      "sha256": "d7f069774e1effc9a1ee8201070b40707ffe4095edd59404a2c00f5859cadbc5",
      "rows": null,
      "contentType": "application/json; charset=utf-8"
    }
  ],
  "publishedAt": 1788734477262,
  "updatedAt": 1788734477262
}
