Snapshot Management - Backup, Restore & Disaster Recovery | Nife

Snapshots provide point-in-time backups of your persistent storage volumes, enabling quick recovery and disaster management.

What are Snapshots?#

Snapshot Overview#

A snapshot is a complete backup of a volume at a specific moment in time:

Snapshot Features

  • Point-in-time backup: Captures complete volume state
  • Quick recovery: Restore volume to specific point
  • Data preservation: Protects against data loss
  • Versioning: Multiple snapshots for different times
  • Zero-downtime creation: Snapshots don't disrupt operations
  • Space-efficient: Only stores changes from previous version

Snapshot Benefits

  • Disaster recovery capability
  • Testing and development support
  • Accidental deletion protection
  • Version control for data
  • Regulatory compliance requirements
  • Rapid recovery point objectives (RPO)

Accessing Snapshots#

Opening Snapshots Dialog#

From Volumes Dashboard

  1. Navigate to Volumes section
  2. Locate application with volumes
  3. Click application to expand
  4. Find volume in the table
  5. Click "Snapshots" button
  6. Snapshots management dialog opens

Snapshots Dialog

  • Shows all existing snapshots
  • Displays snapshot details
  • Create Snapshot button
  • Restore button for each snapshot

Creating Snapshots#

Snapshot Creation Process#

Step 1: Open Create Dialog

  1. Open Snapshots dialog for volume
  2. Click "Create Snapshot" button
  3. Create Snapshot dialog opens
  4. Shows volume being backed up

Step 2: Enter Snapshot Details

Snapshot Name (Required)

  • Unique identifier for snapshot
  • Must be provided to create
  • Descriptive names recommended
  • Examples:
    • backup-2024-12-29
    • before-upgrade-v2.1.0
    • pre-maintenance
    • daily-backup

Snapshot Description (Optional)

  • Additional context about snapshot
  • Reason for creating snapshot
  • Data state information
  • Recovery notes
  • Team communication

Example Details

Name: backup-2024-12-29-morning
Description: Daily backup before scheduled maintenance. Database includes latest transactions and user data as of 2024-12-29 09:00 UTC.

Step 3: Create Snapshot

  1. Enter snapshot name
  2. Add description (optional)
  3. Click "Create Snapshot" button
  4. Confirm creation
  5. Snapshot creation begins

Step 4: Monitor Creation

  • Snapshot appears in list immediately
  • Status shows "Pending" or "In Progress"
  • Creation may take several minutes
  • Status updates to "Completed"
  • Notification shows when complete

Snapshot Time#

Creation Time

  • Shows when snapshot was created
  • Records exact date and time
  • Helps identify snapshot point
  • Useful for choosing restore point

Duration

  • Snapshot creation usually quick
  • May take longer for large volumes
  • Size and system load affect duration
  • Completed status indicates readiness

Snapshot List#

Viewing Snapshots#

Snapshots Table

ColumnInformation
Snapshot NameUser-defined identifier
DescriptionOptional notes about snapshot
StatusCurrent snapshot state
SizeStorage size in GB
CreatedDate and time snapshot was created
ActionsRestore button

Snapshot Status

StatusMeaningUsable
PendingCreation in progressNo
CompletedReady for useYes
FailedCreation unsuccessfulNo
RestoringRestore operation underwayNo
DeletedMarked for deletionNo

Snapshot Information#

Snapshot Name

  • User-provided identifier
  • Unique within the volume
  • Helps identify snapshot purpose
  • Displayed in list and dialogs

Description

  • Optional additional information
  • Shows reason for snapshot
  • Notes about data state
  • Context for recovery decisions
  • Displayed as "-" if not provided

Status

  • Current state of snapshot
  • Indicates readiness
  • "Completed" means ready to use
  • Affects available operations

Size

  • Storage space used by snapshot
  • Measured in GB
  • May be smaller than volume
  • Shows as "N/A" if not available

Created Date

  • Date and time snapshot was created
  • Formatted for readability
  • Helps choose appropriate restore point
  • Shows timezone information

