Commit Graph

397 Commits

Author SHA1 Message Date
James “Wes” Barnett
b449c1e0d0 Merge pull request #30 from kalbasit/patch-1
do not hardcode the name of the snapper configuration
2017-04-29 13:25:03 +00:00
James “Wes” Barnett
1b8e53198c Merge pull request #31 from kalbasit/patch-2
fix a typo: `$mkdir` => `$ssh mkdir`
2017-04-29 13:24:01 +00:00
Wael Nasreddine
00735c07b4 fix a typo: $mkdir => $ssh mkdir 2017-04-28 17:03:22 -07:00
Wael Nasreddine
004eed1eaa fix a typo in the snapper command 2017-04-28 15:54:14 -07:00
James Barnett
2997b80981 specify if remote 2017-04-11 20:13:24 -05:00
James Barnett
67cdde1e95 fix spaces/tabs 2017-04-11 14:34:27 -05:00
James Barnett
e3ed75a4e5 update help 2017-04-11 14:33:29 -05:00
James Barnett
615d1a5dc5 ssh backups 2017-04-11 13:59:58 -05:00
James Barnett
cf02a5cf51 update errors 2017-02-14 17:05:51 -06:00
James Barnett
082b43f680 cleanup output functions 2017-02-13 19:48:01 -06:00
James Barnett
c823230ee7 formatting 2017-02-02 19:37:59 -06:00
James Barnett
35c6cf6f97 formatting 2017-02-02 19:36:44 -06:00
James Barnett
d3343b97dd formatting 2017-02-02 19:35:35 -06:00
James Barnett
6fd2a01379 more notifications; rm variable output 2017-02-02 19:32:46 -06:00
James Barnett
eafe5db4d6 Merge branch 'arrays' 2017-02-02 19:28:57 -06:00
James Barnett
bc8d9f1db3 fix backup array 2017-02-02 19:26:50 -06:00
James Barnett
d239b5cba2 prompt all at beginning 2017-02-02 19:25:39 -06:00
James Barnett
9e94c24007 use traps 2017-02-02 18:36:20 -06:00
James Barnett
a15ad6c820 Check all configurations for failed backups
Fixes #27.
2017-01-31 20:32:19 -06:00
James Barnett
d94985a1d9 Make enter confirm question
Fixes #25.
2017-01-31 20:30:41 -06:00
James Barnett
5a1192cd9c Use variable for program name 2017-01-31 20:02:54 -06:00
James Barnett
25311a6397 improve documentation 2017-01-30 20:22:01 -06:00
James Barnett
e7085c4f92 Revert "logging goes to journal automatically from systemd service"
This reverts commit 153b43b1b7.
2017-01-30 20:15:21 -06:00
James Barnett
7cb1ca9b46 typo 2017-01-30 20:12:35 -06:00
James Barnett
aae93cf921 notify when disk not mounted 2017-01-30 20:10:19 -06:00
James Barnett
c5cd2e9d71 fix notifications 2017-01-30 20:07:25 -06:00
James Barnett
0df8b2b02e fix notifications 2017-01-30 20:01:07 -06:00
James Barnett
4c72cb4dea move wrapper to script 2017-01-30 19:56:56 -06:00
James Barnett
ba0719e94f fix indent 2017-01-30 19:39:17 -06:00
James Barnett
3625156bda update description 2017-01-30 19:01:27 -06:00
James Barnett
153b43b1b7 logging goes to journal automatically from systemd service 2017-01-30 18:57:06 -06:00
James Barnett
bc5aa1ecf3 fix systemd service 2017-01-30 18:52:00 -06:00
James Barnett
78b8a0dc31 Merge branch 'notify' 2017-01-29 19:30:47 -06:00
James Barnett
5ad6923d8c notify all logged in users (#20) 2017-01-29 19:27:17 -06:00
James Barnett
97b857a1b6 Add note about found snapshots from failed backup.
Fixes #24.
2017-01-28 07:37:59 -06:00
James Barnett
51f8429aa9 add script 2017-01-28 07:26:41 -06:00
James Barnett
c720accf2a inital test of libnotify 2017-01-28 06:53:14 -06:00
James Barnett
8738fab578 bump version 2017-01-28 06:29:29 -06:00
James Barnett
01b7237e11 Add SNAP_SYNC_EXCLUDE to exclude some configurations
Fixes #11.
2017-01-28 06:27:49 -06:00
James Barnett
ad0362a136 bump version 2017-01-28 06:19:12 -06:00
James Barnett
253566ea4f Get backupdir options first. Fixes #5 2017-01-28 06:18:02 -06:00
James Barnett
d6a3c2fb68 Keep prompting until user gives Y or n
Fixes #17.
2017-01-08 19:01:26 -06:00
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