Zaloha2_Snapshot.sh
September 25, 2023 · View on GitHub
Zaloha2_Snapshot is an add-on script to Zaloha2 to create hardlink-based snapshots of the backup directory (condition: hardlinks must be supported by the underlying filesystem type).
This allows to create Time Machine-like backup solutions.
On Linux/Unics, Zaloha2_Snapshot runs natively. On Windows, Cygwin is needed.
Documentation
Documentation is available both online as well as inside of Zaloha2_Snapshot.sh.
Zaloha2_Snapshot has been created using the same technology and style as Zaloha2 itself. Read Zaloha2 documentation to get acquainted with relevant terminology, features, cautions and limitations.
Obtain Zaloha2_Snapshot.sh
The simplest way: Under the green button "Code" above, choose "Download ZIP".
From the downloaded ZIP archive, extract Zaloha2_Snapshot.sh and
make it executable (chmod u+x Zaloha2_Snapshot.sh).
For running the Simple Demo, extract also the scripts Simple_Demo_step1/2/3/4/5/6.sh and make them executable.
The integrity of Zaloha2_Snapshot.sh can be verified by its SHA-256 hash. The hash of current version is:
sha256sum Zaloha2_Snapshot.sh
fc3ef4fa260d48a9732e28ac23504abc8cf325ba027fbd1b7ccbbdbe65a25b2f Zaloha2_Snapshot.sh
Usage Example
Zaloha2_Snapshot.sh --backupDir="test_backup" --snapDir="test_backup_000"
Usage Screenshot

License
MIT License