Content Error or Suggest an Edit
Notice a grammatical error or technical inaccuracy? Let us know, we will give you credit!
DISCLAIMER
The following commands change how your GridPane server functions. This may void any support provide by GridPane, use at your own discretion. If you contact GridPane support, inform them that you made these changes.
The following article serves to provide details on how local backups are completed when using GridPane.
Backup Location
The location of the local backups are within the following folder
There are two subfolders.
- Databases – Database dumps.
- Snapshots – Borg snapshots.
Method
The current method for backup up files is borg backup, you can read more about borg here https://borgbackup.readthedocs.io/en/stable/
There is a cronjob that is kicked off under the root user
You’ll see the command expands to the following.
I’m not too sure how the database backups are completed, I’m assuming mysqldump.
Accessing
If you want to see a list of the snapshots available via borg, you can run the following command. You will however have to enter in the authentication key which is located in the file /root/gridpane.token
However, be careful as this is your GridPane API key.