Rob Pearce
7c6c5a3f62
add args, and checj for existing bare.sh process
2024-07-04 12:10:22 +10:00
Rob Pearce
461ed4a95f
Fix to support change in telegram markdown usage
2023-11-27 10:59:37 +11:00
Rob Pearce
b768775a7a
Tidy up
2023-11-27 10:51:20 +11:00
Rob Pearce
f057a9e7e6
Adding script for telegram reporting
2023-11-27 10:51:07 +11:00
Rob Pearce
135aa0b292
rclone now uses excludefile if sepecified in repos file
...
rclone now uses --size-only and --copy-links
2023-11-27 08:19:13 +11:00
Rob Pearce
77aab0f3e5
add logo
2023-10-12 22:12:57 +11:00
Rob Pearce
307948c272
Merge branch 'master' of http://git.nethack.net/rob/bare
2022-01-23 15:52:42 +11:00
Rob Pearce
e5758e5654
Typo fix and a couple of extra debug logs
2022-01-23 15:52:30 +11:00
Rob Pearce (mimic)
586533c95b
Fix unmounting on linux systems
2021-12-10 10:16:30 +11:00
Rob Pearce
8234748fec
Add usage info on how to override binary paths
2021-12-10 10:14:43 +11:00
Rob Pearce
530daa9eaf
Fixed broken db restore
2021-06-26 11:44:36 +10:00
Rob Pearce
02140f07db
Add support for mysql databases
2021-06-26 11:26:08 +10:00
Rob Pearce
3782cdf528
Fixed code block
2021-06-03 10:07:47 +10:00
Rob Pearce
56375c80a0
adding readme
2021-06-03 10:04:35 +10:00
Rob Pearce
512b709d31
Fix mount issue when multiple repos share the same data path.
2020-11-09 09:41:26 +11:00
Rob Pearce
703c353c1b
Fix colours in check mode
2020-11-09 09:37:31 +11:00
Rob Pearce
a8e4f54266
fix double umount issue where multiple repos have the same datapath
2020-11-08 00:24:35 +11:00
Rob Pearce
cc291b2ea4
Add -T option to use formatting suitable for Telegram messages.
2020-11-06 19:20:35 +11:00
Rob Pearce
01af0ca438
When doing premount, check whether mountpoint is already mounted first.
2020-11-05 09:24:29 +11:00
Rob Pearce
fbaadd8e18
commented
2020-11-05 09:02:47 +11:00
Rob Pearce
6132304c20
make "check" a valid command
2020-11-04 12:58:23 +11:00
Rob Pearce
5c007da2b0
Added restore mode
...
Added colours
2020-11-03 15:04:57 +11:00
Rob Pearce
b8843a5d22
Fix broken cron mode
2020-10-11 08:28:05 +11:00
Rob Pearce
b57bbdac21
Fix bug when no exclude file set.
...
Fix bug with return value when running a restic backup in cron mode.
2020-10-09 11:27:16 +11:00
Rob Pearce
504405c6ff
add 'localmount' tag to mount datapath via fstab entry
...
add 'premount' tag to mount arbitrary paths (ie. a filesystem containing therepo)
2020-10-08 13:50:10 +11:00
Rob Pearce
1f48477940
Add localmount tag to mount dir via fstab before action.
2020-10-04 17:23:36 +11:00
root
b50a3be2c4
add verbose mode
2020-09-14 09:19:26 +10:00
Rob Pearce
d2039b040c
Add optiom for exyra restic options.
...
Nake restic exclusion actually work.
Add zabbix report script.
2020-10-02 21:23:42 +10:00
Rob Pearce
62cc31ca1e
Only make 1 retry when mounting nfs, to avoid freezing f rever.
...
urs
2020-08-25 18:45:16 +10:00
Rob Pearce
f7af0de9f5
Can now specify restic/rsync/rclone repo names in repofile.
...
Renamed various options in ~/.backup/config to DEF_*
Records historical results of backups in ~/.backup/stats
Added 'check' command to check for successful backups in the last 24 hours (uses new stats file)
Now requires 'bc' (for check command)
2020-08-23 11:06:49 +10:00
Rob Pearce
cde65f6ff1
Keep processing other repos if one errors.
...
Properly unmount stuff
2020-07-02 10:25:03 +10:00
Rob Pearce
671a7ba52a
Adding forget option for restic.
2019-03-23 16:06:23 +11:00
Rob Pearce
af731a05e7
Added 'forget' mode to age out old restic backups.
...
When running in cron mode, filter out restic noise.
2019-03-23 12:35:10 +11:00
Rob Pearce
8c61f8001d
better usage text for tags
2019-03-22 22:39:11 +11:00
Rob Pearce
d49246a823
Fix tags list in 'repos' command
2019-03-22 22:10:44 +11:00
Rob Pearce
f3ea526fc9
Fixing bug where nfs/usmb shares were never mounted
2019-03-22 18:42:20 +11:00
Rob Pearce
b09a7b16cc
only check for existenve of local path if we need it
2019-03-20 20:34:56 +11:00
Rob Pearce
da46e88982
only mount/umount local points if required.
2019-03-20 20:31:35 +11:00
Rob Pearce
a7f9095f3c
Add description of tags in help text
2019-03-20 18:21:09 +11:00
Rob Pearce
41fa031306
Move B2_BUCKET_PREFIX to a variable
2019-03-20 17:51:56 +11:00
Rob Pearce
4218247c74
Added nfs support
2019-03-20 17:47:14 +11:00
Rob Pearce
61dda9b5c3
Extra sanity checks around usmb
2019-03-17 14:59:17 +11:00
Rob Pearce
b6786c25b1
Replace -u option with per-repo "usmb" tag
2019-03-17 14:56:24 +11:00
Rob Pearce
cb6c7139a7
Rename variable
2019-03-17 14:53:26 +11:00
Rob Pearce
efe2889766
-u option now mounts usmb partition beforehand, then umounts after.
2019-03-17 14:52:11 +11:00
Rob Pearce
3708c64d1f
Added -u option ro tun usmb umount when done
2019-03-17 14:40:59 +11:00
Rob Pearce
e6cd761452
Removed s3 mode.
...
Added rsync mode.
-s options is now in Mbps.
2019-03-17 14:33:52 +11:00
Rob Pearce
66b3c450b0
Fix check for empty datapath
2019-03-14 12:25:23 +11:00
Rob Pearce
5fb9996d6e
Remove 'diff' to restic repos
2019-03-14 12:04:14 +11:00
Charlie Root
a7f7768567
Confirm that data paths aren't emnpty
2019-03-14 12:03:05 +11:00