The freezer.tests.integration.test_rsync_backup
Module
updated: 2019-08-22 07:16
-
class
freezer.tests.integration.test_rsync_backup.
TestBackupFSLocalRsync
(methodName='runTest')
Bases: freezer.tests.integration.common.TestFS
-
test_backup_multiple_level
()
How it works?
- use the default source and destination trees in /tmp
(see common.TestFS)
- use temporary directory for backup storage
- add some random data
- check that trees don’t match anymore
- execute block based backup of source tree
- modify data
- execute backup again
- delete some files
- execute backup again
- execute restore into destination tree
- check that source and destination trees match
-
test_backup_single_file
()
- use the default source and destination trees in /tmp
(see common.TestFS)
- use temporary directory for backup storage
- add one file with random data
- check that trees don’t match anymore
- execute block based backup of single file
- execute restore into destination tree
- check that source and destination trees match
-
test_backup_single_level
()
How it works?
- use the default source and destination trees in /tmp
(see common.TestFS)
- use temporary directory for backup storage
- add some random data
- check that trees don’t match anymore
- execute block based backup of source tree
- execute restore into destination tree
- check that source and destination trees match
updated: 2019-08-22 07:16