freezer.tests.integration.test_rsync_backup module

freezer.tests.integration.test_rsync_backup module

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

Returns

non on success

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

Returns

non on success

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

Returns

non on success

Creative Commons Attribution 3.0 License

Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.