Skip to content

Archive Monitoring Projects Safely

Terminal window
php artisan uplinkr:project:archive

Archives a project by copying all its data to an archive location. This is useful for backing up project data before deletion or for long-term storage of historical monitoring data.

OptionTypeRequiredDescription
--projectstringYesName of the project to archive
--forceflagNoForce execution without confirmation
Terminal window
php artisan uplinkr:project:archive --project=my-project
Terminal window
php artisan uplinkr:project:archive --project=my-project --force
  • Checks if the project exists before archiving
  • Prompts for confirmation unless --force is used
  • Copies all project data to the archive location
  • Preserves all probe configurations and historical results
  • Original project data remains intact (archive is a copy, not a move)
  • Creating backups before major changes
  • Long-term storage of completed projects
  • Data retention compliance
  • Freeing up active storage while preserving data
  • 0 (SUCCESS): Project archived successfully
  • 1 (INVALID): Project not found, validation failed, or process was aborted