Do not follow this link

~bayindirh/smb-backup

Tool to backup remote windows shares over cifs using rsync.
4a70d030 — Hakan Bayındır 9 years ago
Merge branch 'master' of github.com:hbayindir/smb-backup
06c3a8c2 — Hakan Bayındır 9 years ago
Merge branch 'master' of github.com:hbayindir/smb-backup
b3cb4c08 — Hakan Bayındır 9 years ago
Merge branch 'master' of github.com:hbayindir/smb-backup

refs

master
browse  log 

clone

read-only
https://git.sr.ht/~bayindirh/smb-backup
read/write
git@git.sr.ht:~bayindirh/smb-backup

You can also use your local clone with git send-email.

#smb-backup

A small tool to backup remote windows shares over cifs using rsync.

#Why?

My router's shared storage has crashed, causing data loss. To prevent further damage, I've developed this small script, and thought that sharing it would be fun.

#How to use

In the beginning of the script, there is a configuration block. Set the remote IP and the share name, also set the local backup folder, mount options and rsync parameters to your taste. Run the script as root and have fun!

All pull requests and forks are very welcome. Thanks for taking a look!

#Changelog

#Version 1.1.1

  • Correct an error message about folder permissions to be more informative.

#Version 1.1

  • Detect writability of the backups folder in a better way using stat and by checking owner and permissions of the folder.
Do not follow this link