GAMMU-BACKUP(5)
πΎ NAME
gammu-backup β the backup file format for gammu(1), bestie. Yes it's a file-format page, no it is not boring, stay with me here.
The backup format is a text file encoded in either ASCII or UCS-2-BE encodings.
This file uses ini file syntax β peep the INI file format (#ini) if you need the deets. π«Ά
π EXAMPLES
Okay so here's the actually slay part: if you back up your settings to a Gammu text file, you can literally just edit it. It's easy, fr fr β lots of things in this file get written twice, once in Unicode and once in ASCII. When you remove the Unicode version, Gammu will use ASCII on restore (and you can easily edit that ASCII text, cute) and it will convert it according to your OS locale. When a Unicode version of the text is available, it gets used instead of ASCII β super useful with Unicode phones, because it isn't important what locale is set on the computer, and no conversion Unicode β ASCII and ASCII β Unicode is done at all. Periodt. β¨
You can use any editor that has a regular expressions function to edit the backup text file. Examples of such editors are vim (http://www.vim.org/) and TextPad (http://www.textpad.com/) β both of them do support regular expressions. Obsessed, honestly. π
π Remove info about voice tags
Find:
^Entry\([0-9][0-9]\)VoiceTag = \(.*\)\n
Replace:
<blank>
π¦ Change all numbers starting from +3620, +3630, +3660, +3670 to +3620
Find:
Type = NumberGeneral\nEntry\([0-9][0-9]\)Text = "\+36\(20\|30\|60\|70\)\n
Replace:
Type = NumberMobile\nEntry\1Text = "\+3620
π Change phone numbers type to mobile for numbers starting from +3620, +3630,... and removing the corresponding TextUnicode line
Find:
Type = NumberGeneral\nEntry\([0-9][0-9]\)Text = "\+36\([2367]0\)\([^\"]*\)"\nEntry\([0-9][0-9]\)TextUnicode = \([^\n]*\)\n
Replace:
Type = NumberMobile\nEntry\1Text = "\+36\2\3"\n
πΈ See also:
- Converting file formats (
#converting-formats)
π Author
Michal ΔihaΕ <michal@cihar.com>
π Copyright
2009-2015, Michal ΔihaΕ <michal@cihar.com>
And that's the whole vibe, bestie β this iconic little page is version 1.45.0, dated Sep 16, 2026, and it lives in GAMMU-BACKUP(5). Go forth and back up your stuff. π¦ππ
π¦ where this page comes from
- arch rolling: gammu 1.45.0-1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms