DBAegis learning cards

Backup & restore flash cards

Fast reference cards for logical vs physical backups, destination rules, cloud staging, database support, restore safety, and operator prechecks.

No matching cards found.
Card 1

What are the two main backup modes?

logical exports database objects through client tools, APIs, or query protocols. physical captures engine files, native backup pieces, or snapshots.

Card 2

When should I prefer logical backups?

Use logical backups for portable exports, schema/table/document-level workflows, managed databases, and object-storage streaming.

Card 3

When should I prefer physical backups?

Use physical backups for self-managed engines when a native physical format is required, such as pg_basebackup, data directory archives, RMAN pieces, SQL Server .bak, Neo4j dumps/backups, or Cassandra snapshots.

Card 4

Why do many physical backups need the DB VM?

Physical tools usually must read database-host files or write server-visible artifacts. DBAegis normally runs those over SSH on the DB VM and stages under db_vm_temp_dir or server_temp_dir.

Card 5

What happens during a successful backup job?

DBAegis resolves the connection, backup type, destination, and options, runs the engine-specific tool, writes the artifact, records history, saves logs, and redacts secrets.

Card 6

What happens during a restore job?

DBAegis validates the restore source, target connection, restore type, and safety prompts, prepares any local or DB VM staging, runs the engine-specific restore, records logs, and marks the job success or failed.

Card 7

What controls whether a connection appears in the restore dialog?

Restore Type is selected first. Logical restores show logical connections; physical restores show physical connections.

Card 8

What is the safest restore target?

A separate test or recovery target. Physical restores and overwrite/drop/truncate options can be destructive.

Card 9

What is a dry-run restore?

A non-mutating validation path that checks submitted restore parameters where the engine supports it.

Card 10

What does overwrite_existing generally mean?

DBAegis may replace target files, flush target data, recreate databases, or allow native overwrite behavior depending on the database engine.

Card 11

What is db_vm_temp_dir?

A database-server staging path used when the DB host must hold a temporary backup or restore artifact.

Card 12

What is DBAEGIS_TEMP_DIR?

The DBAegis VM scratch path, defaulting to /opt/dbaegis/tmp, used for local restore preparation, temporary cloud files, SSH keys, and client-side managed-service work.

Card 13

What does connection precheck do?

It checks database connectivity, SSH readiness, required tools, temp path write access, disk space, run-as behavior, cloud destination access, and physical restore safety.

Card 14

Does precheck perform a restore?

No. It checks readiness only. Restore source paths and destructive options are validated again when the restore job is submitted.

Card 15

Where are job logs stored?

Backup and restore rows store status, target/source paths, command text, exit code, stdout/stderr snippets, engine logs, and redacted error messages.

Card 16

What backup destination families does DBAegis support?

DBAegis local file, DB server local, AWS S3 or S3-compatible storage, Google Cloud Storage, and Azure Blob.

Card 17

What is DBAegis local file?

The finished artifact is stored on the DBAegis server filesystem, normally under /backups unless a local storage destination path is configured.

Card 18

What is DB server local?

The artifact is written to a path visible to the database server. Client-tool engines require SSH remote execution so DBAegis can run the command on the DB host.

Card 19

What is an AWS S3 destination?

A configured S3 or S3-compatible bucket/prefix. DBAegis records and restores objects with canonical s3://... URIs.

Card 20

What aliases resolve to S3?

s3, aws, amazon, s3compatible, s3-compatible, and minio.

Card 21

What is a Google Cloud Storage destination?

A configured GCS bucket/prefix. DBAegis records and restores objects with canonical gcs://... URIs.

Card 22

What aliases resolve to GCS?

gcs, google, google_cloud_storage, google-cloud-storage, gcp, gs, and gs://... restore sources.

Card 23

What is an Azure Blob destination?

A configured Azure Blob container/prefix. DBAegis records and restores objects with canonical azure://... URIs.

Card 24

What aliases resolve to Azure Blob?

azure, az, azblob, azureblob, azure_blob, azure-blob, blob, and az://... restore sources.

Card 25

What does the storage destination Test action do?

It writes and deletes a small .dbaegis-precheck/ object for S3, GCS, or Azure Blob using the saved credentials and prefix.

Card 26

