enum Sepia::Backup::ObjectType

Overview

Backup and restore functionality for Sepia object trees

This class provides comprehensive backup/restore capabilities using tar archives. It preserves object relationships, symlinks, and directory structures.

Example

# Create backup of object tree
root_objects = [document, project, user]
backup_path = Sepia::Backup.create(root_objects, "backup.sepia.tar")

# Restore from backup
restored_objects = Sepia::Backup.restore("backup.sepia.tar")

Object type classification for backup purposes

Defined in:

sepia/backup.cr

Enum Members

Serializable = 0
Container = 1

Instance Method Summary

Instance Method Detail

def container? #

Returns true if this enum value equals Container


[View source]
def serializable? #

Returns true if this enum value equals Serializable


[View source]