databasebackups

Backup the MESSENGERuvvs database tables.

MESSENGERuvvs.databasebackups.databasebackups()[source]

Backup the MESSENGERuvvs database tables.

Dump the MESSENGERuvvs data into SQL files that can be restored if necessary. Tables that are backed-up are: cauvvsdata, capointing, mguvvsdata, mgpointing, nauvvsdata, napointing, mesmercyear.

This function takes no arguments. The path to save the database dumps must be specified in $HOME/.nexoclom in the format datapath = <path to data>. The default database and port are thesolarsystemmb and 5432. These can also be specified in the .nexoclom file.