From 371a9ab6670a6f10d5442ad78650380e3bf21c93 Mon Sep 17 00:00:00 2001 From: Andrea Mazzoleni Date: Tue, 21 Jun 2011 21:33:57 +0200 Subject: [PATCH] Documentation for the diff command. --- snapraid.1 | 7 +++++++ snapraid.d | 6 ++++++ snapraid.txt | 6 ++++++ 3 files changed, 19 insertions(+) diff --git a/snapraid.1 b/snapraid.1 index 6fce8403..d7fc344f 100644 --- a/snapraid.1 +++ b/snapraid.1 @@ -256,6 +256,8 @@ snapraid fix \(hyf JUST_DELETED_DIR/ SnapRAID provides three simple commands (case sensitive) that allow to: .PD 0 .IP \(bu +See the files changed from the previous sync \(hy> \(a"diff\(a" +.IP \(bu Make a backup/snapshot \(hy> \(a"sync\(a" .IP \(bu Check for integrity \(hy> \(a"check\(a" @@ -265,6 +267,11 @@ Restore the last backup/snapshot \(hy> \(a"fix\(a". .PP Take care that they should be written in lower case. .TP +.B diff +Lists all the files modified from the last \(a"sync\(a" command that +needs to be backuped. +Nothing is modified. +.TP .B sync Updates the redundancy information. All the modified files in the disk array are read, and the redundancy data is diff --git a/snapraid.d b/snapraid.d index bdb6e967..1cc9d39a 100644 --- a/snapraid.d +++ b/snapraid.d @@ -154,12 +154,18 @@ Getting Started Commands SnapRAID provides three simple commands (case sensitive) that allow to: + * See the files changed from the previous sync -> "diff" * Make a backup/snapshot -> "sync" * Check for integrity -> "check" * Restore the last backup/snapshot -> "fix". Take care that they should be written in lower case. + =diff + Lists all the files modified from the last "sync" command that + needs to be backuped. + Nothing is modified. + =sync Updates the redundancy information. All the modified files in the disk array are read, and the redundancy data is diff --git a/snapraid.txt b/snapraid.txt index 89b3653d..91a00c69 100644 --- a/snapraid.txt +++ b/snapraid.txt @@ -170,12 +170,18 @@ deleted directory, simply running the fix command like. SnapRAID provides three simple commands (case sensitive) that allow to: +* See the files changed from the previous sync -> "diff" * Make a backup/snapshot -> "sync" * Check for integrity -> "check" * Restore the last backup/snapshot -> "fix". Take care that they should be written in lower case. + diff + Lists all the files modified from the last "sync" command that + needs to be backuped. + Nothing is modified. + sync Updates the redundancy information. All the modified files in the disk array are read, and the redundancy data is