8000 GitHub - jvt3112/Snappy: Snapshot tool · GitHub
[go: up one dir, main page]

Skip to content
jvt3112Public

About

Snapshot tool

Resources

Stars

2 stars

Watchers

1 watching

Forks

Repository files navigation

Snappy

In computer systems, a snapshot is the state of a system at a particular point in time. Snappy is a command line tool for linux file system that supports snapshot management. It provides user various functionalities to create,delete and manage the snapshots of the directories. For more information refer : Report.


Installation

  1. Clone the repository
  2. Inside Local Repository Run $ make snap

Following commands are supported by Snappy:

  1. help: show supported commands and their usage

    • Usage: $ snappy help
  2. create: create snapshot of the input directory, optional flag -d to add description

    • Usage: $ snappy create [Directory]
    • Usage: $ snappy create [Directory] -d [Description]
  3. revert: revert to some older version

    • Usage: $ snappy revert [Directory] [SnapNum]
  4. cleanup: remove all the snapshots and store the snapshot of the latest version

    • Usage: $ snappy cleanup [Directory]
  5. compare: lists the difference between the contents of folder/files

    • Usage: $ snappy compare [SnapNum1] [SnapNum2] [Directory]
  6. status: lists out the modified or added file in 2 folders, flag -i for including identical files

    • Usage: $ snappy status -i(optional) [SnapNum1] [SnapNum2] [Directory]
  7. delete: delete a specific snap of a directory

    • Usage: $ snappy delete [Snap_Number] [Directory]
  8. listsnap: list out the snapshots taken of the directory

    • Usage: $ snappy listsnap [Directory]
  9. logsnap: displays the changes done to the directory

    • Usage: $ snappy logsnap [Directory]
  10. desc: attach a description to a snapshot

    • Usage: $ snappy desc [SnapNum] [Directory] [Description]

Contributors

Aishna Agrawal | Janvi Thakkar | Mihir Jain | Priyam Tongia


About

Snapshot tool

Resources

Stars

2 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages

0