- Sep 16, 2024
-
-
Lukas Jelinek authored
-
- Apr 25, 2024
-
-
Michal Hrusecky authored
-
- Nov 20, 2023
-
-
Michal Hrusecky authored
Make sure update-factory doesn't reinstall the same image as was used the last time and make it easy to get a version of factory image for easier comparison.
-
- Oct 16, 2023
-
-
Michal Hrusecky authored
Showing size of the snapshots no longer works. In the past the output of the quota command looked like this: qgroupid rfer excl -------- ---- ---- 0/5 16.00KiB 16.00KiB Nowadays it contains a patch as well and the final output is as follows: Qgroupid Referenced Exclusive Path -------- ---------- --------- ---- 0/1386 2.46GiB 60.34MiB @135 So updating schnapps to be able to parse the second output as well. In theory even better would be to use json output and do the math to get human readable output, but doing math in shell is not a great idea, so sticking with the text output for now.
-
- Sep 19, 2023
-
-
Richard Muzik authored
The previous regex was matching strings that shouldn't have been matched, resulting in colons being placed in the wrong spots. Url "ssh://user@host:path/path" transformed into "user@host:path:/path"
-
- Aug 23, 2023
-
-
Michal Hrusecky authored
Basically just alias for local://, but pointed out that some people might try it intuitively although it should be pointing to a directory and not a file.
-
- Aug 16, 2023
-
-
Michal Hrusecky authored
We had a request to backup snapshots to locally mounted drive. It makes sense, if you have for example connected external drive. In theory I could have switched to the directory and work there, but wanted to simplify working with remote storages and make it as similar as possible so I'm using bind mount. Should nicely "isolate" and test the selected storage.
-
- Mar 28, 2023
-
-
Michal Hrusecky authored
Document "secret" functionality that allows to import new factory image.
-
Michal Hrusecky authored
Add support for updating factory image without need to provide exact link.
-
- Jan 09, 2023
-
-
Michal Vasilek authored
-
- Dec 18, 2022
-
-
Michal Hrusecky authored
-
- Jun 02, 2022
-
-
Michal Hrusecky authored
-
Michal Hrusecky authored
-
Michal Hrusecky authored
-
Michal Hrusecky authored
-
Michal Hrusecky authored
-
- May 23, 2022
-
-
Michal Hrusecky authored
-
- May 05, 2022
-
-
Michal Hrusecky authored
I forgot to shift arguments after parsing -c option.
-
- Mar 10, 2022
-
-
Although JSON is a good format for parsing in languages such as Python it gets too complex for shell parsing. The CSV format is way better for that.
-
Michal Hrusecky authored
-
Michal Hrusecky authored
-
- Jan 17, 2022
-
-
Michal Hrusecky authored
-
- Jan 14, 2022
-
-
Michal Hrusecky authored
Turns out that we are actually using the parsed configuration in showing help, so let's keep all the configuration together. It is nicer that way anyway. But let's move the die function to the top so we can use it during configuration parsing. Fortunately we don't need die_hepling function which would cause a cycle.
-
Michal Hrusecky authored
It has some naming conflicts with functions we use and overwrites them, so move it back to the beginning so it wouldn't break other stuff.
-
Michal Hrusecky authored
* In listing snapshots, the snapshot number does not necessary need to be a number anymore, especially with remote snapshots. So let's put ti in quotes so it is always a string. * Error our when cleanup is called with invalid arguments. * Error out early if we can't even create temp directory. * Error out early if we can't guess the device to work on. ** Move configuration parsing to the end right before commands processing
-
Michal Hrusecky authored
-
Michal Hrusecky authored
-
-
Michal Hrusecky authored
-
Michal Hrusecky authored
Support multiple files with patterns excluded from backup.
-
Michal Hrusecky authored
We might want to add few extra files to the exported tarball. Like some uci-defaults script to adapt configuration to new hardware - change the MACs to the correct ones and if serial changed, regenerate device token and such.
-
Michal Hrusecky authored
We might want to exclude various certificates during export, especially fosquito ones that are tied to serial number and thus will not work on other/replacement device.
-
- Jan 06, 2022
-
-
Michal Hrusecky authored
Put quotes in correct places where davfs expects them, escape potentially dangerous characters like spaces in passwords and make sure the final secrets file have permissions required by davfs.
-
- Oct 27, 2021
-
-
Michal Hrusecky authored
Extend syntax to allow smb:3.1.1://host/share URLs to specify specific dialect of Samba to speak.
-
- Sep 08, 2021
-
-
-
Michal Hrusecky authored
-
- Aug 19, 2021
-
-
Michal Vasilek authored
approximately halves the time schnapps list takes at the cost of being a bit less generic
-
- Aug 10, 2021
-
-
Michal Hrusecky authored
Drop mixed in tabs and update copyright.
-
-
Michal Hrusecky authored
Sometimes you have a lot space on your server and want to delete backups manually.
-