How do I backup and restore my domain in Payara (or glassfish for that matter.)
$ ./asadmin backup-domain --backupDir ~/mmud_backups/payara_backups domain1
It ends up in ~/mmud_backups/payara_backups/domain1/domain1_2019_01_27_v00001.zip
$ ./asadmin restore-domain --filename ~/mmud_backups/payara_backups/domain1/domain1_2019_01_27_v00001.zip --backupdir ~/mmud_backups/payara_backups domain1
Restored the domain (domain1) to ~/payara5/glassfish/domains/domain1
Command restore-domain executed successfully.
Restored the domain (domain1) to ~/payara5/glassfish/domains/domain1
Command restore-domain executed successfully.
References
- Payara - Backup & Restore of Payara Server
- https://blog.payara.fish/backup-restore-of-payara-server
- Payara - How to upgrade Payara Server 5
- https://blog.payara.fish/how-to-upgrade-payara-server-5-reloaded
No comments:
Post a Comment