winebackup

package
v2.23.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 19, 2026 License: GPL-3.0 Imports: 3 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package winebackup holds the backup policy for game saves inside Wine and Proton prefixes, shared by every Linux platform that runs Windows games.

Index

Constants

This section is empty.

Variables

View Source
var SaveExclusions = []platforms.BackupPattern{
	{Glob: "*/Application Data/**"},
	{Glob: "*/Cookies/**"},
	{Glob: "*/Local Settings/**"},
	{Glob: "*/My Documents/**"},
	{Glob: "*/NetHood/**"},
	{Glob: "*/PrintHood/**"},
	{Glob: "*/Recent/**"},
	{Glob: "*/SendTo/**"},
	{Glob: "*/Start Menu/**"},
	{Glob: "*/Templates/**"},
	{Glob: "*/AppData/Local/Battle.net/**"},
	{Glob: "*/AppData/Local/Temp/**"},
	{Glob: "*/AppData/Local/D3DSCache/**"},
	{Glob: "*/AppData/Local/NVIDIA/**"},
	{Glob: "*/AppData/Local/AMD/**"},
	{Glob: "*.dxvk.bin"},
	{Glob: "*.dxvk.lut"},
	{Glob: "CachedData.db"},
	{Contains: "internet cache/"},
	{Contains: "cache/"},
	{Contains: "caches/"},
	{Contains: "crashdumps/"},
	{Contains: "crashes/"},
	{Contains: "logs/"},
	{Contains: "telemetry/"},
}

SaveExclusions drops Wine's legacy compatibility links and the caches, logs and launcher data that share the user save folders.

View Source
var UserSavePatterns = []platforms.BackupPattern{
	{Glob: "*/Documents/**"},
	{Glob: "*/Saved Games/**"},
	{Glob: "*/AppData/Roaming/**"},
	{Glob: "*/AppData/LocalLow/**"},
	{Glob: "*/AppData/Local/**"},
}

UserSavePatterns matches the per-user folders Windows games write saves to, relative to a prefix's drive_c/users directory.

Functions

func PrefixPatterns

func PrefixPatterns(prefix string, patterns []platforms.BackupPattern) []platforms.BackupPattern

PrefixPatterns roots path globs at prefix so a definition above the users directory matches the same files. Basename globs and substring patterns already match at any depth and pass through unchanged.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL