Skip to content

Instantly share code, notes, and snippets.

@andp97
Created April 10, 2021 14:12
Show Gist options
  • Save andp97/c037cdd44bcfbccb56a40098fe2b0a3e to your computer and use it in GitHub Desktop.
Save andp97/c037cdd44bcfbccb56a40098fe2b0a3e to your computer and use it in GitHub Desktop.
Restore Plesk Backup on different server
#!/bin/bash
PLESK_BACKUP_PASSWORD="somepassword"
BACKUP_FILE=$1 #for example /root/backup_info_1712180545.xml.tar
plesk bin pleskrestore --restore $BACKUP_FILE -level server -ignore-sign -backup-password $PLESK_BACKUP_PASSWORD
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment