Should I include /.snapshots directory (snapper snapshots) in backups?

a year ago by Cricket [he/him] to c/opensuse

I am setting up a back up of my OpenSUSE Leap server and am unsure whether to include the /.snapshots directory, which contain the snapper system snapshots. Any thoughts or links? I tried a web search about this, but didn't find anything that seemed to provide an answer.

cmhe 4 points a year ago path: 0 18270861, hotness: undefined, score: 4, children: 3
Cricket 1 point a year ago

Thanks! So that means that I should keep a back up of the snapshots in some way or another then. I'm using restic for backups. I'll try to think of how I would do this. Thanks again.

path: 0 18270861 18271228, hotness: undefined, score: 1, children: 2
cmhe 4 points a year ago

Well... You can either handle the backups completely separate from snapper and those snapshots, or you just create a differential using only the just created snapshot afterwards.

I wouldn't try to backup all snapshots everytime, since that is just needless duplication. Snapshots are more of a convenices it something is accidentally deleted or you want to revert without restoring from the backups.

path: 0 18270861 18271228 18271564, hotness: undefined, score: 4, children: 1
Cricket 1 point a year ago

Thanks again. On further consideration I may be OK since restic only backs up changed data and also deduplicates it.

path: 0 18270861 18271228 18271564 18273196, hotness: undefined, score: 1, children: 0
opensuse
opensuse

@lemmy.ml

login for more options
724
48
7

The makers' choice for sysadmins, developers and desktop users.

www.opensuse.org

openSUSE (IPA: oʊpənˈsuːzə) is a project that serves to promote the use of free and open-source software.

openSUSE is well known for its Linux distributions, mainly Tumbleweed, a tested rolling release, and Leap, a distribution with long-term support.

go to feed...