Archive Monitoring Projects Safely
Command
Section titled “Command”php artisan uplinkr:project:archiveDescription
Section titled “Description”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.
Options
Section titled “Options”| Option | Type | Required | Description |
|---|---|---|---|
--project | string | Yes | Name of the project to archive |
--force | flag | No | Force execution without confirmation |
Usage Examples
Section titled “Usage Examples”Archive a project
Section titled “Archive a project”php artisan uplinkr:project:archive --project=my-projectForce mode (skip confirmation)
Section titled “Force mode (skip confirmation)”php artisan uplinkr:project:archive --project=my-project --forceBehavior
Section titled “Behavior”- Checks if the project exists before archiving
- Prompts for confirmation unless
--forceis 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)
Use Cases
Section titled “Use Cases”- Creating backups before major changes
- Long-term storage of completed projects
- Data retention compliance
- Freeing up active storage while preserving data
Return Codes
Section titled “Return Codes”0(SUCCESS): Project archived successfully1(INVALID): Project not found, validation failed, or process was aborted