Overview
Backuply typically restores backups using the metadata associated with each backup. If the metadata for a backup is missing or unavailable, the backup cannot be restored through the Backuply interface. However, if the backup archive still exists on the server, it can be restored directly using the Backuply command-line interface (CLI). This method bypasses the metadata requirement and restores the backup from the specified backup file. It is intended for recovery scenarios where the backup archive is available but its corresponding metadata record is missing.
Procedure
1.) Ensure that the backup archive is present on the server and note its filename and location.
2.) Follow the command below to restore the backup directly from the backup archive when the backup metadata is unavailable:
Command: backuply --enduser_restore --restore=1 --admin_backup=1 --type=full --filename=BACKUP_FILENAME --local_backup_path=/BACKUP_PATH --backup_method=BACKUP_METHOD --user=USERNAME --initiator=root --dev=1
Where:
BACKUP_FILENAME is the name of backup file.
BACKUP_PATH is the directory where backup file is stored.
BACKUP_METHOD can either be compressed or incremental.
USERNAME is the name of the panel user.