Restoring Snapshots#

Before Restoring#

warning

Restoring a snapshot will replace current volume data with snapshot data. Any changes made after the snapshot was created will be lost.

Pre-Restoration Checklist

  1. Verify you're restoring correct snapshot
  2. Create backup of current data if needed
  3. Check if data after snapshot is needed
  4. Notify team members
  5. Plan for application downtime
  6. Have rollback plan ready
  7. Verify snapshot status is "Completed"

Restoration Process#

Step 1: Select Snapshot

  1. Open Snapshots dialog
  2. Locate snapshot to restore
  3. Review snapshot details
  4. Verify correct snapshot selected

Step 2: Initiate Restore

  1. Click "Restore" button on snapshot
  2. Confirmation dialog appears
  3. Shows volume being restored
  4. Displays restoration warning
  5. Requires explicit confirmation

Step 3: Confirm Restoration

  • Read confirmation message carefully
  • Understand data will be overwritten
  • Confirm you want to proceed
  • Click "Confirm" button
  • Restoration begins

Step 4: Monitor Restoration

  • Restoration starts immediately
  • May show progress indicator
  • Takes time based on volume size
  • Status updates to "Completed"
  • Notification appears when done

Step 5: Verify Recovery

  1. Check volume is restored
  2. Verify data is correct
  3. Test application functionality
  4. Confirm no data corruption
  5. Check business logic works

Application During Restoration#

Service Behavior

  • Application may experience downtime
  • Services may be restarted
  • Connections may drop
  • Data temporarily unavailable
  • Plan for user impact

Recovery Time

  • Depends on volume size
  • Larger volumes take longer
  • Network speed affects time
  • System load impacts duration
  • Usually completes in minutes

After Restoration#

Post-Restoration Steps

  1. Verify volume data
  2. Test application functionality
  3. Run smoke tests
  4. Check user-facing features
  5. Monitor for issues
  6. Review logs for errors
  7. Confirm data integrity

What Changed

  • Volume data matches snapshot
  • Any changes after snapshot lost
  • Application sees restored data
  • Previous version data gone
  • Current state overwritten

Snapshot Retention#

Retention Policy#

Define Your Policy

  • How long to keep snapshots
  • Based on regulatory requirements
  • Consider backup needs
  • Plan storage costs
  • Balance recovery needs

Retention Examples

Production

  • Keep 30+ days of snapshots
  • Daily snapshots
  • Weekly snapshots
  • Monthly archives
  • Quarterly retention

Staging

  • Keep 14+ days of snapshots
  • 2-3 times per week
  • Less frequent than production
  • Testing recovery procedures
  • Cost optimization

Development

  • Keep 7 days of snapshots
  • Minimal retention
  • Quick cleanup possible
  • Less critical data
  • Lower cost

Deleting Snapshots#

Before Deleting

  1. Verify snapshot not needed
  2. Check recent restores
  3. Confirm no compliance holds
  4. Review organizational policy
  5. Get approvals if required

Delete Snapshot

  1. Locate snapshot in list
  2. Look for delete option
  3. Confirm deletion
  4. Snapshot is removed
  5. Storage freed up

After Deletion

  • Data permanently lost
  • Cannot be recovered
  • Storage space freed
  • No longer available for restore
  • May reduce monthly costs

Snapshot Best Practices#

Naming Convention#

Recommended Format

[purpose]-[date]-[optional-info]
Examples:
backup-2024-12-29
before-upgrade-v2.1.0
daily-backup-morning
pre-maintenance-week-52
recovery-test-2024-12-20

Naming Guidelines

  • Descriptive and clear
  • Include date when created
  • Indicate purpose of snapshot
  • Make it searchable
  • Avoid special characters
  • Keep reasonably short

Snapshot Frequency#

Critical Volumes

  • Multiple per day
  • Hourly for critical data
  • Daily minimum
  • Keep extended history
  • Test recovery regularly

Important Volumes

  • Daily snapshots
  • Weekly archives
  • Monthly long-term
  • Regular testing
  • Documented procedures

