My Backup
Allows to add arbitrary files and dconf keys to Sailfish OS backups. Requires Sailfish OS 3.2 or greater.
Important: do not uninstall MyBackup versions 1.0.5 and older. Due to what seems to be a bug in busybox, the uninstall script can end up doing rm -fr / on some versions of Sailfish OS. Update the app prior to uninstalling it - update is safe, it doesn't run that script.
Sailfish OS applications can declare what they need to be added to the backup by providing [X-HarbourBackup] section in their desktop file, which looks like this:
[X-HarbourBackup] BackupPathList=.local/share/foil/:Documents/FoilAuth/ BackupConfigList=/apps/harbour-foilauth/
BackupPathList is a colon-separated list of files and directories to backup. Paths are relative to the home directory. Directory names end with a slash and are copied recursively. Absolute paths are ignored.
BackupConfigList is a colon-separated list of dconf keys and groups. Similarly to directories, group names end with a slash and are saved and restored recursively. There is one important difference, though - the existing contents of dconf groups is lost during restore and is completely replaced by whatever was saved in the backup.
Source code: https://github.com/monich/harbour-mybackup
Translations are welcome in the form of GitHub pull requests.
Stay safe, backup often!
Category:
Keywords:
- 1.0.6 (Jul 20 2022)
- Fixed uninstall script
- Added Chum metadata - 1.0.5 (Sep 16 2021)
- Opt out of sandboxing
- Tweaked icon sizes - 1.0.4 (Feb 26 2021)
- Added missing Chinese string - 1.0.3 (Jan 17 2021)
- Speed up the backup process by hard-linking
- Fixed a problem with backing up the entire home - 1.0.2 (Jan 10 2021)
- Chinese translation (@dashinfantry)
- Update Swedish translation (Åke Engelbrektson)
- Updated Polish translation (Atlochowski) - 1.0.1 (Jan 10 2021)
- Swedish translation (Åke Engelbrektson)
- Polish translation (Atlochowski)
- Russian translation
- UI tweaks - 1.0.0 (Jan 9 2021)
- Initial release
Laatste reacties