Skip to content

Instantly share code, notes, and snippets.

@0x3333
Last active December 21, 2018 11:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save 0x3333/8934b528b3acfd06314e557eba3314fe to your computer and use it in GitHub Desktop.
Save 0x3333/8934b528b3acfd06314e557eba3314fe to your computer and use it in GitHub Desktop.

Python script to create snapshots for Samba shares using rsync.

The first snapshot will be a full copy(cp -a) the next ones will be hard link to the first.

run smb-snapshot -h for help.

Created a Repo: https://github.com/0x3333/smb-snapshots

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment