mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-11-29 08:25:10 +00:00
backups: Don't rely on disk labels during export/restore
Disk labels are unreliable. They may not exist. There are not unique and two disks in the system may have the same label. Instead use the device path of the disk/partition. Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
1 parent
b29ccfc060
commit
c33b192f71
7 files changed
+70
-44
No files matched your search
@@ -213,8 +213,8 @@ def backup_restore(browser, app_name):
|
||||
browser.visit(default_url)
|
||||
nav_to_module(browser, 'backups')
|
||||
browser.find_link_by_href(
|
||||
'/plinth/sys/backups/restore/Root%2520Filesystem/_functional_test_' +
|
||||
app_name + '.tar.gz/').first.click()
|
||||
'/plinth/sys/backups/restore/%252F/_functional_test_' + app_name +
|
||||
'.tar.gz/').first.click()
|
||||
submit(browser)
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user