From f1f773bf95bf3311f51543882d7195a18a1b7510 Mon Sep 17 00:00:00 2001 From: Eric Torres Date: Wed, 13 Mar 2019 20:41:40 -0700 Subject: [PATCH] Update README --- README.rst | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/README.rst b/README.rst index 069c814..3753333 100644 --- a/README.rst +++ b/README.rst @@ -23,8 +23,30 @@ Target Directories * Installed packages * Package manager databases +Backup Directory Hierarchy +-------------------------- +* basedir + | - data *directory containing all snapshots* + | | - snapshot1 *first snapshot* + | | - boot + | | - home + | | - etc + | | - snapshot2 + | | - boot + | | - home + | | - etc + | - prev *link to previous snapshot* +* Assuming snapshot2 was the previous backup and snapshot1 was the backup before that: + * prev would link to snapshot2 + * Unchanged files files from snapshot1 backed up to snapshot2 are hardlinked to snapshot1 + + Implementation Notes -------------------- * os.path is used for path handling * Use --link-dest= * Use --suffix=, --backup, and --backup-dir= + +To-do +----- +* Use --suffix=, --backup, and --backup-dir=