pelican server database backup restore
Restore the database from a backup
Synopsis
Restore the server database from a specific backup file. If the database already exists, the —force flag must be specified; in that case the existing database is renamed with a .pre-restore suffix before restoring.
If no backup file is specified by path, the most recent backup is used when —latest is provided.
Use —output to restore to an alternate location (e.g. for inspection) instead of the configured database path.
pelican server database backup restore [backup-file] [flags]Options
--force Overwrite an existing database (backs up the current one first)
-h, --help help for restore
--latest Restore the most recent backup instead of specifying a file
-o, --output string Restore to this path instead of the configured database locationOptions inherited from parent commands
--config string config file (default is $HOME/.config/pelican/pelican.yaml)
-d, --debug Enable debug log messages
-f, --federation string Pelican federation to utilize
--json output results in JSON format
-L, --log string Specified log output file
--version Print the version and exitSEE ALSO
- pelican server database backup - Manage database backups