Are cloud storage secrets stored in plain text?

No. Storage credentials are encrypted at rest with key material derived from DBAEGIS_SECRET_KEY and redacted in UI/API responses.

Card 27

What happens if a cloud destination is disabled?

Backup execution rejects the selected destination before running the database tool.

Card 28

What happens if a source URI provider does not match the selected storage destination?

Cloud restore fails with a source/storage mismatch, such as an s3:// source with a GCS destination.

Card 29

What is a direct cloud backup?

DBAegis streams or uploads the backup directly to S3, GCS, or Azure Blob without first creating a DB-host file artifact.

Card 30

What is a DB VM staged cloud backup?

DBAegis runs the native tool on the DB VM, writes a temporary artifact under DB VM staging, streams or copies that artifact to cloud storage, then removes the temporary file.

Card 31

Which logical backups are typically direct to cloud?

PostgreSQL, MySQL, MariaDB, MongoDB, Redis / Valkey, CouchDB, Neo4j, Cassandra, ClickHouse, SQL Server BACPAC, Azure SQL BACPAC, Snowflake, Cosmos DB, DynamoDB, and Firestore.

Card 32

Which backups normally need DB VM staging for cloud?

Physical/file workflows for PostgreSQL, MySQL, MariaDB, MongoDB, Redis / Valkey, SQLite, Neo4j, SQL Server, Oracle, and Cassandra. Oracle logical Data Pump also uses DB VM staging.

Card 33

Why is Couchbase cloud backup special?

Enterprise native object-store mode can write directly to object storage when explicitly selected. The default/community path creates a DB VM archive and uploads a tarball.

Card 34

How do cloud restores work for logical stream formats?

DBAegis reads the object from S3, GCS, or Azure Blob and streams or replays it into the target database through the client tool/API.

Card 35

How do cloud restores work for server-visible physical files?

DBAegis downloads or streams the cloud object to a DB VM temp path over SSH, runs the native restore from that server-visible path, then removes staging files.

Card 36

PostgreSQL backup and restore support?

Logical and physical. All five destination/source families are supported. Logical uses pg_dump/psql; physical uses pg_basebackup with DB VM staging in split-VM workflows.

Card 37

MySQL backup and restore support?

Logical and physical. All five destination/source families are supported. Logical uses mysqldump/mysql; physical uses xtrabackup or snapshot-safe datadir archives on the DB VM.

Card 38

MariaDB backup and restore support?

Logical and physical. All five destination/source families are supported. Logical uses mysqldump/mysql; physical uses mariadb-backup, mariabackup, or snapshot-safe datadir archives.

Card 39

MongoDB backup and restore support?

Logical and physical. All five destination/source families are supported. Logical uses mongodump --archive and mongorestore --archive; physical archives dbPath for self-managed deployments.

Card 40

Redis / Valkey backup and restore support?

Logical and physical. All five destination/source families are supported. Logical exports supported key types as JSON; physical captures RDB/AOF artifacts for self-managed targets.

Card 41

SQLite backup and restore support?

Logical and physical file workflows. All five destination/source families are supported, but split-VM backup and restore require SSH or an explicit shared mount because the database is a file.

Card 42

CouchDB backup and restore support?

Logical only. All five destination/source families are supported. Backup uses HTTP document export; restore imports through _bulk_docs.

Card 43

Couchbase backup and restore support?

Logical cbbackupmgr archives only. All five destination/source families are supported. Cloud uses Enterprise native object-store mode when selected or DB VM staged tarballs for default/community mode.

Card 44

Neo4j backup and restore support?

Logical and physical. All five destination/source families are supported. Logical uses Cypher; physical uses neo4j-admin dump/load or online backup/restore modes.

Card 45

Microsoft SQL Server backup and restore support?

Logical BACPAC supports DBAegis local, S3, Azure Blob, and GCS. Physical .bak backup supports DBAegis local, DB server local, S3, Azure Blob, and GCS; physical restore uses a SQL Server-visible DB server or cloud-staged .bak.

Card 46

Oracle backup and restore support?

Logical Data Pump and physical RMAN. Backup supports DBAegis local, DB server local, S3, Azure Blob, and GCS. Restore uses DB-server-visible or cloud-staged Oracle artifacts.

Card 47

