Commit Graph

405 Commits

Author SHA1 Message Date
James Barnett
e34362d30c Log to systemd journal.
See #22.
2017-01-08 18:53:43 -06:00
James Barnett
ebdafecef6 Add description to snapshot while program in progress
See #22.
2017-01-07 18:46:15 -06:00
James Barnett
1b0834f40a add note on contributing 2016-12-05 09:51:00 -06:00
James Barnett
b1c8121fa0 Remove global and group permissions for backup folder
Fixes #15
2016-11-29 07:50:57 -06:00
James Barnett
c22aae296c Remove executable bit for systemd service and timer
Fixes #19
2016-11-29 07:49:58 -06:00
James Barnett
09746759d2 consistent error message formatting 2016-11-12 14:04:54 -06:00
James Barnett
e2ab77ba43 Make it clearer when UUID not found
Fixes #10.
2016-11-12 14:04:12 -06:00
James Barnett
78bc6ff8b9 If backupdir key is missing, use root dir to mounted disk
The user can hit enter when creating a new directory (no directory is
created). In doing so "backupdir" is set to nothing. Snapper does not
keep that key. Upon a search of the latest incremental backup we didn't
check for backupdir, we just had taken the first key (which ended up
being the UUID ). We now check for the backupdir key, and if it is
missing that means use the root directory on the mounted disk.

Fixes #13.
2016-11-11 15:05:12 -06:00
James Barnett
1d9f22951c Copy info.xml on first backup
Fixes #7.
2016-11-11 14:53:17 -06:00
James Barnett
22f306c6f3 Fix formatting of menu
Fixes #9.
2016-11-11 14:52:25 -06:00
James Barnett
f1ad83a8b6 Choose "yes" if only enter is pressed
Fixes #8.
2016-11-11 14:36:56 -06:00
James Barnett
b93f1854db Add missing line break
Fixes #6.
2016-11-11 14:26:38 -06:00
James Barnett
7574afe1f2 fix DEsTDiR for systemd 2016-11-10 18:07:57 -06:00
James Barnett
c4757a040b add UUID into description 2016-11-08 15:27:13 -06:00
James Barnett
209649f58e nicer formatting 2016-11-08 15:06:19 -06:00
James Barnett
0bcb45bac6 nicer formatting 2016-11-08 15:03:56 -06:00
James Barnett
6197b5e689 fix dups, typos 2016-11-08 14:52:03 -06:00
James Barnett
00c77cb5bf fix format 2016-11-08 14:46:35 -06:00
James Barnett
cdd775cb90 fix check 2016-11-08 14:46:35 -06:00
James Barnett
00caeb3008 update README
update

update
2016-11-08 14:46:32 -06:00
James Barnett
4785f18e7d add systemd service
Fixes #2.

add timer; make systemd unit instantiated

add some information on systemd unit
2016-11-08 14:46:01 -06:00
James Barnett
ec5abf0a1b if multiple mount points found with same UUID, will prompt 2016-11-08 11:19:19 -06:00
James Barnett
3a0e472f4f fix --noconfirm and uuid selection 2016-11-07 19:21:10 -06:00
James Barnett
b70b9b80ea make help prompt nicer 2016-11-07 15:08:38 -06:00
James Barnett
6243af4391 add --noconfirm. fix menu (#3) 2016-11-07 14:52:09 -06:00
James Barnett
f67cdbc5df fix formatting 2016-11-07 12:21:50 -06:00
James Barnett
259412ecb7 fix UUID flag (#3) 2016-11-07 12:19:53 -06:00
James Barnett
84ffc5544b update flags (#3) 2016-11-07 12:19:48 -06:00
James Barnett
7b338a5175 allow configurations to be selected via command line (#3, #4) 2016-11-07 12:19:48 -06:00
James Barnett
0100edf45c echo -> printf; update TODO (#3) 2016-11-07 12:19:42 -06:00
James Barnett
04b20306c5 select UUID by command line (#3) 2016-11-07 12:19:38 -06:00
James Barnett
af4d361f6a add commandline description; initial help flag (#3) 2016-11-07 12:19:31 -06:00
James Barnett
5063bec0ff fix typo 2016-11-01 08:48:54 -05:00
James Barnett
55cc936727 Change yes/no behavior (press enter). Notify user when skipping configuration. See #1. 2016-10-31 21:42:16 -05:00
James Barnett
f5192fb9cb clarify location of backup (cf. #1) 2016-10-31 21:14:08 -05:00
James Barnett
7d96964845 Fix typo (cf. #1) 2016-10-31 20:55:06 -05:00
James Barnett
deb1e401ed add LICENSE 2016-10-01 11:13:02 -05:00
James Barnett
23507dfe50 make installable 2016-10-01 11:08:36 -05:00
James Barnett
d95649e90f update README 2016-10-01 11:00:09 -05:00
James Barnett
53e666b364 inital readme 2016-10-01 10:53:23 -05:00
James Barnett
371797ee9e Use printf 2016-10-01 07:18:59 -05:00
James Barnett
fc1d151981 fix menu 2016-10-01 07:11:20 -05:00
James Barnett
4b630edc31 use shellcheck 2016-10-01 07:08:27 -05:00
James Barnett
87aac7b29d update 2016-09-24 21:08:25 -05:00
James Barnett
adc42ae2b5 mkdir after continue 2016-09-24 16:06:43 -05:00
James Barnett
2ee381ae95 add option to exit 2016-09-24 16:04:39 -05:00
James Barnett
b26ed560e2 fix menu 2016-09-24 15:14:44 -05:00
James Barnett
a9dd8a29ae fix menu 2016-09-24 15:04:57 -05:00
James Barnett
8cd177fff9 better confirmations, etc. 2016-09-24 14:59:43 -05:00
James Barnett
0e5d4ce353 better confirmations, etc. 2016-09-24 14:43:52 -05:00