mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-11-29 08:25:10 +00:00
syncthing: Add backup/restore support
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org> Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
1 parent
983f4d13e8
commit
529c281734
5 files changed
+172
-12
No files matched your search
@@ -15,7 +15,7 @@
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
|
||||
@apps @syncthing @sso
|
||||
@apps @syncthing @sso @backups
|
||||
Feature: Syncthing File Synchronization
|
||||
Run Syncthing File Synchronization server.
|
||||
|
||||
@@ -28,6 +28,27 @@ Scenario: Enable syncthing application
|
||||
When I enable the syncthing application
|
||||
Then the syncthing service should be running
|
||||
|
||||
Scenario: Add a syncthing folder
|
||||
Given the syncthing application is enabled
|
||||
And syncthing folder Test is not present
|
||||
When I add a folder /tmp as syncthing folder Test
|
||||
Then syncthing folder Test should be present
|
||||
|
||||
Scenario: Remove a syncthing folder
|
||||
Given the syncthing application is enabled
|
||||
And folder /tmp is present as syncthing folder Test
|
||||
When I remove syncthing folder Test
|
||||
Then syncthing folder Test should not be present
|
||||
|
||||
Scenario: Backup and restore syncthing
|
||||
Given the syncthing application is enabled
|
||||
And syncthing folder Test is not present
|
||||
When I add a folder /tmp as syncthing folder Test
|
||||
And I create a backup of the syncthing app data
|
||||
And I remove syncthing folder Test
|
||||
And I restore the syncthing app data backup
|
||||
Then syncthing folder Test should be present
|
||||
|
||||
Scenario: Disable syncthing application
|
||||
Given the syncthing application is enabled
|
||||
When I disable the syncthing application
|
||||
|
||||
Reference in new issue
Block a user