Non-Critical Volumes

  • 2-3 per week
  • Weekly minimum
  • Monthly cleanup
  • Less frequent testing
  • Standard retention

Testing Recovery#

Validate Snapshots

  1. Create test volume
  2. Restore snapshot to test volume
  3. Verify data integrity
  4. Test application with restored data
  5. Document any issues
  6. Update recovery procedures

Recovery Drills

  • Test restoration process quarterly
  • Document actual recovery time
  • Train team on procedures
  • Identify bottlenecks
  • Improve processes

Documentation#

Snapshot Records

  • Document purpose of snapshot
  • Record creation date and time
  • Note any issues encountered
  • Track restoration history
  • Plan recovery strategy

Team Communication

  • Notify team of critical snapshots
  • Share snapshot locations
  • Document recovery procedures
  • Train on restoration process
  • Keep runbooks updated

Snapshot Monitoring#

Tracking Snapshots#

Monitor Snapshot Count

  • Don't accumulate too many
  • Delete old/unused snapshots
  • Clean up regularly
  • Prevent storage waste
  • Reduce management overhead

Monitor Snapshot Size

  • Track total snapshot storage
  • Identify large snapshots
  • Plan storage growth
  • Budget for costs
  • Optimize retention

Alerts and Notifications#

Get Notified

  • Snapshot creation completion
  • Snapshot restoration status
  • Storage capacity warnings
  • Retention policy violations
  • Failed snapshot operations

Snapshot Limitations#

Know the Limitations#

Snapshot Scope

  • Captures single volume only
  • Not application-level backup
  • Need separate backup strategy
  • Multiple snapshots for app
  • Coordination required

Recovery Point

  • Only to specific snapshot time
  • Lost changes after snapshot
  • Cannot partially restore
  • All-or-nothing operation
  • Must choose right snapshot

Operational Limits

  • Snapshot creation takes time
  • Restoration causes downtime
  • Large volumes take longer
  • System resource intensive
  • Plan accordingly

Troubleshooting#

Snapshot Issues#

Snapshot Creation Failed

  1. Check volume status
  2. Verify available storage
  3. Check system resources
  4. Review error message
  5. Try again after waiting
  6. Contact support if persists

Snapshot Not Appearing

  1. Refresh the dashboard
  2. Check volume exists
  3. Verify permissions
  4. Try different browser
  5. Clear cache and reload

Restore Failed

  1. Verify snapshot valid
  2. Check volume accessible
  3. Ensure sufficient space
  4. Confirm application stopped
  5. Review error details
  6. Try again or contact support

Restore Takes Too Long

  1. Check system load
  2. Verify network connectivity
  3. Monitor resource usage
  4. Be patient, large volumes take time
  5. Check for errors in logs

Snapshot Use Cases#

Backup and Disaster Recovery#

  • Regular backups for protection
  • Quick recovery from data loss
  • Disaster recovery planning
  • Compliance documentation
  • Long-term archival

Testing and Development#

  • Test destructive operations
  • Restore to pre-test state
  • Development environment cloning
  • Regression testing
  • Performance testing

Version Control#

  • Multiple versions of data
  • Time-based data history
  • Rollback capability
  • Change tracking
  • Audit trail

Compliance and Audit#

  • Meeting retention requirements
  • Regulatory compliance
  • Data preservation
  • Audit documentation
  • Incident investigation

Snapshot Best Practices Summary#

Creating Snapshots:

  • Create before major changes (deployments, updates, migrations)
  • Use descriptive names with dates
  • Include descriptions for context and recovery decisions

Restoring Snapshots:

  • Always test restore procedures quarterly
  • Verify correct snapshot before restoration
  • Create backup of current data if uncertain
  • Plan for downtime during restoration

Retention Strategy:

  • Production: 30+ days of snapshots
  • Standard: 14-30 days
  • Development: 7-14 days
  • Archive critical backups longer-term

Monitoring:

  • Clean up old snapshots monthly
  • Track snapshot storage costs
  • Monitor creation failures
  • Test restoration procedures regularly

Next Steps#