diff options
author | Lars Wirzenius <liw@liw.fi> | 2013-12-04 15:27:11 +0000 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2013-12-04 15:27:11 +0000 |
commit | 4640a881c2263cc2cfcb6a0ed3f75170e93284da (patch) | |
tree | 380772642233794e697fd7d3d558a6196c98420a /yarns/0030-basics.yarn | |
parent | a3f3f96bf7abb4baa254055d746f6ac62aafef4f (diff) | |
download | obnam-4640a881c2263cc2cfcb6a0ed3f75170e93284da.tar.gz |
Add basic backup test
Diffstat (limited to 'yarns/0030-basics.yarn')
-rw-r--r-- | yarns/0030-basics.yarn | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/yarns/0030-basics.yarn b/yarns/0030-basics.yarn new file mode 100644 index 00000000..7cdc3ba7 --- /dev/null +++ b/yarns/0030-basics.yarn @@ -0,0 +1,24 @@ +Basic operation: backup and restore +=================================== + +This chapter tests the basic operation of Obnam: backing up and +restoring data. Tests in this chapter only concern themselves with a +single generation; see later for tests for multiple generations. + +The goal of this chapter is to test Obnam with every kind of data, +every kind of file, and every kind of metadata. + +Backup simple data +------------------ + +This is the simplest of all simple backup tests: generate a small +amount of data in regular files, in a single directory, and backup +that. No symlinks, no empty files, no extended attributes, no nothing. +Just a few files with a bit of data in each. This is what every backup +program must be able to handle. + + SCENARIO backup simple data + GIVEN 100kB of live data + WHEN user backs up live data + THEN user can restore their data correctly + AND user can fsck the repository |