Ignore Steam files by default
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Déjà Dup |
Fix Released
|
Undecided
|
Unassigned | ||
deja-dup (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Precise |
Fix Released
|
Undecided
|
Unassigned | ||
Quantal |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
[Impact]
Steam is coming to Ubuntu (already in beta). Steam games are enormous, synchronized, and off-site. No need to back them up.
Once users start playing Steam games, a user that enabled backups with Deja Dup's default settings will find that all of a sudden, many gigs of data are being backed up.
Now, obviously this is a bit of a whack-a-mole problem. Many apps like Steam don't properly follow the XDG basedir spec and put cached data in ~/.cache so that Deja Dup and similar apps will ignore them. And we don't want to SRU a fix for every single non-compliant app.
But Steam is a big one. It's both very popular and its data is very very large. I think it's worth an exception to avoid the pain and bug reports that will come when many people suddenly add multiple gigs of useless data to their backups.
[Workaround]
A user can simply add ~/Steam to the backup ignore list. But every single user that uses Steam will want to do that. It's a big burden to ask of each user individually.
[Test Case]
Try backing up your home directory with Steam installed. Notice that it will include ~/Steam. With this patch (from upstream), it will ignore ~/Steam instead.
[Regression Potential]
It's a very simple fix. I think regression potential is exceedingly tiny.
[Fix Details]
We add ~/.steam/root to the hidden default ignore list. ~/.steam/root points at ~/Steam (which will also be ignored) unless the user has manually changed it.
Related branches
- Michael Terry: Approve
- Robert Bruce Park (community): Abstain
- Ken VanDine: Pending requested
-
Diff: 1123 lines (+381/-201)4 files modifiedcommon/OperationBackup.vala (+1/-0)
help/C/prefs.page (+1/-0)
help/deja-dup-help.pot (+361/-199)
tests/runner.vala (+18/-2)
Changed in deja-dup: | |
status: | New → Fix Committed |
Changed in deja-dup: | |
milestone: | none → 25.3 |
Changed in deja-dup: | |
status: | Fix Committed → Fix Released |
Status changed to 'Confirmed' because the bug affects multiple users.