Cassandra backup and restore support?

Logical and physical. All five destination/source families are supported. Logical exports one table as CSV.GZ; physical uses nodetool snapshot and nodetool refresh.

Card 48

ClickHouse backup and restore support?

Logical only. All five destination/source families are supported. DBAegis stores a .clickhouse.json.gz archive with DDL and JSONEachRow table data.

Card 49

Snowflake backup and restore support?

Logical only. DBAegis local, S3, Azure Blob, and GCS are supported through SnowSQL on the DBAegis VM. There is no DB server local path because Snowflake is managed.

Card 50

Cosmos DB backup and restore support?

Logical only. DBAegis local, S3, Azure Blob, and GCS are supported. Backup and restore use live service APIs and JSON documents.

Card 51

DynamoDB backup and restore support?

Logical only. DBAegis local, S3, Azure Blob, and GCS are supported. Backup and restore use live service APIs and JSON item documents.

Card 52

Firestore backup and restore support?

Logical only. DBAegis local, S3, Azure Blob, and GCS are supported. Backup and restore use live service APIs and JSON document paths/data.

Card 53

Azure SQL backup and restore support?

Logical BACPAC only. DBAegis local, S3, Azure Blob, and GCS are supported. Physical backup is provider-managed outside DBAegis.

Card 54

Why does DBAegis show backup-type dropdowns only for some engines?

DBAegis exposes the dropdown only where the native tool has a real supported mode flag. Other engines keep normal options instead of showing a no-op selector.

Card 55

What Couchbase backup types are available?

Incremental/default and full. Full adds --full-backup; incremental/default lets cbbackupmgr continue the existing archive chain.

Card 56

What if Couchbase incremental/default has no existing full backup?

cbbackupmgr manages the archive chain. A forced full can be selected when an explicit new full archive is needed.

Card 57

What Neo4j physical backup types are available?

Dump, full online backup, differential with full fallback, and online default. Differential with full fallback uses --type=AUTO, so Neo4j creates a full when no valid chain exists.

Card 58

What SQL Server physical backup types are available?

Full, differential, and copy-only. Differential adds WITH DIFFERENTIAL; copy-only adds WITH COPY_ONLY; full adds neither clause.

Card 59

What Oracle RMAN physical backup types are available?

Full, incremental level 0, incremental level 1 differential, and incremental level 1 cumulative.

Card 60

What does Oracle incremental level 0 mean?

It is an RMAN incremental baseline that can support later level 1 differential or cumulative backups.

Card 61

What does Oracle level 1 differential mean?

It backs up blocks changed since the most recent level 0 or level 1 backup in the chain.

Card 62

What does Oracle level 1 cumulative mean?

It backs up blocks changed since the most recent level 0 backup.

Card 63

What restore actions are high risk?

Physical restores and options that overwrite, replace, clean, drop, truncate, recreate, restore users/roles, or stop services.

Card 64

What extra confirmation is required for high-risk restore?

DBAegis requires admin session auth, a restore reason, password re-authorization, and exact target-name confirmation where applicable.

Card 65

Can logical restore target names be changed?

Yes for supported engines. Examples include PostgreSQL/MySQL target database, MongoDB namespace remap, CouchDB target database, Cosmos target database/container, DynamoDB target table, and ClickHouse target database/table.

Card 66

What should I check before restoring from cloud?

Confirm the source URI, selected storage destination, provider credentials, bucket/container/prefix permissions, target database connection, and any DB VM temp path required by the engine.

Card 67

What should I check before a physical restore?

Confirm the target host is isolated or stopped as required, target data paths are correct, the DB VM has enough free space, SSH/run-as works, and the native restore tool is installed.

Card 68

What happens on disk-full errors?

DBAegis classifies the failure as DBAegis filesystem, DB server filesystem, or DB server staging filesystem full/quota depending on where the write failed.

Card 69

What happens on cloud permission errors?

DBAegis records a cloud storage access failure and points operators toward credentials, IAM/KMS/SAS/service-account policy, endpoint, region, bucket/container, or prefix permissions.

Card 70

Can I restore DBAegis self-backups through normal database restore?

No. Self-backups protect the DBAegis metadata/config state and are restored from the DBAegis VM shell, not through database restore jobs.