Backing up the Gitserver

djoshi

Dabbler
Joined
Nov 24, 2021
Messages
39
Hi

I am very new to True Nas.

I have converted an old PCB with a new 4TB hard drives to store my files. I also have a Gitserver (Git Tea).

The Git server is saved as Jail.

I need to make a back up of the Git Server , on external storat such as Azure Blob or one drive.

Is it better to preform a Git Server Back up or should I back up the entire "Jail"?

Does it make a difference if I use Azure Blob or one drive?
 

Patrick M. Hausen

Hall of Famer
Joined
Nov 25, 2013
Messages
7,776
Don't know about Azure. I recursively snapshot all my jails hourly. Then I replicate one snapshot per day to another TrueNAS system. All of that can easily be configured in the UI.

I would start with a snapshot task. Let's you roll back the jail with the granularity you chose. Hourly with 2 weeks retention is not "many" snapshots. Piece of cake.

If you need an off-site backup and don't have another ZFS system to replicate to, you could write a custom shell script that converts your snapshots into files, then uploads these somewhere.
 

ChrisRJ

Wizard
Joined
Oct 23, 2020
Messages
1,919
Git is a file system-only backup, in terms of recovering the content. The latter may be a different topic than to recover the jail.

You provided zero information on your system, which makes it pretty difficult to give concrete recommendations. In general I would approach this from the ease-of-recovery aspect for the critical data.
 
Top