Jarno Rankinen
7335f4a879
Reworked the --install option, it now works
2022-04-18 17:14:03 +03:00
Jarno Rankinen
3e1fd62d0f
Fixed path issue with systemd service, snapsh needs to be in the system $PATH to work
2021-10-29 09:24:54 +03:00
Jarno Rankinen
c546442bfd
Updated README.md
2021-10-29 01:56:56 +03:00
Jarno Rankinen
d03a3f938a
Batch deletion of snapshots
2021-10-29 01:51:47 +03:00
Jarno Rankinen
ab70c43b8e
Updated README, changed .backup to .previous to avoid confusion
2021-10-29 00:25:40 +03:00
Jarno Rankinen
df62fe781c
--umount, -v|--version, --install options
2021-10-28 23:19:29 +03:00
Jarno Rankinen
338a39ca1a
Unmount and delete toplevel mountpoint after operations
2021-10-27 22:12:09 +03:00
Jarno Rankinen
d502f26ed8
Improved initial mount & 'snapshots' subvolume check
2021-10-27 21:27:10 +03:00
Jarno Rankinen
a13cba3790
Implemented automatic toplevel mounting
...
snapsh now checks if the toplevel subvolume is mounted at the path
defined in TOPLEVEL, and if not, does it automatically.
2021-01-05 00:39:13 +02:00
Jarno Rankinen
d003820acb
Modified rollback output
2020-12-28 21:37:30 +02:00
Jarno Rankinen
f5df8f09df
Fixed snapshot listing if no snapshots exist
2020-12-07 10:58:36 +02:00
Jarno Rankinen
b8bd2d026d
Implemented SElinux check to rollbacks
...
Script asks if the user wants to do a filesystem
relabeling at the next reboot. If SElinux
policies were updated between the current state
and the rollback target, this seemed to cause an
issue where no user could login. Disabling
SElinux or relabeling fixes the problem.
2020-10-22 21:46:37 +03:00
Jarno Rankinen
f1d23ead07
snapsh-post-rollback.service fixed
...
Globbing (*.backup) fixed
2020-10-22 19:16:10 +03:00
Jarno Rankinen
7576a5222d
Fixed broken backup snapshotting of non-root subvolumes on rollbacks
2020-10-21 20:33:14 +03:00
Jarno Rankinen
f14ba56e59
Merge pull request #15 from 0ranki/config-file
...
Separate config file, rollback cleanup systemd-unit
2020-08-07 11:32:12 +03:00
Jarno Rankinen
3d700de1db
Update README.md
...
Added instructions for enabling post-rollback cleanup systemd-unit.
2020-08-07 11:31:12 +03:00
Jarno Rankinen
b6e5132cb5
Rollback cleanups implemented
...
Implemented systemd unit that removes the *.backup subvolumes leftover
from rollbacks
2020-08-07 11:22:28 +03:00
Jarno Rankinen
c2750ab03d
Added comments to script
2020-08-07 08:43:11 +03:00
Jarno Rankinen
1770fe4e56
Separate config file
...
Started implementing separate config file. Needs to be copied/linked
manually to /etc/snapsh.conf
2020-08-07 06:58:16 +03:00
Jarno Rankinen
7ac0180fd6
Merge pull request #14 from 0ranki/documentation
...
Update README.md
2020-08-05 09:53:35 +03:00
Jarno Rankinen
8ac28d361b
Update README.md
...
Added -t, --type option
2020-08-05 09:53:16 +03:00
Jarno Rankinen
abab58f3e6
Merge pull request #13 from 0ranki/dev
...
Dev
2020-08-05 09:47:21 +03:00
Jarno Rankinen
669d3b210f
Merge pull request #12 from 0ranki/options_test
...
Options test
2020-08-05 09:45:25 +03:00
Jarno Rankinen
56a7243c26
Revert "Revert "Updated helptext""
...
Messed up with reverting
Added -l, --list option
2020-08-05 09:20:55 +03:00
Jarno Rankinen
8a6655214a
Revert "Updated helptext"
...
This reverts commit 4c834e8c1b
.
2020-08-05 09:18:30 +03:00
Jarno Rankinen
108e57ac29
Updated helptext
2020-08-05 09:15:58 +03:00
Jarno Rankinen
c6b459dd48
Merge pull request #11 from 0ranki/dev
...
Fixed rebooting after rollback
2020-08-05 08:42:06 +03:00
Jarno Rankinen
b8535a7d65
Fixed rebooting after rollback
...
Fixed typo in systemctl reboot call after rollback
2020-08-05 08:40:31 +03:00
Jarno Rankinen
ef2bc8d8ba
Merge pull request #10 from 0ranki/documentation
...
Update README.md
2020-08-05 00:30:34 +03:00
Jarno Rankinen
f05f377737
Update README.md
2020-08-05 00:30:01 +03:00
Jarno Rankinen
bd49c03d33
Merge pull request #9 from 0ranki/dev
...
Rollbacks implemented
2020-08-05 00:27:07 +03:00
Jarno Rankinen
42514f1836
Rollbacks implemented
...
Rollback (--rollback) implemented. Requires tidying up printouts.
Fixed issue with using a larger number than the number of snapshots
for "--remove"
2020-08-05 00:23:28 +03:00
Jarno Rankinen
742c18a76c
Merge pull request #8 from 0ranki/documentation
...
Update README.md
2020-08-02 22:02:59 +03:00
Jarno Rankinen
1bc7e6d596
Update README.md
...
Added planned features and license
2020-08-02 22:01:49 +03:00
Jarno Rankinen
302de9f9c4
Merge pull request #7 from 0ranki/documentation
...
Update README.md
2020-08-02 21:48:24 +03:00
Jarno Rankinen
c639801fbc
Update README.md
...
Added information for snapshot deletion.
2020-08-02 21:47:27 +03:00
Jarno Rankinen
85fc7cd4e6
Merge pull request #6 from 0ranki/dev
...
Dev
2020-08-02 21:40:26 +03:00
Jarno Rankinen
9080ccce05
Snapshot removal implemented
...
Snapshot removing implemented (-r, --remove)
Updated helptext
Variable expansion fixes
2020-08-02 21:38:27 +03:00
Jarno Rankinen
55cbb0df32
Updated helptext with list option
2020-08-02 20:42:59 +03:00
Jarno Rankinen
705efb75df
Merge pull request #5 from 0ranki/documentation
...
Update README.md
2020-08-02 20:33:15 +03:00
Jarno Rankinen
ea82b7c6f5
Update README.md
...
Added list option description
2020-08-02 20:32:41 +03:00
Jarno Rankinen
95cd4e480e
Merge pull request #4 from 0ranki/dev
...
Snapshot listing implemented
2020-08-02 20:30:40 +03:00
Jarno Rankinen
d3c10bcf24
Snapshot listing implemented
...
Snapshots listing (-l, --list) implemented.
2020-08-02 20:29:04 +03:00
Jarno Rankinen
020f0dacd7
Merge pull request #3 from 0ranki/documentation
...
Documentation
2020-08-01 20:46:11 +03:00
Jarno Rankinen
ff154ee416
Merge pull request #2 from 0ranki/dev
...
v0.01 Basic snapshotting with descriptions implemented.
2020-08-01 20:45:41 +03:00
Jarno Rankinen
0633f5066b
Update README.md
...
Instructions for adding description added
2020-08-01 20:43:54 +03:00
Jarno Rankinen
c5e4056ba0
Snapshot descriptions implenented
...
Snapshots descriptions for snapshot listing implemented
2020-08-01 20:39:56 +03:00
Jarno Rankinen
d0f7a9ad50
Update README.md
...
Added configuration and basic snapshotting instructions
2020-08-01 20:19:47 +03:00
Jarno Rankinen
5701784128
Snapshotting implemented
...
Snapshotting (-s, --snapshot) implemented.
2020-08-01 20:03:19 +03:00
Jarno Rankinen
1e36c27a8b
Snapshot implemting started
2020-08-01 12:52:59 +03:00