Create a Post
cancel
Showing results for 
Search instead for 
Did you mean: 
ARSALAN_PATEL
Explorer

Automated scripting for monthly snapshot backup

Hi,

 

I am searching for a solution to avoid manual work of taking snapshot backup every moth from Gaia portal.

Kindly help me if there is a way to automate the snapshot backup on monthly basis at the end of month.

 

Regards,

Arsalan 

 

0 Kudos
3 Replies
Danny
Champion Champion
Champion

In Gaia WebUI you can easily configure scheduled backups within the Backup section. In case you really need monthly snapshots, which I doubt, use the Job Scheduler.
0 Kudos
JozkoMrkvicka
Authority
Authority

This can be achieved only by script.

The logic would be like this:
1. Check if there is enough disk space available for snapshot
2. Perform snapshot
3. Export snapshot
4. Transfer exported snapshot outside of the box 
5. Compare hashes of both files, they must be identical to avoid file corruption during the transfer
6. Remove locally exported snapshot
7. Delete snapshot partition
8. Repeat steps 1-8 after 30 days

Kind regards,
Jozko Mrkvicka
0 Kudos
JozkoMrkvicka
Authority
Authority

Scheduled snapshot with export is build in R81.

Kind regards,
Jozko Mrkvicka
0 Kudos

Leaderboard

Epsum factorial non deposit quid pro quo hic escorol.

Upcoming Events

    CheckMates Events